Forum Discussion

varma18's avatar
varma18
Occasional Contributor
8 years ago

how to do datadriven test for REST GET services in Ready api...?. i have done it for POST.

how to do Excel datadriven test for REST GET method services in Ready Api.

 

I have done it for post services. Its working 

 

Please anyone let me know. how to do it for REST GET method services and how to add get data in datasource from excel sheet for GET services.

 

your help is much appreciated.

 

thank you.

6 Replies

  • Hi,

     

    Firstly you would connect to your data source, (for more information -- http://readyapi.smartbear.com/soapui/data_driven/tutorial/functional/config)

     

    In the request window you can point to the datasource using the right click "Get Data" function to pull the data from your datasource into your tests. http://readyapi.smartbear.com/features/get_data/introduction 

     

    Of course you will need to ad a "GET" request to your test case first from the projects tab.

    I hope this helps.

    Ronan

    • varma18's avatar
      varma18
      Occasional Contributor

      thank you.

       

      I already have GET request in test case.

       

      I am not aware how to add data to input at url level for GET that we do same for Post.

       

      please let m eknow.

       

      • SmartBearAmber's avatar
        SmartBearAmber
        SmartBear Alumni (Retired)

        Adding data to a Get request is similar, but slightly different from a Post.

        Would you be able to provide a screen shot of the Get request you're working with in Ready! API so that we can further assist?