Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect of base_url should be sticky #74

Closed
jeremyandrews opened this issue Jun 14, 2020 · 0 comments
Closed

redirect of base_url should be sticky #74

jeremyandrews opened this issue Jun 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@jeremyandrews
Copy link
Member

Some websites use multiple domains to serve traffic, redirecting depending on the user's roll. For this reason, Goose needs to respect a redirect of the base_url and subsequent paths should be built from the redirect domain.

For example, if the base_url (ie --host) is set to foo.example.com and the load test requests /login, thereby loading http://foo.example.com/login and this request gets redirected to http://foo-secure.example.com/, subsequent requests made by this client need to be against the new foo-secure.example.com domain. (Further, if the base_url is again redirected, such as when loading http://foo-secure.example.com/logout, the client should again follow for subsequent requests, perhaps in this case back to foo.example.com.)

Load tests can also requests absolute URLs, and if these URLs are redirected it should not affect the base_url of the load test. For example, if foo.example.com is the base url, and the load test requests http://bar.example.com and gets redirected to http://other.example.com subsequent relative requests would still be made against foo.example.com.

If the load test requests

@jeremyandrews jeremyandrews added the bug Something isn't working label Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant