Forum Discussion

ToddBfute's avatar
ToddBfute
Occasional Contributor
13 years ago

Automatic retry???

I've got cases where I'm sending soapUI calls and I see there are failures on the back-end. But the client works. It looks like soapUI is automatically retrying on certain failures (connection timeouts perhaps?). My dev team is quite surprised that they see so many failures when the soapUI tests are reporting so many successes (without failures). In the past when I've looked into why we seem to send more requests than reported (i.e. the backend reports more requests than soapUI seems to have sent) I concluded there indeed was some retry.

I found a similar question, but with no response:
viewtopic.php?f=5&t=5120&p=16426&hilit=retry&sid=8c81eeb66e7f15d88f7d6e0100a6064b#p16426

I would appreciate it if you could help me understand what's going on and turn of retry if possible.

Thanks
-TAB

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Todd,

    this sounds really strange actually - I can't see why soapUI would resend failed requests, maybe this is some feature in HttpClient that we're not aware of - can you see the resend in the http-log of soapUI as well? Which soapUI version are you using?

    regards,

    /Ole
    SmartBear Software
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    A check in the httpclient docs reveals that it actually does send retries for low-level failures, see http://hc.apache.org/httpcomponents-cli ... ntals.html section 1.3.4 for more details - currently there is no way to control this in soapUI but I've added a corresponding feature request.

    Thanks for bringing this to our attention - you can always learn something new :-)

    regards!

    /Ole
    SmartBear Software
    • msp's avatar
      msp
      New Member

      Sorry to reopen a very old thread, but I am experiencing the exact same thing in Ready! API 1.9.0

       

      I use ready-api to call the server, where I have a debugger running, and after a 10-20 seconds the debugger intercepts another call, with the exact same content, originating from ready-api.

       

      This is very annoying, because the debugger doesn't always handle this properly, and if the call has side-effects, a second identical call can mess up my test-result.

       

      I have been looking hard for a "do not retry" or "number of retries: 0" setting. Is this still not possible, or am I just looking in the wrong places?