VS2010 Web Load Testing with User Logins

时光怂恿深爱的人放手 提交于 2020-01-03 11:02:32

问题


I am looking to create a Web Performance test that can be bound to a CSV file with usernames and passwords so that I can run concurrent tests with different users. How do I modify a recorded WebTest in order to accomplish this?


回答1:


Have you checked out Walkthrough: Adding Data Binding to a Web Performance Test (CSV File)?




回答2:


Once you have added the csv file as a datasource to the webtest,

  1. right click on the webtest.
  2. select "properties"
  3. set the username property to the correct datasource field
  4. set the password property likewise


来源:https://stackoverflow.com/questions/4763872/vs2010-web-load-testing-with-user-logins

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!