Unanswered question

java.io.EOFException: HttpConnectionOverHTTP error while calling Persistent connection from Neoload

We are getting the below error when we try to execute the request rest/v2/PersistentConnection.

Persistent connection consists of an HTTP request that we stream server push events to the response and never commit it. NeoLoad is not reading the streaming responses properly and is perpetually waiting for the response to commit. Is there an option which I can use it to over come this?

Attaching the screenshot for response from recording and validation.

Error detected by NeoLoad
Error Code: NL-NETWORK-01
Message: Network error: An IO error occurred sending the request.
Details: java.io.EOFException: HttpConnectionOverHTTP@56249fc1(ip and url:443,closed=false)[HttpChannelOverHTTP@3c55fe54(exchange=HttpExchange@67b80a61 req=TERMINATED/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@4423355c(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@360b608e{s=START}],recv=HttpReceiverOverHTTP@253f9f45(rsp=CONTENT,failure=null)[HttpParser{s=CLOSED,2092 of 0}]]]

Shareena R.
Shareena R.

Shareena R.

Level
0
17 / 100
points

Answers

Madhuban M.
Madhuban M.

Madhuban M.

Level
0
11 / 100
points

Any update on the resolution for this? I am facing a similar issue. Any help would be appreciated. Thanks.

NeoLoad uses framework parameters to recognize a PUSH request otherwise it expects a response from the server. So i guess in your case your request is not recognized as PUSH request.

You can create you own framework so your request is recognized as streaming request. You can take as an example the existing ones like HTML5_SSE or Lightstreamer. Those framework are stored in your user profile. Go to menu Help-->Open logs folder and go back once in the tree folder into conf/framework folder.

Basically in that file you will match your request based on the path and/or some parameters so NeoLoad can recognize it as streaming request.

When you have created it just import it in NeoLoad preferences under Frameworks and try again a new recording. If it works NeoLoad will create a simplified VU in the post-recording wizard step.