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

Add option to re-initiate connections after a set number of requests #339

Closed
mandarjog opened this issue May 15, 2019 · 2 comments
Closed

Comments

@mandarjog
Copy link
Collaborator

At present we can run the load generator for a set amount of time or a certain number of requests.
I would like to a mode --reconnetRequests=1000 where fortio client will reconnect after 1000 requests.

Use case: We are testing SDS cert rotation using an https fortio client (std client).
For cert rotation to be exercised fortio should reconnect periodically to fetch the new cert.
In absence of this the previously negotiated key material continues to be used.

@ldemailly
Copy link
Member

In the meantime/workaround:

use -n 1000 and add an outer loop

@ldemailly
Copy link
Member

done in upcoming 1.34

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

No branches or pull requests

2 participants