Tuesday, September 5, 2017

Web Service Test with Visual Studio -- using data driven csv file



Microsoft Visual Studio : Web Service Test with data driven .csv file


  This post is assuming the webservice test has been created already. If not, you can see another post for how to create a web service test.


When we do the Web service call test, we want to test different kind of cases, and we don't want to change the values one by one, test call by test call. so the data driven can help us the do this. 



             Click ‘Next’ to pick the .csv file


              Click ‘Finish’


           Modify the content of String Body part,



          When running the test, each test run will pick the parameter values from the data drive .csv file.

1 comment: