Forum Discussion

JustinM89's avatar
JustinM89
Contributor
7 years ago
Solved

Setting 'Follow Redirects' to true causes connection refused exception

In writing a test case for a login scenario, there are many redirects that take place. For some reason, whenever I set the Follow Redirects test case option to true, I get the following exception wit...
  • Nastya_Khovrina's avatar
    7 years ago

    Hi Justin!

     

    Thank you for your post. What version of Ready! API do you use? Since Ready! API 2.0.0 we have two options to handle redirects: 

    Follow Redirects

    If true, the request will follow the redirect and return the server message. Otherwise, a redirect message will be returned.

    Follow 302 Redirect with GET

    If true, Ready! API uses the GET method for subsequent requests if the response has the 302 Found HTTP code.

     

    Did you try both?

    If you don't use the latest version, please upgrade Ready! API to the latest one and try again. You can download the latest release of Ready! API from here: https://support.smartbear.com/downloads/readyapi/