mardi 17 décembre 2019

Dynamic values in Rest API using JMeter

I have payload POST call:

{  

   "tenantName":"loki",

 "owner":
 {
    "country": "india",
    "firstName": "raj",
    "lastName": "kumar",
    "locale": "in",
    "organization": "softwareag",
    "phone": "9789155778",
    "title": "mr",
    "userName": "raraj@softwareag.com",
    "email": "raraj@softwareag.com",
    "password":"V2VsY29tZUAxMjM0"
 },
  "products": [
    "cumulocity",
    "b2b"
  ]
}

In that payload, the tenant name is unique, How to pass different values for each post call?

Aucun commentaire:

Enregistrer un commentaire