View Result of JDBC Request Sampler
How to view test result of a JMeter JDBC request? I created one to verify access to my MySQL server.
You can follow this tutorial to view test result of a JMeter JDBC request.
1. Start JMeter on your computer and open "\fyicenter\First-Load-Test-5.jmx".
2. Add a "View Result Tree" in the "tearDown Thread Group", below the "MySQL Access Test" JDBC Request sampler.
3. Save the test plan and run it.
4. Click "MySQL Access Test" in the "View Result Tree" screen. Then open the "Response Data" tab You see the query result:
You may see access denied errors, if you provided the wrong username or password:
Cannot create PoolableConnectionFactory (Access denied for user 'john'@'localhost' (using password: YES))
You may SQL syntax errors, if you made any mistakes in the query statement:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@@version' at line 1
The picture below shows you how to view test result of a JDBC request sampler:
2017-11-18, 673👍, 0💬
How to convert binary data to hexadecimal format (or Binary to Hex Encoding)? Binary to Hex encoding...
How to perform HTML entity encoding? HTML entity encoding is designed to protect HTML reserved chara...
How to generate test phone numbers? Test phone numbers are frequently needed in testing applications...
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
How to Pass Windows Environment Variable to JMeter? I want to use Windows temporary folder environme...