HTTPS GET gives 415 status code in ngrinder alone

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

HTTPS GET gives 415 status code in ngrinder alone

Indhumathi
I am having an GET request with the following headers,

headerList.add(new NVPair("Content-Type", "application/json"))
headerList.add(new NVPair("Authorization", “Basic XXXXXXXXXXXXXXXXXXXXXXXXXXX”))
headerList.add(new NVPair("Connection","keep-alive"))
headerList.add(new NVPair("Accept","*/*"))

GET API which gets the status for the particular acknowledgement number:

HTTPResponse result = request.GET("https://aaaaaaa.bbb.cccccc.ddddddd.com/xxxxxxx/api/ext/v1.2/bills?ackNo=c2b2c7ba-86a6-42a3-ae1e-c9437f2e3d12")

It gives status code 415 in ngrinder alone. It works perfectly with status code 200 in Jmeter, Postman.
can anyone face this issue in ngrinder, please help