-
Notifications
You must be signed in to change notification settings - Fork 27
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
Cookie manager doesn't represent all cookies #32
Comments
Hello @syampol, Thanks for taking the time to report this behaviour, it's a shame you are experiencing it. In order to give a more accurate report, narrow down the issue and give you a faster solution, please, could you provide the following information?
After this, we are going to check it out in our end and come back to you as we detect and find a solution. Once again, thanks for taking the time, Regards |
hi @RicardoPoleo jmeter 5.5 discover several problems with the plugin. trying describe:
p.s. tried to create a branch with our custom workarounds for cookie handling. but failed to make push due to some permission restrictions. wasn't able to make it out.. |
Hello @syampol, We need to investigate that behavior for the 10 additional threads, because even though every VU in Jmeter, http2 connection or static resource opens a thread (or at least that's we have intended for it), the fact that it opens those 10 threads because of reasons, and don't use them, seems pretty weird. I apologize for it. Also, regarding those changes for the CM: Did you make a public fork here in GitHub? I checked the repository's forks and didn't see it. If you haven't, could you give it a try and make a PR? We would review them and also mention you on the contributions for the release. In the meanwhile, we will review this and the issue #24 on our end, to try to fix it. Anyway, thank you very much for the extensive and detailed discoveries 🚀 |
Regarding 10 additional threads - I didn't say those are not used. I said those looks mainly idle while watching with profile. Threads are created with the jetty httpClient.start(). I believe 10 is some default setting for the used thread pool. Need to investigate if this is configurable and if diminishing thread count may impact functionality itself. As I understand those additional threads are responsible for the communication and data processing (send, recv, pack, unpack etc.) As for public fork - as I said I haven't succeed in this. Always getting permission denied error and can't solve it (( Also regarding thread amount - what one of our DEV did is create a jetty http client with a configurable QueuedThreadPool thread pool. I haven't observed any unexpected issues running our test with such TP, configured with 3/4 as min/max TP size (vs 10/100 default settings). But still can't 100% sure tell that TP size can be shrunk with no future impact. It's just an observation from only one custom run... |
Hi @syampol13 We have made improvements to the http2 client. The alpha version Let us know if it resolves what was reported in this issue. PS: Related to cookies, If you have a fork where you made the fixes to the cookie manager, you can share the link with us and we will be able to see those suggestions. |
@3dgiordano I've got a fix for saving multiple cookies. Please see: SurenSritharan@58669d2 |
Thank you for your contribution, indeed there was a bug there. But you can try all the improvements that have been worked on lately in the alpha.2 version. |
The fix was released on the version 2.0.3/2.0.4 I'm going to close this issue assuming it was resolved. If not, you can request reopening again, informing what the problem was detected with respect to what was reported in this issue. Thank you. |
Cookies obtained from 1st request:
Only one of them was set within the next request
According to log:
all four parameters were compressed with Hpack for the 2nd request.
But 1st of all this is not visible in UI. And 2nd - I still getting set-cookie on 2nd request for two of them
The text was updated successfully, but these errors were encountered: