Forum Discussion

amit07's avatar
amit07
New Contributor
6 years ago

Rest call still running, server already responded response

Hi There,

I am running a rest request (GET  http://<IP>:8080/app1?queryParam=1000 ) on SoapUI 5.4.0 (community edition)

Case-1: When server responding within 5 mintes with statusCode =200,, =>then I am getting response correctly.

Case-2: When server responding in more than 10 minutes  with statusCode =200, =>then rest call is not stoping (monitored till 90 minutes).

Note : I have configured SocketTimeOut = 3600000

 

Please help me, how to resolve this issue.

 

6 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    First of all, think of why such long wait time is required for the server?

    Is the service asynchronous or synchronous?
    • amit07's avatar
      amit07
      New Contributor

      Hi Nmrao,

       

      Server is taking sometime 70 -80 minutes to complete, So for saver side I configured SocketTimeout accordingly.

      This service is synchronous.

      In my case Soapui is accepting response returned by server only when service is completing in 5 minutes, otherwise soapui doesn't accepting server response which is completed after 10 minutes.

       

      Is there any configuration for fetch response call-back till xxxx milisecond, after which it is not soapui doesn't looking for response call-back of the request?

       

      Please reply ....

       

      -Amit

      • nmrao's avatar
        nmrao
        Champion Level 3
        I am not sure which end user accepts this behaviour or waits for so much of time to receive a response.

        If that is going to take such a long time, why can't it be an asynchronous?