not able to run script:
Below is the complete error exception:
Error Code: NL-WEBSOCKET-CHANNEL-ENGINE Message: Error occurred while executing WebSocket channel. Details: java.net.SocketTimeoutException: Connect Timeout at org.eclipse.jetty.io.ManagedSelector$ConnectTimeout.run(ManagedSelector.java:666) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
Please refer to the documentation for further details and advice
A possibility might be with the WebSocket channel connection time. With Neoload, we have a hard coded timeout of 15 seconds to establish a WebSocket connection.
As a result, when few users are connected, connection is quick, so it works fine, but when more users hit the server, response time can increase. Under significant load, connection sometimes cannot be established in 15 seconds, so NeoLoad returns an error.
You can try to modify the Websocket timeout with the steps below:
1) Stop Neoload
2) Open for edit: {Neoload install dir}\conf\controller.properties
3) Add the following section and key entry:
[WebSocket]
websocket.client.connection.timeout=15000
Value is milliseconds for the connection timeout to establish a WebSocket channel connection. From 5.2.3. Default value is 15000ms, so 15 seconds.
Adjust the value from 15000 to something you might need that is appropriate, like 30000 for 30 seconds or 60000 for 1 minute. Save the file.
4) Open Neoload and test again.
Remember to upgrade to the latest version of Neoload, as this was only implemented in 5.2.3 and after.