3
votes

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

2
If any extra information is needed to make it clear. Please post it. I will be more than happy to provide any clarification. Thanks - Virendra Joshi
Yes.Can you post the screenshot of the http request you sent? it will help us to find the issue. - vins
@vlns , please check the added screen-shot. - Virendra Joshi
It shows RAW view. Please provide the HTTP view. Looks like you do not pass some information like 'chanel' & 'cycleGroup' etc. Do you use Regular Expression Extractor? - vins
I am using regular expression to extract all dynamic urls. I will post the HTTP view. Thanks - Virendra Joshi

2 Answers

0
votes

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.

0
votes

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

  • header
  • cookie
  • parameter

or any additional http request.

Read: