Specifying the number of allowable URL redirects during test runs
When you run a test in a load-sharing environment, an unexpected
redirection loop might occur during HTTP processing. An unexpected
redirect response occurs when an HTTP request that normally returns
a specific document redirects the browser to another location.
About this task
When the system detects an infinite loop of redirects, the infinite loop is broken, an error verdict for the request is issued, and the following message is displayed:
Infinite redirection loop detected getting URL n. If this is expected and understood, increase RPT_VMARGS rptMaxRedirection parameter. Redirected history (from the first URL to the current one).
The default number of redirects is set at 10; however, you can edit the maximum number of redirects by updating the RPT_VMARGS argument in the –DrptMaxRedirection setting.
To modify the number of allowable redirects before an error is reported, complete these steps on each agent computer.