Figure out good solution for GitLab dash urls
Several web URLs have changed recently to use dashes in them. For example Issues recently changed from https://gitlab.com/gitlab-org/quality/performance/issues
to https://gitlab.com/gitlab-org/quality/performance/-/issues
.
This isn't uniform and appears to be happening on a case by case basis. From what we can see Branches actually changed to the above format in 12.0
.
k6
can handle redirects so we thought we could just use the older URL and let GitLab redirect as a quick solution. However this messes with the k6
result numbers as it's registering redirects as a separate request effectively doubling the RPS recorded.
Since we test older versions of GitLab and this can probably be expect to continue in other areas we need a better solution for this. At the moment it's probably going to have to be a specific check in the affected tests, which isn't great as it makes them more complicated but we need to be able to handle this.
Task is to find the best solution possible for the above.