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

Client Pool - clean client before it can be reused #693

Closed
RomanPoprava opened this issue May 9, 2024 · 1 comment
Closed

Client Pool - clean client before it can be reused #693

RomanPoprava opened this issue May 9, 2024 · 1 comment

Comments

@RomanPoprava
Copy link

Question - if the thread has ended and the client is free to be taken by another thread - is there any mechanism to clear team data (header, cookies, etc) of that specific client within client pool?
What I saw in the documentation - there is only DisposeClients() can be called, usually in 'WithClean()', but this method has called only once after bombing phase and it's disposing all clients in the client pool. What we need is to clean client data when thread has ended, so the client may be reused by another thread within one scenario.

@AntyaDev
Copy link
Contributor

AntyaDev commented May 9, 2024

Not sure I understand. Can you please elaborate on your use case? And what prevents you from cleaning all necessary data at the end of the thread?

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