Forum Discussion

petrph's avatar
16 years ago

Problem with TestRunner over proxy server

I am starting to test web services with soapUI. But I have problem with TestRunner, when the test computer is in local net over the proxy server and tested web services outside.
When I test the free public web service http://www.webservicex.net/convertMetri ... .asmx?wsdl, I have got these results.
Test from computer without proxy(directly to modem and internet)
soapUI (GUI) - tests passed OK
TestRunner - tests passed OK

Test from the same computer behind proxi (in local net), proxy sets in soapUi preferences
soapUI (GUI) - tests passed OK
TestRunner - tests fails
There is error java.net.SocketException: Connection reset in

So, as I see, there is problem (or some bad value) only when TestRunner is running with proxy , even it rereads the same soapui-settings.xml file as soapUI (which passed OK). I have trying to resize socket_timeout value in this file, but it doesn't aid, only error was the Read timed out. Can anybody help me, how to correct it, please?

--------------------------------
"c:\Program Files\eviware\soapUI-3.5.1\bin\testrunner.bat" -t"c:\Documents and Settings\xx\soapui-settings.xml"
"C:\Documents and Settings\xx\Dokumenty\vahy-soapui-project.xml" >outfile.txt

soapUI 3.5.1 TestCase Runner
16:30:16,222 INFO [DefaultSoapUICore] initialized soapui-settings from [c:\Documents and Settings\xx\soapui-settings.xml]
16:30:17,941 INFO [WsdlProject] Loaded project from [file:C:/Documents and Settings/xx/Dokumenty/vahy-soapui-project.xml]
16:30:18,847 INFO [SoapUITestCaseRunner] Running soapUI tests in project [vahy]
16:30:18,863 INFO [SoapUITestCaseRunner] Running Project [vahy], runType = SEQUENTIAL
16:30:18,926 INFO [SoapUITestCaseRunner] Running soapUI testcase [TestCase 1]
16:30:18,957 INFO [SoapUITestCaseRunner] running step [ChangeMetricWeightUnit - Request 1]
16:30:42,378 ERROR [WsdlSubmit] Exception in request: java.net.SocketTimeoutException: Read timed out
16:30:42,394 ERROR [SoapUI] An error occured [Read timed out], see error log for details
16:30:42,425 INFO [SoapUITestCaseRunner] Assertion [SOAP Response] has status UNKNOWN
16:30:42,425 INFO [SoapUITestCaseRunner] Assertion [XPath Match] has status UNKNOWN
16:30:42,425 INFO [SoapUITestCaseRunner] Assertion [XPath Match] has status UNKNOWN
16:30:42,425 ERROR [SoapUITestCaseRunner] ChangeMetricWeightUnit - Request 1 failed, exporting to [C:\Documents and
Settings\xx\Dokumenty\TestSuite_1-TestCase_1-ChangeMetricWeightUnit__Request_1-0-FAILED.txt]
16:30:42,534 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [TestCase 1], time taken: 23449ms, status: FAILED
16:30:42,534 INFO [SoapUITestCaseRunner] Project [vahy] finished with status [FAILED] in 23655ms
16:30:42,534 ERROR [SoapUITestCaseRunner] java.lang.Exception: TestCase [TestCase 1] failed without assertions

16:30:42,534 ERROR [SoapUI] An error occured [TestCase [TestCase 1] failed without assertions
], see error log for details
---
error log start:
2010-07-01 09:20:32,835 ERROR [WsdlSubmit] Exception in request: java.net.SocketException: Connection reset
2010-07-01 09:20:32,835 ERROR [errorlog] java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
-----------------------------------------------------------------------------
No RepliesBe the first to reply