How To : Visual Studio 2013 : Web Performance and Load Test Project : Web Test : Web Service : Use CSV File 16 June 2014 Robert Amiscaray (0) Visual Studio 2013Web Service Load Test for a Web Service Call using a CSVFrom Existing Solution:Right click Solution > Add New Project > Visual C# > Test > Web Performance and Load Test ProjectType a name in the Name: MyWebPerformanceAndLoadTestProjectClick OKRight click MyWebPerformanceAndLoadTestProject > Add > Web Performance TestIn main content panel, right click WebTest1 > Add Data SourceNew Test Data Source Wizard:Select the type of data sourceSet Data source name : DataSource1Click CSV FileClick Next >Select the CSV file the data source is based onClick ellipses ...Choose a CSV file.(NOTE: Recommended that he first line is the labels for the csv)Example:UserId1234Click FinishIn main content panel of WebTest1.webtestRight click WebTest1 > Add Web Service RequestRight click http://localhost/ > PropertiesSet the url to the web service end pointSet Url: http://localhost:64093/api/userExpand the url http://localhost:64093/api/userRight Click > String Body > PropertiesSet Content Type : application/jsonString Body > Click Ellipsis ...{"UserId": "{{DataSource1.UserId#csv.UserId}}"}(NOTE: Using {{DataSource1.UserId#csv.UserId}} will set the value from the CSV.)Click Save