You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the bug
Trying to execute a simple GET request but always end up getting the error "Maximum number of redirects exceeded"
Running the GET request locally runs without an issue, as expected, but using a pipeline within Gitlab (with external access available, no extra security settings) we always get the error, using newman, this doesn't happen.
Using --verbose doesn't display anything different (not sure why that's even an option) and the report (attached) shows everything as null.
If anyone has any ideas they could share, please, let me know.
Could you try adding req.setMaxRedirects(50) in the request script section and then try? Let us know if the issue persists.
Hello @ganesh-bruno , I've tried that and with even 999999 and nothing changed, not even the time to execute the request, it looks more like req.setMaxRedirects isn't doing anything.
I have checked the following:
Describe the bug
Trying to execute a simple GET request but always end up getting the error "Maximum number of redirects exceeded"
Running the GET request locally runs without an issue, as expected, but using a pipeline within Gitlab (with external access available, no extra security settings) we always get the error, using newman, this doesn't happen.
Using --verbose doesn't display anything different (not sure why that's even an option) and the report (attached) shows everything as null.
If anyone has any ideas they could share, please, let me know.
.bru file to reproduce the bug
meta {
name: Google Access
type: http
seq: 6
}
get {
url: https://www.google.com
body: none
auth: none
followRedirects: true
}
headers {
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Language: en-US,en;q=0.5
}
Screenshots/Live demo link
Report.json
The text was updated successfully, but these errors were encountered: