I am sending the followint POST command:
POST https://petstore.swagger.io/v2/user
User-Agent: Jetty/9.3.7.v20160115NeotysEdition.61
:
:
Content-Type: application/json
Content-Length: 174
{"id": 1257, "username": "Uname4", "firstName": "FName5", "lastName": "LName6", "email": "Emai8l@email.com",
"password": "user12347", "phone": "9944556633", "userStatus": 0}
This response I will get:
Error detected by NeoLoad
Error Code: NL-NETWORK-01 Message: Network error: An IO error occurred sending the request.
Details: java.io.IOException: protocol_error
Error while initializing client certificates java.io.IOException: toDerInputStream rejects tag type 45
I have done the following:
In the NL preferences I am using certificate NeoLoad_Root_CA.cer for both recording and runtime.
Is something still missing?
I tried to execute the same request and it worked on my side. Do you use a proxy to reach that URL?
Could you try to disable HTTP/2 in the Advanced settings of the check vu panel to see if you get a different errors?
Also one of the error message is related to client certificate. Did you get that error at the same time for the same execution?
Look at the NeoLoad prefrences under Project settings tab --> Certificate manager to make sure that on the Runtime area of that panel you have "No certificate" selected.
Hi, this is a demo site for swagger, if you import the definition file into Neoload, it will create the calls for you
https://petstore.swagger.io/v2/swagger.json
There is a video in the academy on this
https://academy.neotys.com/courses/design/lessons/how-to-...