question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
slandellecommented, Sep 4, 2017

FYI, you can set it with System props too.

0reactions
fommilcommented, Sep 4, 2017

I had suspected it might work with them, but I couldn’t confirm it. resource files are preferred.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found