Unanswered question

how to resolve post recording wizard Connection refused error for Authentication Information?

Forgive me if i don't add all the required information here as I am new to Neoload.

I have a website I am trying to test that while in dev requires accessing a URL to authenticate to get a session cookie and then re-directs to the application. When I record the User Path, everything records with no apparent issues when carrying out the user authentication and the redirect works however when I come to doing the Post-recording Wizard I get an error when testing connection with the recorded credentials
Host = <MyURL.com>
Realm = get cookie
Error = "java.net.ConnectException: Connection refused: no further information"

When i look at the neoload-err.log i see the following after clicking Test Connction:

===========START ERROR============
Feb 28, 2017 11:49:40 AM com.neotys.nl.gui.design.l.A a
INFO: Exception during request: http://<MyURL.com>/
java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: no further information
at org.eclipse.jetty.client.util.FutureResponseListener.getResult(FutureResponseListener.java:118)
at org.eclipse.jetty.client.util.FutureResponseListener.get(FutureResponseListener.java:101)
at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:674)
at org.eclipse.jetty.client.HttpRequest.send(HttpRequest.java:661)
at com.neotys.nl.gui.design.l.A.a(A.java:99)
at com.neotys.nl.gui.design.l.an.doInBackground(an.java:133)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
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)
Caused by: java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
at org.eclipse.jetty.io.SelectorManager.finishConnect(SelectorManager.java:337)
at org.eclipse.jetty.io.ManagedSelector.processConnect(ManagedSelector.java:349)
at org.eclipse.jetty.io.ManagedSelector.access$900(ManagedSelector.java:56)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.processSelected(ManagedSelector.java:286)
at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:170)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:162)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.execute(ExecuteProduceConsume.java:101)
at org.eclipse.jetty.io.ManagedSelector.run(ManagedSelector.java:136)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
... 1 more
===========END ERROR============

If I ignore this error and continue through the wizard and then try to check the User Path validity it then errors on the GET request with the below Error as the response which I can only assume is as a result of the post recording wizard having issues:

===========START ERROR============
Error detected by NeoLoad
Error Code: NL-NETWORK-03 Message: Unable to connect to server. Error attempting to connect a socket to a remote address and port. Typically, the server is down or cannot open more sockets on its system. If the error detail is "java.net.ConnectException: Connection timed out: connect" for all requests, it typically means that the Load Generator is using an inappropriate network interface. Details: java.net.ConnectException: Connection refused: no further information
Please refer to the documentation for further details and advice
===========END ERROR============

Additional information that may help...
Proxy - Navigating through corporate proxy or unrestriced access gives the same issue
Neoload version - 5.4.0 (i have rolled back to 5.2.4 and the issue occurs there as well).

Can anyone help with this please?

Max F.
Max F.

Max F.

1 / 100


Nouredine A.
Nouredine A.

Nouredine A.

5000 / 5000

Both errors on the post-recording wizard and the check virtual user are the same. The URL port cannot be reached.

What did you get for that request as response during the recording? You can look at the recorded response when you click on the Advanced button for your request.

Another test is to copy/paste that URL in your browser to check the result.