Collections:
Define Variable as Part of Test Plan
How to define a variable as part of my JMeter Test Plan?
✍: FYIcenter.com
You can follow this tutorial to define a variable as part of your Test Plan.
1. Run JMeter and create a test plan called Get-Exchange-Rate.jmx.
2. Click to open the test plan properties panel.
3. Click "Add" to define a new variable:
Name: hostname Value: api.fixer.io
4. Add a thread group and child HTTP Request sampler with these properties:
Name: Latest Exchange Rate
Protocol: https
Server Name: ${hostname}
Method: GET
Path: /latest
5. Save the test plan and run it. JMeter will make HTTP request of GET https://api.fixer.io/latest.
The picture below shows you how to define a variable as part of the test plan properties:
⇒ Define Variable as Part of Post-Processors
⇐ What Are User Defined Variables
2018-06-05, ∼3178🔥, 0💬
Popular Posts:
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
How to convert IPv4 to IPv6 addresses? In order to help your programming or testing tasks, FYIcenter...
How to convert IPv4 to IPv6 addresses? In order to help your programming or testing tasks, FYIcenter...
Where to find test data generators? FYIcenter.com has prepared a number of test data generators for ...
How to validate domain name format? In order to help your programming or testing tasks, FYIcenter.co...