mardi 13 août 2019

I have created a .json file and want to fetch the data from that json file using rest assured method. How can I achieve this?

I have designed a Rest Assured Framework in which I create a json file separately in which I have all API endpoints. So, now I want to pull the data of that json file using rest assured. How it can be achieved ?

Sample json file :

{
  "data": [
 {
    "TestCasesID": "TestCase_1",
    "ModuleName": "ABC",
    "TestCaseDescription": "Get Special Offer",
    "GetURL1": "#v1/my/specialOffers",
    "GetURL2": "#v1/my/specialOffers"
 }
]

}

Aucun commentaire:

Enregistrer un commentaire