2
votes

We have a recorded script using Blaze Meter(HTTPS call) and run in JMeter, One POST request getting failed and shows "500 Internal Server error". In Post request, JSON passed in form of "form-Data" as parameter. When endpoint executed we observed Webkitformbounday in HTTP header, Please give some solution for

  1. HTTPs Request
  2. HTTP Header Manager
  3. POST Request Body enter image description here
1
Dear @Ankit, can you add more info, like the script you are using? By a better description of your problem, you increase the rate of receiving good solutions. - giosans
When we record script using JMETER from IP based URL (HTTP calls) then Post request executed successfully, and in Header content-type: multipart/form-data; boundary=----WebKitFormBoundary(.......) is not present. it is displaying only with HTTPs calls. - Ankit Patel

1 Answers

0
votes

It looks like the recording solution you're using isn't very suitable for building proper HTTP POST request, I would suggest the following amendments:

  1. Untick Use multipart/form-data box in the HTTP Request sampler
  2. Remove issueDetail parameter name and put it to the end of "path"
  3. Change Content-Type header value to application/json
  4. Authorization header value might need to be correlated if the token life span is short

    enter image description here

More information: Testing SOAP/REST Web Services Using JMeter