开发者

Testing website overload

开发者 https://www.devze.com 2023-02-03 01:31 出处:网络
I have an开发者_StackOverflow中文版 Asp.net website using SQL Server. I want to make a website overload test like http://loadimpact.com/ How can perform this test by myself and see my website performa

I have an开发者_StackOverflow中文版 Asp.net website using SQL Server. I want to make a website overload test like http://loadimpact.com/ How can perform this test by myself and see my website performance?

I want to see max users, instant traffic, error pages etc.


You need to use a tool that will generate load on your website.

Here is a list of open source performance testing tools - I am sure at least one will fit your needs.

You do need to remember that this can take a lot of bandwidth and you have to ensure that your site and the machine/s generating the load have enough of it.


I would look at Apache JMeter if you want to test to see how much your web application can handle. In particular checkout the user manual. As Oded mentioned, you'll have to make sure you have enough bandwidth between the machine that is running the app and the machine that is running JMeter.

In many cases, getting a co-located box in the same rack will give you virtually unlimited bandwidth for testing. Sometimes you can even run JMeter on the same machine as your application or on a virtual machine on the same physical hardware. The downside is that JMeter does use some resources, so you won't know exactly how much your app can handle, but it should give you a pretty good idea of how many users to expect before running into trouble.


You can do performance/stress testing with Visual Studio 2010 Ultimate and Visual Studio Test Professional 2010 which include a new application called Microsoft Test Manager to help you define and manage your testing effort by using test plans.

A good start would be by creating a LoadTestPlugin to do what you want at various points in the load test.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号