Hand to hand teach you load testing web site use Visual studio.

来源:互联网 发布:舞蹈软件下载 编辑:程序博客网 时间:2024/03/29 23:49

This topic won't talk something about tech or any details about load testing, just like a guideline, and as a getting started.

 

For use Visual studio to start your load test, you need to install below program.

Visual studio 2012, TestController, TestAgent, 2 machine has add to domain.

 

1. Before you start your load test, you need to record a script use the web performace record.

  

Click the red button to start record.

In the IE, you can do anything you want to run in load test, after finished, click stop, the script will auto generate and re-run once.

 

 

After finish that, you need to make sure the the script or the code can local run pass, if failed, you need to investigate the code why it failed. if pass we can go the next step, add a load test in your current web performace test project.

 

 

After finish above all, you can configure your load test environment now, first install the test controller and test agent in the different machine, and do the configure as below.

 

Now you can do the setting and run your load test now.

 

 

After all finished, we can monitoring the load test data, also you can query the test data from the configure DB.