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
Sometimes when capturing variables to be used in follow up calls, the capture can end up being empty for a number of reasons. If that happens, the url is empty in requestParams and the request library throws an exception that is not handled by artillery-core.
A simple fix for this can be checking that requestParams has a url before calling request(). I will submit a pull request that addresses this. This is an issue for people using this in ci/cd systems as a single bad test request can cause artillery to hang forever. Here's a simple script to repro with intentional errors in it:
Sometimes when capturing variables to be used in follow up calls, the capture can end up being empty for a number of reasons. If that happens, the url is empty in requestParams and the request library throws an exception that is not handled by artillery-core.
A simple fix for this can be checking that requestParams has a url before calling request(). I will submit a pull request that addresses this. This is an issue for people using this in ci/cd systems as a single bad test request can cause artillery to hang forever. Here's a simple script to repro with intentional errors in it:
The text was updated successfully, but these errors were encountered: