filmov
tv
JMeter Beginner Tutorial 8 - How to create a Database Test Plan
![preview_player](https://i.ytimg.com/vi/oy53KAKHpts/maxresdefault.jpg)
Показать описание
How to create a Database Test Plan
Step 1 - Add mysql jdbc jar to Jmeter lib folder | Restart Jmeter
Step 2 - Add Thread Group
Step 3 - Add JDBC Conn Config | Provide the details of our DB
JDBC URL Format
Useful Tip:
The general format for a JDBC URL for connecting to a MySQL server is as follows, with items in square brackets ([ ]) being optional:
jdbc:mysql://[host1][:port1][,[host2][:port2]]...[/[database]] »
[?propertyName1=propertyValue1[&propertyName2=propertyValue2]...]
Here is a simple example for a connection URL:
jdbc:mysql://localhost:3306/sakila?profileSQL=true
Step 4 - Add JDBC Request
Step 5 - Add Listeners
Step 6 - Run and validate
________ ONLINE COURSES TO LEARN ________
------------ UI TESTING ------------
------------ API TESTING ------------
------------ MOBILE TESTING ------------
------------ CI | CD | DEVOPS ------------
------------ VERSION CONTROL SYSTEM ------------
------------ PERFORMANCE TESTING ------------
------------ JAVA ------------
------------ MAVEN ------------
------------ OTHERS ------------
------------ Follow ------------
Step 1 - Add mysql jdbc jar to Jmeter lib folder | Restart Jmeter
Step 2 - Add Thread Group
Step 3 - Add JDBC Conn Config | Provide the details of our DB
JDBC URL Format
Useful Tip:
The general format for a JDBC URL for connecting to a MySQL server is as follows, with items in square brackets ([ ]) being optional:
jdbc:mysql://[host1][:port1][,[host2][:port2]]...[/[database]] »
[?propertyName1=propertyValue1[&propertyName2=propertyValue2]...]
Here is a simple example for a connection URL:
jdbc:mysql://localhost:3306/sakila?profileSQL=true
Step 4 - Add JDBC Request
Step 5 - Add Listeners
Step 6 - Run and validate
________ ONLINE COURSES TO LEARN ________
------------ UI TESTING ------------
------------ API TESTING ------------
------------ MOBILE TESTING ------------
------------ CI | CD | DEVOPS ------------
------------ VERSION CONTROL SYSTEM ------------
------------ PERFORMANCE TESTING ------------
------------ JAVA ------------
------------ MAVEN ------------
------------ OTHERS ------------
------------ Follow ------------
Комментарии