Forum Discussion

HHaynes's avatar
HHaynes
Contributor
13 years ago

[Reslvd] URI exception with parallel threads (soapUI runner)

I'm running on the local [ghost] agent to troubleshoot an issue where occasional errors are popping up. The scenario seems to be specific to multiple (overlapping) threads running on the loadUI agent. Below is a log showing an example of what we're seeing. The braced numbers (79, 85) are the two threads that are running concurrently

Java Web Start 1.6.0_24
Using JRE version 1.6.0_24-b07-334-10M3326 Java HotSpot(TM) Client VM
ExecutionChangeSupport:fireExecutionStarted()
14:29:13,316 INFO [log] [85] SCENARIO START
14:29:13,317 INFO [log] [85] AuthToken and AuthData set
14:29:13,319 INFO [log] [85] User value set [tap.la.testuser+8@gmail.com].
14:29:13,323 INFO [log] [85] randomMarketID set [41]
14:29:17,847 INFO [log] [85] events in Spotlight/Popular response [6] targetedEvent [3] eventID [1C00456DF4BE3F45]
14:29:20,863 INFO [log] [85] eventArtist [1129796] eventVenue [229616]
14:29:21,440 INFO [log] [79] SCENARIO START
14:29:21,440 INFO [log] [79] AuthToken and AuthData set
14:29:21,444 INFO [log] [79] User value set [tap.la.testuser+4@gmail.com].
14:29:21,448 INFO [log] [79] randomMarketID set [31]
14:29:24,053 ERROR [SoapUI] An error occured [escaped absolute path not valid], see error log for details
org.apache.commons.httpclient.URIException: escaped absolute path not valid
at org.apache.commons.httpclient.URI.setRawPath(URI.java:2837)
at org.apache.commons.httpclient.URI.parseUriReference(URI.java:2023)
at org.apache.commons.httpclient.URI.<init>(URI.java:147)
at org.apache.commons.httpclient.HttpMethodBase.getURI(HttpMethodBase.java:265)
at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.<init>(BaseHttpResponse.java:75)
at com.eviware.soapui.impl.wsdl.submit.transports.http.SinglePartHttpResponse.<init>(SinglePartHttpResponse.java:42)
at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.httpRequest(HttpPackagingResponseFilter.java:78)
at com.eviware.soapui.impl.wsdl.submit.filters.HttpPackagingResponseFilter.afterAbstractHttpResponse(HttpPackagingResponseFilter.java:44)
at com.eviware.soapui.impl.wsdl.submit.filters.AbstractRequestFilter.afterRequest(AbstractRequestFilter.java:64)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:228)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:208)
at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:853)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:232)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:141)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:973)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:829)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:485)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:68)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:762)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Thread.java:680)
14:29:24,054 ERROR [WsdlSubmit] Exception in request: org.apache.commons.httpclient.URIException: escaped absolute path not valid
14:29:24,054 ERROR [SoapUI] An error occured [escaped absolute path not valid], see error log for details
org.apache.commons.httpclient.URIException: escaped absolute path not valid
at org.apache.commons.httpclient.URI.setRawPath(URI.java:2837)
at org.apache.commons.httpclient.URI.parseUriReference(URI.java:2023)
at org.apache.commons.httpclient.URI.<init>(URI.java:147)
at org.apache.commons.httpclient.HttpMethodBase.getURI(HttpMethodBase.java:265)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:383)
at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:202)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:208)
at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:853)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:232)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:141)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:973)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:829)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:485)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:68)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:762)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Thread.java:680)
14:29:24,058 INFO [log] [85] AddTicketCancelCart completed in 10.94 seconds.
14:29:24,058 INFO [log] [85] AddTicketCancelCart status is [FAILED].
14:29:28,082 INFO [log] [79] events in Spotlight/Popular response [10] targetedEvent [2] eventID [1B0046619B3064C4]
14:29:31,312 INFO [log] [79] eventArtist [859932] eventVenue [221356]
14:29:34,371 INFO [log] [79] Get VenueDetails Complete. Going to Add TicketsNewCart
14:29:36,687 INFO [log] [79] Ticket price 86.88. Going to GetCart1.
14:29:38,275 INFO [log] [79] GetCart1 Complete. Going to GetUpsells
14:29:38,603 INFO [log] [79] No upsells available for event. Going to Delay5.
14:29:40,136 INFO [log] [79] GetCart2 Complete. Going to GetDeliveryInstruction
14:29:40,454 INFO [log] [79] Going to addDeliveryInstruction
14:29:41,889 INFO [log] [79] Delivery exists. Going to GetMethodsofPayment.
14:29:42,164 INFO [log] [79] GetMethodsOfPayment Complete. Going to CancelCart
14:29:42,414 INFO [log] [79] CancelCart complete. Going to Delay6 and then GetClearedCart.
14:29:43,902 INFO [log] [79] AddTicketCancelCart completed in 23.469 seconds.
14:29:43,902 INFO [log] [79] AddTicketCancelCart status is [FINISHED].


This never happens in soapUI "proper" and ALSO seems to NEVER occur when running the case using the "Run Once" button in the soapUI Runner in loadUI. It doesn't seem to matter whether the agent is local (ghost) or distributed.

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Houston

    this might be related to a bug we just fixed which would corrupt a soapUI TestCase if it was being executed by multiple triggers at the same time. Will be fixed in the upcoming nightly build.

    regards!

    /Ole
    eviware.com
  • Outstanding - will look to check it out early next week.
  • Confirmed that this is fixed with the latest 1.5 SNAPSHOT. Thanks.