SoapUI: ConnectException: Connection timed out:

后端 未结 5 1519
感情败类
感情败类 2020-12-30 19:40

i try to send request via REST. I get success response when using firefox rest-client, but in SoapUI i get exception attached below. How to resolve this issue? Thanks.

相关标签:
5条回答
  • 2020-12-30 20:07

    Apart from adjusting timeouts, if this issue still persists then it could be because few of the plugins needed by SoapUI are not loaded. Because these plugins are present in some other place that require permission to access.

    If u check your logs u can find this trace :

    java.lang.ClassNotFoundException: com.eviware.soapui.plugins.auto.factories.AutoImportMethodFactory
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
    

    The problem does not occur when starting the SoapUI directly from bin

    Also you can run with Administrative privileges.

    0 讨论(0)
  • 2020-12-30 20:20

    Default socket timeout is set to 60000 milliseconds. You can change it:

    File -> Preferences -> HTTP Settings -> Socket Timeout

    0 讨论(0)
  • 2020-12-30 20:23

    You can also set the value to 0 and then it doesn't time out. Tested it with SoapUI 4.5.0

    0 讨论(0)
  • 2020-12-30 20:28

    You can also set timeout for your request, it's on left bottom Request properties, that helped me (SoapUI 5.4.0)

    0 讨论(0)
  • 2020-12-30 20:32

    I would try adjusting the socket timeout in SoapUI preferences. SoapUI has a standard timeout of 60000 milliseconds. I would try making that much larger to see if you have the same issue. This has fixed a timeout issue for myself before.

    You can also edit this setting directly in the soapui-settings.xml

        <con:setting id="HttpSettings@socket_timeout">120000</con:setting>
    

    If this doesn't help, try asking on the eviware forum.

    0 讨论(0)
提交回复
热议问题