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

Unable to create more than 8 connections to MySQL database #11

Open
sparcit opened this issue Dec 2, 2019 · 2 comments
Open

Unable to create more than 8 connections to MySQL database #11

sparcit opened this issue Dec 2, 2019 · 2 comments

Comments

@sparcit
Copy link

sparcit commented Dec 2, 2019

Hi,

I am trying to send through enough load through to our RDS mysql database using jdbc-gatling but I am unable to get to more than 4 connections from a Macbook pro and not more than 8 connections from a Windows 7 machine.
Regardless of the number of concurrent users I spawn these are all the connections I can get to

Here below I set the connectionpoolsettings to go upto 200. But it has not helped

val settings = ConnectionPoolSettings(initialSize = 100, maxSize = 200)
 val jdbcConfig = jdbc.url("jdbc:mysql://blah-blah-blah")
    .username(dbusername)  // TODO Change this to perpetual or on demand Authorization
    .password(dbpassword)
    .driver("com.mysql.cj.jdbc.Driver")
    .connectionPoolSettings(settings)
    .build

I am using the following versions of the various dependencies I am using

     <gatling.version>3.3.1</gatling.version>
      <scala-maven-plugin.version>3.3.1</scala-maven-plugin.version>
     <gatling-maven-plugin.version>3.0.5</gatling-maven-plugin.version>
      <jdbc-gatling.version>2.3.0</jdbc-gatling.version>
      <mysql-connector.version>8.0.15</mysql-connector.version>
@pshingavi
Copy link

@sparcit was this resolved ? Did you manage to get it working ?

@sparcit
Copy link
Author

sparcit commented Apr 23, 2021

No. unfortunately not.

So I had to switch to Jmeter to complete my testing.

Be good to know if you do manage to work out a solution.

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