NibrazKhan / Jmeter-volume-testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Volume testing using Jmeter by establishing JDBC connection

Here user information is read from a specific database and users are inserted.Volume testing is performed by increasing threads and rampup in Jmeter. Steps taken to build this project:

  • JDBC connection is configured by connecting a specific Database where there is pre-existing datas.

  • JDBC driver class (com.mysql.jdbc.Driver) is configured.

  • mysql-connector-java is put in the lib folder of apache-jmeter.

  • Database is tested by 100 users concurrently reading info in 60s. 100 users reading info in 60 s There is fail rate of 0%.

  • The users are increased more and local database is tested for 300 users reading info in 60s. 300 users reading info in 60 s with fail rate of 49 67% There is an error rate of 49.67%.

  • Insertion operation is run from jmeter into the local database and it is tested for 100 users in 60s. inserting info into database for 100 users in 60s There is an error rate of 0%.

  • Reading and writing both operation is tested concurrently in the local database for 167 users for 60 s. Reading and writing users of 167 users in 60s with a fail rate of 9 58% There is a fail rate of 9.58%.

  • The test is repeated for 167 users for 65s. Reading and writing users of 167 users in 65 s with a fail rate of 2 4% There is an error rate of 2.40%.

  • The test is again performed by keeping the same amount of users for 68s. Reading and writing users of 167 users in 68 s with a fail rate of 0% and it is lower bottleneck After increasing time and keeping same amount of users , the error rate is 0% for 68s and can be regarded as the lower bottleneck of the test.

  • You can clone this project and test it by your own local database Url.

About