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
I'm writing my first Artillery benchmarks and I encounter some troubles while doing so, especially with the captures (no strict: false mode).
I have a before to setup my data, and when the capture fails, the artillery run never finishes. Example:
before:
flow:
- post:
name: "Upload test File"url: "/api/import"beforeRequest: "uploadFile"afterResponse: "captureUploadResponse"capture:
- json: $.testas: test
In the scenario, if the capture fails, the scenario stops without error.
The error in the before is easy to spot when debugging, but the one in the scenarios is harder. Is there any way to have an error if the capture fails ? This would be useful to see if there is anything to debug.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm writing my first Artillery benchmarks and I encounter some troubles while doing so, especially with the captures (no
strict: falsemode).I have a
beforeto setup my data, and when the capture fails, the artillery run never finishes. Example:In the scenario, if the capture fails, the scenario stops without error.
The error in the
beforeis easy to spot when debugging, but the one in the scenarios is harder. Is there any way to have an error if the capture fails ? This would be useful to see if there is anything to debug.Beta Was this translation helpful? Give feedback.
All reactions