-
👋 I'm currently looking to make use of this project and running into My quick read on the issue (inferring a lot) is that the Postman API is largely oriented around an event loop model where that method enqueues requests to be processed at some subsequent tick and that doesn't conform with the K6 sobek model where concurrency is done at the virtual user level, an event loop isn't supported, and intra-process concurrency can get hairy given that the VU runtime can't be safely shared across goroutines. But some other questions (which come back particularly to lack of familiarity with Postman and how this method may be used) is whether processing of the requests could be handled more synchronously, either being issued at the time that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hi @mwhipple You are understanding it correctly. There are some differences in the way Posmtan & K6 executes requests Postman request execution: k6 request execution: Also important to be aware of is the stateless nature of Load Testing: Next there is the complexity of conditional flows: My typical recommendation is to use Postman for behaviour, schema & contract testing and use K6 only for load tests. An alternative approach is to use the separate parameter of the postman-to-k6 converter, which will results in the each request being a separate K6 request method.
In the main script, you can model/puzzle the requests in the order as you want. |
Beta Was this translation helpful? Give feedback.
hi @mwhipple
You are understanding it correctly.
There are some differences in the way Posmtan & K6 executes requests
Postman request execution:
Postman runs collections in a sequential manner, executing requests one after the other.
setNextRequest is a function in Postman that allows you to dynamically set which request to execute next based on certain conditions or responses from previous requests. This makes Postman's execution flow highly flexible and can create complex, conditional workflows.
k6 request execution:
k6 is a load testing tool focused on performance testing rather than functional testing. It executes scripts written in JavaScript, but its primary design is around definin…