加载测试ASP.NET网站

时间:2022-08-29 16:38:33

I want to load test an ASP.NET web service. I have Visual Studio 2008 Professional Edition and Visual Studio 2010.

我想加载测试ASP.NET Web服务。我有Visual Studio 2008专业版和Visual Studio 2010。

Can either one of these products facilitate load testing? I can't seem to find anything and all Google returns is higher end editions of Visual Studio.

这些产品中的任何一个都能促进负载测试吗?我似乎找不到任何东西,谷歌的所有回报都是Visual Studio的高端版本。

If not, what are some of the alternatives.

如果没有,有哪些替代方案。

Or better yet, is there a product where I can feed it an IIS log and it will essentially replay it?

或者更好的是,是否有一个产品,我可以提供一个IIS日志,它将基本上重播它?

3 个解决方案

#1


5  

Is there a cheaper way to do load testing than upgrading to Visual Studio 2010 Ultimate
and also there was a tool called "MICROSOFT WEB APPLICATION STRESS TOOL" but i couldnt find its download apperantely MS removed it from its official page. check this forum for download link http://forums.iis.net/t/1161284.aspx for usage http://www.west-wind.com/presentations/webstress/webstress.htm

有没有比升级到Visual Studio 2010 Ultimate更便宜的负载测试方法,还有一个名为“MICROSOFT WEB APPLICATION STRESS TOOL”的工具,但我无法找到它的下载,因为MS将其从官方页面中删除。查看此论坛的http://forums.iis.net/t/1161284.aspx下载链接http://www.west-wind.com/presentations/webstress/webstress.htm

#2


6  

There is a free Microsoft load testing tool called WCAT. It is a command-line HTTP load generator that replays a test case script. To avoid creating the script manually, you can record your test case in Fiddler and then generate scrip using WCAT Fiddler Extension. This blog has a step-by-step instruction, which I tested, and it works.

有一个名为WCAT的免费Microsoft负载测试工具。它是一个命令行HTTP负载生成器,可重放测试用例脚本。为避免手动创建脚本,您可以在Fiddler中记录测试用例,然后使用WCAT Fiddler Extension生成脚本。这个博客有一个逐步的指导,我测试过,它的工作原理。

On your question about replaying IIS log: check this source. It outlines how to generate WCAT script by querying IIS log using Log Parser. I did not test it though.

关于重播IIS日志的问题:检查此源。它概述了如何使用Log Parser查询IIS日志来生成WCAT脚本。我没有测试它。

#3


3  

The Microsoft Visual Studio Team System 2008 Test Edition would also give you access to these tools. Unfortunately neither of the tools you mention include any load testing capability.

Microsoft Visual Studio Team System 2008测试版还可以让您访问这些工具。不幸的是,你提到的工具都不包括任何负载测试功能。

You may be able to get your licence for 2008 Professional edition changed to Test, but I doubt it now.

您可以将2008 Professional Edition的许可证更改为Test,但我现在对此表示怀疑。

Here are a couple of other questions with answers that may help choose a tool.

以下是其他一些问题,其答案可能有助于选择工具。

  1. stress-and-performance-test-on-asp-net-app
  2. best-tool-for-performance-testing-asp-net
  3. how-to-set-up-a-load-stress-test-for-a-web-site

#1


5  

Is there a cheaper way to do load testing than upgrading to Visual Studio 2010 Ultimate
and also there was a tool called "MICROSOFT WEB APPLICATION STRESS TOOL" but i couldnt find its download apperantely MS removed it from its official page. check this forum for download link http://forums.iis.net/t/1161284.aspx for usage http://www.west-wind.com/presentations/webstress/webstress.htm

有没有比升级到Visual Studio 2010 Ultimate更便宜的负载测试方法,还有一个名为“MICROSOFT WEB APPLICATION STRESS TOOL”的工具,但我无法找到它的下载,因为MS将其从官方页面中删除。查看此论坛的http://forums.iis.net/t/1161284.aspx下载链接http://www.west-wind.com/presentations/webstress/webstress.htm

#2


6  

There is a free Microsoft load testing tool called WCAT. It is a command-line HTTP load generator that replays a test case script. To avoid creating the script manually, you can record your test case in Fiddler and then generate scrip using WCAT Fiddler Extension. This blog has a step-by-step instruction, which I tested, and it works.

有一个名为WCAT的免费Microsoft负载测试工具。它是一个命令行HTTP负载生成器,可重放测试用例脚本。为避免手动创建脚本,您可以在Fiddler中记录测试用例,然后使用WCAT Fiddler Extension生成脚本。这个博客有一个逐步的指导,我测试过,它的工作原理。

On your question about replaying IIS log: check this source. It outlines how to generate WCAT script by querying IIS log using Log Parser. I did not test it though.

关于重播IIS日志的问题:检查此源。它概述了如何使用Log Parser查询IIS日志来生成WCAT脚本。我没有测试它。

#3


3  

The Microsoft Visual Studio Team System 2008 Test Edition would also give you access to these tools. Unfortunately neither of the tools you mention include any load testing capability.

Microsoft Visual Studio Team System 2008测试版还可以让您访问这些工具。不幸的是,你提到的工具都不包括任何负载测试功能。

You may be able to get your licence for 2008 Professional edition changed to Test, but I doubt it now.

您可以将2008 Professional Edition的许可证更改为Test,但我现在对此表示怀疑。

Here are a couple of other questions with answers that may help choose a tool.

以下是其他一些问题,其答案可能有助于选择工具。

  1. stress-and-performance-test-on-asp-net-app
  2. best-tool-for-performance-testing-asp-net
  3. how-to-set-up-a-load-stress-test-for-a-web-site