The logger.js file defines a logger factory function that creates a logger object with methods for different log levels (debug, info, warn, error). The logger only outputs messages at or above the configured log level. It also supports optional message prefixes..
And more often than that we may need to upload files/such as pdf or JSON files which we saw briefly in Part-02, which requires Multi-part requests. The Key to which is the FormData The polyfill for k6.
In Part-04 of this article series, we added support for Assertions and Custom Metrics. In this post, we all see how to handle the use case of parallelism within threads using http.batch(