Forum Discussion

rajv's avatar
rajv
New Contributor
15 years ago

Is there any size limit on the message returned by SoapUI?

I am getting the following error when attempting to execute a specific  method in service that returns lots of data. I do not get this error when I execute other methods within this service. Developer told me that it's because the response size is huge and so SoapUI is timing out. Is there a workaround for it?

Mon Nov 16 13:10:00 CST 2009:ERROR:Exception in request: java.net.SocketTimeoutException: Read timed out

Mon Nov 16 13:10:00 CST 2009:ERROR:java.net.SocketTimeoutException: Read timed out
  java.net.SocketTimeoutException: Read timed out
  at java.net.SocketInputStream.socketRead0(Native Method)
  at java.net.SocketInputStream.read(SocketInputStream.java:129)
  at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
  at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
  at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
  at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
  at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
  at com.eviware.soapui.impl.wsdl.support.http.SoapUIMultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(SoapUIMultiThreadedHttpConnectionManager.java:1735)
  at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
  at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
  at com.eviware.soapui.impl.wsdl.submit.transports.http.support.methods.ExtendedPostMethod.readResponse(ExtendedPostMethod.java:61)
  at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
  at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
  at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
  at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
  at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:170)
  at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:122)
  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:619)

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    you can increase the timeout value used by soapUI in the global HTTP Preferences.. set it to 0 to wait indefinitely..

    regards,

    /Ole
    eviware.com