Forum Discussion

apuredol's avatar
apuredol
New Contributor
15 years ago

soapui tescases timeout issues

Hi, I am using soapUI 3.6.1 Mac version and doing some testcases defining a timeout value of 4s (4000).

My test runs on a vpn connection mode, and when the endpoint is found I have no problem, but when I disconnect from the VPN and launch my testcase, timeout doesn't work and after a long time (5 minutes) I got:

ERROR:java.net.ConnectException: Operation timed out

I have tried to launch my app with testrunner and same results:

testrunner.sh -I  -s'[TS1]' -r my-project.xml -Dhttp.socket.timeout=1000 -Dhttp.connection.timeout=1000


    - I already changed the global timeout in (File->Preferences->SocketTimeout)
    - TestCaseOption's timeout is set too. (Right click-options-socket Timeout)... Changing TestCaseTimeout has the same result.
    - In every test request I set timeout value too.


Any Ideas?

Thanks in advance...

4 Replies

  • apuredol's avatar
    apuredol
    New Contributor
    has anyone had a similar issue?
    Is Timeout really working? could I send this parameters in command line?
    should I use 4 version? problems with mac?

    Regards,
  • apuredol's avatar
    apuredol
    New Contributor
    I have tried the same in soapUI 4 with same results

    I was waiting if I set the SLA parameter, SLA assertion will be thrown, but no... Test continue trying to connect...

    Results are:
    Error getting response; java.net.SocketException: Network is unreachable
    Response is thrown after 5 minutes!!!