Forum Discussion

Renuka's avatar
Renuka
Occasional Contributor
7 years ago
Solved

How to read JSON data from file and use it in request body ?

I have one JSON file which contains following data: {   "registrationKey": "sadnskjadsdkfj",   "firstName": "Renuka",   "lastName": "Saini",   "email": "reom@gmail.com",   "phone": "1234567890"...
  • Radford's avatar
    Radford
    7 years ago

    I'm sorry but I do not have experience of the JSON data source (The vast majority of my SoapUI use is with XML data).

     

    If you haven't already I suggest you read the documentation section on Data Driven Testing, this has a lot of useful information, in particular the JSON Data Source section. It looks like you could set your File Wait test step as the source of the JSON data (Please Note: I have not tried or tested this).