2 Minutes To Code (β Version)

JMeter - 2 minute tutorial

Example of JDBC Request Defaults Config Element (sample usage)

The Config element JDBC Request Defaults is used to configure database and connection pool details like db url, driver class, user name, password, pool size etc as shown in Image 2 below.

Since JMeter runs db queries using JDBC, you need to add the database specific driver class to JMeter's classpath $JMETER_HOME/lib. You will need to restart JMeter after adding the jar file in classpath.

Image 1: Adding JDBC Config Element

Image 2: Configuring JDBC Config