Collections:
Add Custom Field to JMeter Test Result
How to Add a Custom Field to JMeter Test Result? I want to add the test plan ID to the test result table.
✍: FYIcenter.com
If you are running multiple test plans, it is a good idea to
add an test plan ID field in the test result file.
So you can run queries for each test plan when the results
are loaded to the database.
You can follow this tutorial to define and add a new custom field to the test result.
1. Start JMeter and open "\fyicenter\First-Load-Test-5.jmx".
2. Open "Test Plan" settings and add the following to "User Defined Variables":
Name: testID Value: 123
3. Save the test plan to "\fyicenter\First-Load-Test-6.jmx".
4. Close JMeter and start it again with the following command:
>\fyicenter\jmeter\bin\jmeter -J sample_variables=testID
5. Open "\fyicenter\First-Load-Test-6.jmx" and run it.
6. Open "\fyicenter\Test-Result.csv", you see the testID field is added in the test result file.
⇒ Modify MySQL Table to Store New Field
⇐ Convert JMeter Timestamp to Date and Time
2017-09-25, 7126🔥, 0💬
Popular Posts:
How to convert hexadecimal encoded data back to binary data (or Hex to Binary Decoding)? Hex to Bina...
Where to find tutorials on Test Management? I want to know how to manage software testing documents ...
How to generate IPv6 Addresses? To help you to obtain some IPv6 addresses for testing purpose, FYIce...
How to generate ISBN numbers? To help you to obtain some ISBN numbers for testing purpose, FYIcenter...
How to convert IPv4 to IPv6 addresses? In order to help your programming or testing tasks, FYIcenter...