support for maxConnections and maxConnectionsPerHost
See original GitHub issue- Don’t post questions here. This bugtracker is for issues and feature requests only. Use the community mailing list instead.
- Regarding issues:
- Check that you can reproduce your issue with latest Gatling version
- Search this bugtracker for any similar issue that might have already been reported (and possibly fixed and available as a SNAPSHOT version)
- Provide a way for Gatling developers to reproduce your problem, e.g. step-by-step instructions against a public facing website, or a sample application that demonstrates your problem.
- Regarding feature requests:
- Explain your use case, not the implementation you have in mind.
We require a maximum limit on virtual user open connections.
This can be achieved by adding the two relevant lines to https://github.com/gatling/gatling/blob/master/gatling-http/src/main/scala/io/gatling/http/ahc/AhcFactory.scala#L83
A workaround is to monkey patch org/asynchttpclient/DefaultAsyncHttpClientConfig
with the values we want.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
HTTPMaximumConnectionsPerH...
This property determines the maximum number of simultaneous connections made to each host by tasks within sessions based on this configuration. This limit...
Read more >Apache HttpClient Max-Connections-per-host Behaviour
I.e. if you use one single dns name to access the service, you will get exactly DefaultMaxConnectionsPerHost connections to that service. If you ......
Read more >Is it a good idea to increase max connections per host?
Is it a good practice to set max connections per host number higher ... I don't think a RetryPolicy will help you here,...
Read more >What is the difference between Maximum Total Connections ...
The "Maximum Total Connections" is the total number of connections available in the pool. The "Maximum Total Connections Per Host or Route" ...
Read more >Max Connections Per Host - SmartBear Community
Can I use the "Max connections per host" option? If one of the test cases is held ... The community will jump in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, you can set it with System props too.
I had suspected it might work with them, but I couldn’t confirm it. resource files are preferred.