Home > front end >  Gatling scenarios show KOs but specific requests do not
Gatling scenarios show KOs but specific requests do not

Time:10-07

After running a Gatling test via Jenkins the report shows that a certain number of requests in different scenarios are failing. However when this is expanded, none of the requests show KOs or give information about which specific requests are failing and why:

enter image description here

The Gatling logs show 0 sign that there are any errors as well:

enter image description here

Should I assume that all requests succeeded or is this an issue that needs to be corrected?

EDIT:

I should also mention that I have a run which had 122k reqs and saw a similar issue, however that run also shows 6 reqs which are actually failing and output error messages:

enter image description here

This leads me to believe that the first picture does not show any real errors, but I am not certain about this.

CodePudding user response:

Random shots in the dark, in the absence of a reproducer from you:

  • you're forcing the virtual user to a failed state with something like Session#markAsFailed that would cause the group to fail without any failed request.
  • you've configured some of your requests to be silent

If not, please provide a reproducer.

CodePudding user response:

This is indeed very strange. The best way to double check is to run the same test and enable debug mode.

Also: you're forcing the virtual user to a failed state with something like Session#markAsFailed that would cause the group to fail without any failed request. Makes a lot of sense.

  • Related