0

I have recorded a script in Badboy software. The steps I have followed:

  1. Login into the site; it redirects to the info page and logs out.
  2. Upload jmx file into JMeter, add view result tree and summary report, and run the script.

But it displays an error on the info page. How can I resolve this error? enter image description here

0

I doubt that you can replay Login event as modern web applications widely use dynamic parameters i.e. for page level state management (see Viewstate for example) or security tokens to verify user origin (see i.e. CSRF Token)

I would recommend recording your scenario 2 times and see if there are any differences. If they are - you will need to work them around using Regular Expression Extractor, the process is known as correlation

Also remember that Response Assertion in your case applies to all requests, if you need to apply it to i.e. Info request only you need to add it as a child of that request, see JMeter Scoping Rules for more details.

In general HTTP Status Code 500 stands for Internal Server Error, going forward I would suggest checking your application logs to see what went wrong.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.