Question: jmeter how to use variables?
Answer: Right-Click the Thread Group and add User Defined Variables Config Element in your JMeter test. Create a new variable: var1 with value www.example.com. Go to the HTTP Request and add the variable name where you want to be replaced with its value, use ${var1}