title: How to pass dynamic JSON data in Jmeter while doing performance Testing?
body: <p>I'm new to Jmeter, and working on load test, I did couple of samples and that are running fine, Now I'm facing a Issue at below point.</p>
  
  <p>Issue: How do I pass the variable in JSON body part?for few request we've a body and the body should change as per the input data, Ex: username and email, etc,.</p>
  
  <p>I used ${name} kind of variable in Jmeter, but it's not working. Could you please suggest us the better way to rid out this issue.</p>
  
  <p>Note: Please, refer the screenshot, where I wants to put a variable and that should come from user defined variables.
  <a href="https://i.stack.imgur.com/dEyrm.png" rel="nofollow noreferrer">click here to see image</a></p>
  
  <p>Thanks in Advance,
  Rajesh B</p>
  
  <p>Jmeter version: 5.1
  Windows 10</p>
  
  <p>{
    "unitNumber": "111",
    "bathRooms": 1,
    "price": 50,
    "basePrice": 50,
    "streetAddress": "${ADDRESS}",
    "city": "Washington",
    "state": "CO",
    "address": "${ADDRESS_2}",
    "addressId": 2,
    "contactPreferedValue": "Email",
    "weekSelected": "1",
    "cleaningWeekSelected": "1",
    "email": "${Email}",
    "mobile": "",
    "weekSelectedValue": "May 30 2019",
    "keypadPasscode": false,
    "contactValue": "I'll be at home",
    "contactPrefered": 1,
    "isPaymentDone": false
  }</p>
  
  <p>Expected result: Jmeter Script (JSON Body) should allow to read dynamic data from user defined variables.</p>