1
votes

HI everyone I need a help regarding to fix the 500 internal server error

Please check my below attached requests and correlation and response image

Please tell me if I was wrong in anywhere I keep trying to do the scripts to run and the result was 500 error.

Redirect request:

enter image description here

Https request1:

enter image description here

Data correlation:

enter image description here

Passing parameters:

enter image description here

Sending request details:

enter image description here

Response message:

enter image description here

1

1 Answers

1
votes

Looking into Content-Type header of your request it appears that you should be sending a JSON while you're sending parameters in form of name-value pairs

I think you should switch to Body Data tab in the HTTP Request sampler and put your parameters there like:

enter image description here

Also double check your API contract, it might be the case you need to change the method to POST

More information: REST API Testing - How to Do it Right