alexfernandez / loadtest

Runs a load test on the selected URL. Fast and easy to use. Can be integrated in your own workflow using the API.
MIT License
2.55k stars 206 forks source link

Add support for follow redirect #201

Open alee13-chwy opened 2 years ago

alee13-chwy commented 2 years ago

Since 301 and 302 are considered as successful, it misses error when the final Location is an error.

Using contentInspector(result) gives me access to result.headers.location but not make a new request by setting options.path = result.headers.location

alexfernandez commented 11 months ago

Sorry for the inexcusable delay. I imagine it should be easier to make a request to the final location. In any case, if you propose a patch I will gladly accept it.