Forum Discussion

Finan's avatar
Finan
Frequent Contributor
14 years ago

Error when performing tests via testrunner.bat

Hi,

When I run a testsuite via the soapUI gui, it runs without errors/ fails.
When I run the same testsuite via the testrunner.bat I see the following error in the log:

[exec] java.net.MalformedURLException: no protocol:
[exec] at java.net.URL.<init>(Unknown Source)
[exec] at java.net.URL.<init>(Unknown Source)
[exec] at java.net.URL.<init>(Unknown Source)
[exec] at com.eviware.soapui.impl.wsdl.endpoint.DefaultEndpointStrategy.filterRequest(DefaultEndpointStrategy.java:164)
[exec] at com.eviware.soapui.impl.wsdl.submit.filters.EndpointStrategyRequestFilter.filterRequest(EndpointStrategyRequestFilter.java:35)
[exec] at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:133)
[exec] at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:123)
[exec] at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
[exec] at com.eviware.soapui.impl.wsdl.WsdlRequest.submit(WsdlRequest.java:236)
[exec] at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep.run(WsdlTestRequestStep.java:324)
[exec] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runTestStep(WsdlTestCaseRunner.java:207)
[exec] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:138)
[exec] at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.internalRun(WsdlTestCaseRunner.java:39)
[exec] at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
[exec] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[exec] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
[exec] at java.util.concurrent.FutureTask.run(Unknown Source)
[exec] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
[exec] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[exec] at java.lang.Thread.run(Unknown Source)
[exec] 08:43:14,785 INFO [SoapUIProTestCaseRunner] Assertion [SOAP Response] has status VALID
[exec] 08:43:14,786 INFO [SoapUIProTestCaseRunner] Assertion [Not SOAP Fault] has status VALID

But the testsuite completes without failed testcases.

The configuration of the project is like this:
Project, with property "url" (containing the endpoint for the webservice)
WebService, with endpoint: ${#TestCase#url}
-TestSuite 1
- TestCase 1 with property "url"
- TestStep 1 with endpoint: ${#TestCase#url}
-TestSuite 2
- TestCase 1 with property "url": ${#Project#env}
- TestStep 1 (run testcase 1.1) with property url: ${#TestCase#url}


This setup allows us create a default testcase with a complex flow of testcases,
And then creating a testsuite with testcases that have only one teststep which runs the default testcase with different properties.
Are the errors just logs or is something incorrect in our setup/in soapUI?

12 Replies