- 1. with badboby recording, save the recording is completed, use JMeter save formats, such as: landing .jmx
- 2. In jmeter open the saved file landed .jmx .
- 3. to login ID and password parameterized
1) Adding a member disposed on the nodes (right added to the step1 - configuration elements -CSV Data Set Config)
2) fill in the configuration element
Filename: Enter the address of the referenced files (TXT format file references)
File encoding: input encoding format, English utf-8, Chinese gbk
Variable Name (comma-delimited): enter the variable name, separated by commas or if a plurality of tab
Delimiter: separator to separate parameter file, the default is the comma, can also be used to separate the tab, such as tab separated by, this should fill "\ t"
Allow quoted dadt: As is selected, then the parameters which may be allowed to complete the split separator appears
3) locate where in the request to be parameterized, parameterization, the parameters of the variable name with a $ {} format, content names are consistent, and fill the intermediate profile
If the value of the parameter is not a fixed value to a random value, it can be used to represent the random function, as follows:
wares_num random values [10] , may then be used $ {_ Random (1,10)} represented this way each thread is made . 1 to 10 in the middle of a random
- 4. The adjustment parameters thread group
5. Click step1 set number of cycles
6. In the directory tree to delete unwanted links
7. Add a listener, right-click the Thread Group - Listener - View Results Tree
8. Click the Run button to run after the end of the run to see results