Forum Discussion

developer94's avatar
developer94
Occasional Contributor
12 years ago

Errors during LoadUI with SoapUI load test

I am attempting to create a login / logout loadtest using LoadUI and SoapUI. I inputted a new basic test using the "Simple Login and Logout w. Properties Steps" format into the SoapUI runner in LoadUI with a fixed load generator attached. When I run the test it stops at step 2, transfer of properties, and all tests fail. The errors from the SoapUI error log are listed below. I do not know which portion of the project is producing the errors. I was wondering if someone could help debug the errors and/or set forth the proper procedure to build and run a "Simple Login and Logout w. Properties Steps" load test.

SoapUI error log:

Fri Jun 14 13:23:28 EDT 2013:ERROR:org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1:8088 refused
org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1:8088 refused
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:321)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:246)
at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:356)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:234)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:123)
at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$SoapUIClientConnectionOperator.openConnection(SoapUIMultiThreadedHttpConnectionManager.java:299)
... 16 more
Fri Jun 14 13:24:44 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-7200767056343981529.xml
Fri Jun 14 13:24:44 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-2382592151249887355.xml
Fri Jun 14 13:36:39 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-487562486876102485.xml
Fri Jun 14 13:36:39 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-257249875879132721.xml
Fri Jun 14 13:55:51 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-1961564231071441594.xml
Fri Jun 14 13:55:51 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-4798274915478258490.xml
Fri Jun 14 14:00:00 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-7205729928715089551.xml
Fri Jun 14 14:00:00 EDT 2013:WARN:Failed to delete temporary project file; C:\...\project-temp-2353575945254076268.xml
  • Realize this is an all post but I had the same issue. I found the answer in a separate thread, so posting it here as well for anyone who needs it in the future.

     

    ''The request you are trying to send is targeted at the MockService. It will only work if the MockService is already running when the request is sent. To start the MockService, right click on it and select "Start Minimized" (alternatively you can double click it to open a desktop panel, then click on the green arrow to start it). Once it has been started the request should work.''