Forum Discussion

Knowledge's avatar
Knowledge
Contributor
9 years ago

How do I simulate connection time out response from a mock service

Hi,

 

I have a service that sends a request to a SopaUI mock service. 

I want it to return a connection time out response.

If i stop the mock service, i still get an error from SoapUI. If i close SoapUI, i get a connection refused error.

For read time out error, i used onrequest sleep in the mock. Does anyone knows how can i simulate connection time out?

 

Thanks.

No RepliesBe the first to reply