cancel
Showing results for 
Search instead for 
Did you mean: 

soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutExcept

Highlighted
Occasional Contributor

soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutExcept

I imported sample soapui rest service, started the mock service but when i initiate the Request Soapui returns below error. Please advice.

"Error getting response; java.net.SocketTimeoutException: Read timed out".

Thanks.

Prad

9 REPLIES 9
Highlighted
Frequent Contributor

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

Update SocketTimeout in SOAPUI Settings.

 

Navigate to Preferences of ReadyAPI and Click on HTTP

 

 

See for SocketTimeout(ms) option and updated it to prefered time based on your api.

 

Regards

Valla

https://www.linkedin.com/in/vallalarasupandiyan/

With Regards
Vallalarasu Pandiyan | LinkedIn |Vallalarasu.p@gmail.com
Highlighted
Community Manager

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

Thank you Vallalarasu_P!

 

Hi @pradkm , did the solution work?


Sonya Mihaljova
Community and Education Specialist

 Join the virtual SmartBear Connect user conference on April 27-28! Get your free virtual ticket today!
Highlighted
Occasional Contributor

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

Still getting the same error, after playing around the preferences/socketTimeout settings.

Mock service is running yet no response. Here is my endpoint from the soapUI(5.5.0) sample project.

http://localhost:8080/accountcreation

"Error getting response; java.net.SocketTimeoutException: Read timed out".

Occasional Contributor

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

Nope!

Highlighted
Occasional Contributor

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

No, not working. tried port 8080, 9001, etc..none of them work.

Highlighted
Community Hero

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

How do you confirm if the mock service is running the given port? Have you saved the preferences of changing the value of Socket time out settings?


Regards,
Rao.
Highlighted
Community Hero

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

And how can some one reproduce this issue?


Regards,
Rao.
Highlighted
Occasional Contributor

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

Yes, i have saved the preferences of changing the value of Socket time out settings. I did it again, just in case.

I could confirm that mock service is running by looking at the UI message and logs.

Please see the screen shots i provided for Preferences, Mock running and Service Request log.

Thanks.

 

 

Highlighted
Occasional Contributor

Re: soapui-mock service-error-2020-01-22 12:57:54 - Error getting response; java.net.SocketTimeoutEx

the mock service issue is resolved by doing nothing. After a day it started working my itself :-)

May be restarting the pc worked.