Home > Enterprise >  Log API failures in Jmeter run using Jenkins pipeline
Log API failures in Jmeter run using Jenkins pipeline

Time:09-17

We are using Jenkins pipeline to run jmeter tests for testing one of our application API. EVeryting is working ok but there are cases where the Application returns an error. We would like to log the request payload for such failures and also the timestamp so that we can investigate in the application about corresponding failures.

Is there a way, I can instruct jmeter to log the Request Data for cases which result in failure?

CodePudding user response:

The easiest option is adding a enter image description here

Once the test finishes you will be able to observe requests details (if any) using View Results Tree listener.

More information: How to Save Response Data in JMeter

  • Related