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

Unsupport HTTP redirect #631

Open
hatoo opened this issue Dec 14, 2024 · 1 comment
Open

Unsupport HTTP redirect #631

hatoo opened this issue Dec 14, 2024 · 1 comment

Comments

@hatoo
Copy link
Owner

hatoo commented Dec 14, 2024

Currently, HTTP redirect is supported but I don't like it.
I think the feature isn't used.

Please add some reaction if you need HTTP redirect.

@rsiatka
Copy link

rsiatka commented Dec 14, 2024

Hi @hatoo,
In my opinion, this is a very useful functionality for detecting redirections and determining their delays.

Typical example of use:

  1. Send request to the target with single redirection:
    oha -n 10 -r 1 https://httpstat.us/301 --> return the 200 within 0,8846 sec
  2. Send request to the same target with disabled redirection
    oha -n 10 -r 0 https://httpstat.us/301 --> return 301 within 0,6967 sec
  3. Calculate redirection delay --> 0.1879 sec

If You are planning to limit this functionality if would be good to at least leave the option to enable/disable redirection (without specifying the number). This option exist in multiple performance tools like: JMeter, JMeter DSL, Taurus, Locust, K6, Gatling, SoapUI, Artillery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants