Forum Discussion

autoscout24's avatar
autoscout24
Contributor
13 years ago

Configure scoketTimeout to soapUI-pro.bat file

Hi Guys,

is there a way to configure timout in the soapUI-pro.bat & testrunner.bat file
for eg.
set JAVA_OPTS=%JAVA_OPTS% -Dsoapui.socket.timout=300000"


Regards
Vijay

5 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Vijay,

    sorry - there is no system property for this - please add a feature request so we can get it into our backlog.

    thanks!

    /Ole
    SmartBear Software
  • Thanks for the reply. I will add it to the feature request.
    Is there any way that i can set the socekt timeout property value before run running the testSuite (some where in loadScript)

    Regards
    VJ
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    You could try this. Use the -D setting as you have described, then in the Timeout property for each request put this:

    ${=System.getProperty("soapui.socket.timout")}
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    hehe.. nice one!

    taking that approach you could actually even get away with

    ${#System#soapui.socket.timout}

    regards!

    /Ole
    SmartBear Software