Forum Discussion

skpure123's avatar
skpure123
New Contributor
13 years ago

Read timed out

Hi,

I am using loadui for webservice test and sending 20 request per minute and each request will take 40 -60 seconds to process.

I am getting [java.net.SocketTimeoutException: Read timed out] error.

Why I am getting this error and how to fix this?
  • skpure123 wrote:
    Why I am getting this error and how to fix this?

    Because LoadUI cannot access that webservice. Can you access that service from your web browser? If so, is your browser configured to use a proxy?
  • skpure123's avatar
    skpure123
    New Contributor
    I am getting response for 15 requests(out of 30 ) ,but after that I am getting that error for rest of requests..
  • skpure123 wrote:
    I am getting response for 15 requests(out of 30 ) ,but after that I am getting that error for rest of requests..

    Sounds like your webservice have some kind of hammering protection.
  • skpure123's avatar
    skpure123
    New Contributor
    My web service getting price for given items . Its working well for 1000 requests ,if I request just for 2 items .

    But when I am trying to request the price for 300 items I having this issue.( For 300 items its taking 60 seconds process.)

    If the response is not getting back with in certain time , is LoadUi killing the request.
  • skpure123 wrote:
    If the response is not getting back with in certain time , is LoadUi killing the request.
    LoadUI uses the default TCP timeout (usually 120 seconds).