简体   繁体   中英

How to test automatically Web Performance and Load Test Project in Visual Studio 2012 ultimate version

I am using VS2012 Ultimate to creating Web performance test and Load test project.First I created sample web page application, in this web page two text box username and password and submit button.Then run the web test project, it build successful and click the add recording, automatically opened internet explorer then we enter the web application url manually and enter the username, password and submit. Then stop the recording, it will go to the project and processing, finally result is passed.But I want when i run the web performance and Load test project and give only url then automatically enter username and password and submit. Please guide me.

Yes this can be done in the web test. You will have to go to web test URL where you have textboxes, expand the URL properties (Form Post Parameters), here you can change the input parameters. Also, you can bind this with the data source also, data source could be csv file. Please check data source and Form Post Parameters options.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM