0
votes

In Jmeter when submitting a POST request which includes Json string in the body the transaction is failing with below message and HTTP 500 error-

`{"Message":"There was an error processing the request.","StackTrace":"","ExceptionType":""}`

Can someone please tell what I am doing wrong here?

Below is how the failing sample (REQ_2_1) request body looks like-

Screenshot: Script

Screenshot: Header for the POST request

Json request Body - 1 of 2

Json request Body - 2 of 2

1

1 Answers

0
votes

You JSON body is wrong and break the JSON request:

enter image description here

It should probably be:

"jsonString":"${MyJSONString}"