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

Fortio loader (client) aborts due to received 404 #392

Closed
georgasa opened this issue Aug 27, 2020 · 2 comments
Closed

Fortio loader (client) aborts due to received 404 #392

georgasa opened this issue Aug 27, 2020 · 2 comments

Comments

@georgasa
Copy link

Hello,

Fortio client aborts because it receives 404 instead of 200: "Aborting because error 404 for http://..." Is it possible to keep sending requests, despite the received error code and do not abort?

Thank you very much,
Apostolos

@ldemailly
Copy link
Member

404 means not found, is that really what you want to test? you can use -n mode to skip the warm up but fortio's behavior is to make a new connection (as opposed to normal keep alive) when it gets an http error back, so if you're continuously going to get 404 you're going to make a lot of new connections (which is slow)

@ldemailly
Copy link
Member

use

  -allow-initial-errors
    	Allow and don't abort on initial warmup errors

if that doesn't resolve your issue please reopen

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