Articles → JMeter → User Defined Variables In Jmeter

User Defined Variables In Jmeter

How To Create User Defined Variables?

  1. Right-click on the Thread Group
  2. Click on Add → Config Element → User Defined Variables
  3. A node is added in the tree
  4. Picture showing adding the user defined variables in the threadgroup
    Click to Enlarge

  5. Click on the User Defined Variables node, a window will be displayed on the right-hand side.
  6. In the right-hand side window, click on ‘Add’ button
  7. Picture showing the Add button for adding the new user defined variable
    Click to Enlarge

  8. A new row will be added in the grid above where you can fill ‘Name’ and ‘Value’
  9. Picture showing adding the name and value of the user defined variable
    Click to Enlarge

Use User Defined Variables

Picture showing using the user defined variable in HTTP request
Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Thursday, December 19, 2019


Your Email Id  
Query/FeedbackCharacters remaining 250