cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Connection Timeout in SoapUI?

SOLVED
Highlighted
New Contributor

How to set Connection Timeout in SoapUI?

Hi,

does someone knows if it is possible to set a Connection Timeout in SoapUI?

I've added the Socket Timeout in the SoapUI Preferences --> Http Settings, but if i launch a request towards an unreachable end point, neither the socket timeout nor the TestCase timeout are respected.

I continue to get the following exception: org.apache.http.conn.HttpHostConnectException.

I need to set a Connection Timeout to 10 seconds.

Thanks for help.
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: How to set Connection Timeout in SoapUI?

This article is more about load testing, but, it includes info about all the settings, that are needed to be changed:

How to avoid the socket timeout exception during load testing?


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

5 REPLIES 5
Highlighted
Community Hero

Re: How to set Connection Timeout in SoapUI?

Below link may help you
http://stackoverflow.com/questions/6413 ... -timed-out


Regards,
Rao.
Highlighted
New Contributor

Re: How to set Connection Timeout in SoapUI?

Hi Rao,

the link you posted refers to the Socket Timeout and i've already set it, but what i would like to know is:

is it possible to set a user defined CONNECTION TIMEOUT?

Thanks in advance.
Highlighted
Community Hero

Re: How to set Connection Timeout in SoapUI?

Well. Here is another link which explains it
http://developers-blog.org/blog/default ... ith-soapUI

Just added an screen shot, you may define a property as shown(haven't tested though)


Regards,
Rao.
Highlighted
New Contributor

Re: How to set Connection Timeout in SoapUI?

Thanks, but it doesn't work.

If the server that i try to contact isn't available, that timeout isn't considered.
Highlighted
Moderator

Re: How to set Connection Timeout in SoapUI?

This article is more about load testing, but, it includes info about all the settings, that are needed to be changed:

How to avoid the socket timeout exception during load testing?


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

New Here?
Join us and watch the welcome video:
Top Kudoed Authors