'JMeter Internal server Error, Response Code : 500 on posting a form

enter image description hereJMeter Internal server Error, Response Code : 500 on posting a form. I am trying to load test our banking application with JMeter.I have successfully logged in to the application. Now I am trying to create an accuont. Account opening form has five pages and I am getting internal server error when I post the first page of the account opening process. I have provided all possible values which are required for posting first page (As required in the browser to make it go to next page). I have added the Cookie manager and Header manager also. But this fails in JMeter.

Any help will be highly appreciated.

enter image description here



Solution 1:[1]

You may need to add "Http Header Manager" user your "Http Request" which is failing. Click on add button to add on column under "Headers stored in the Header Manager"

  • Add Name : Content-Type
  • Add value : application/json
  • save it and run it.

This may solve your 500 (internal server error) error problem.

Solution 2:[2]

The best thing is to try recording to ensure you’re not missing:

  • header
  • cookie
  • parameter

or any additional http request.

Read:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 shA.t
Solution 2