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 without fail:
ERROR:Exception in request: org.apache.http.conn.HttpHostConnectException: Connect to 10.111.222.333:80 [/10.111.222.333] failed: Connection refused: connect
I am not using a proxy. There is a workaround, but it's pretty cumbersome -- I can turn this option to false, then using a Groovy script, extract the URL where it is supposed to redirect, then set that as the service of the next REST request. Has anyone else experienced this? Is this a bug? It's pretty inconvenient to have all this Groovy code in between requests that redirect.