You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a use case where we would like our k6 test to react to be the target of a webhook : k6 makes a call to the service under test, and the service under test signals the end.
To test this use case, we are using curl to send a request to the mock. However, in this case we have the following error:
Hello, in fact we understood the problem. As we were requesting the mock from outside, we needed a port. However, we put our code to get the port in the setup method, as we thought that there was a kind of global server. So it happens that there in fact a "mock server" per VU, with its own port, but also a global instance with its own port. When we use one of the ports assigned to a vu, it works well. The "global" one is the one giving the error in my previous comment, maybe in did because there is no VU context.
Hello,
We have a use case where we would like our k6 test to react to be the target of a webhook : k6 makes a call to the service under test, and the service under test signals the end.
To test this use case, we are using curl to send a request to the mock. However, in this case we have the following error:
Is this is a feature that would be possible to implement ? This could be a nice way to manage such asynchronous flows.
Regards,
Arnaud
The text was updated successfully, but these errors were encountered: