问题
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,
- right click on the webtest.
- select "properties"
- set the username property to the correct datasource field
- set the password property likewise
来源:https://stackoverflow.com/questions/4763872/vs2010-web-load-testing-with-user-logins