NET应用程序压力和性能测试

NET应用程序压力和性能测试

本文介绍了在ASP.NET应用程序压力和性能测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要进行我的ASP.NET应用程序的前端有一个压力和性能测试。我的目标是:

I want to conduct a stress and performance test on the front-end of my ASP.NET app. My goal is to:


  • 确定瓶颈

  • 了解数量和HTTP请求的负载

  • 轻松确定正在使用一个Expires头和/或被gzip压缩
  • 组件
  • 从哪里提高下载parllelization

  • 找到重复的脚本和unncessary重定向

  • 确定将搞垮服务器上的负载

  • 精确定位服务器优化的关键领域

除了YSlow的和提琴手,在那里,我应该用它来完成这个测试的任何其他工具?另外,请分享任何的最佳pratices为conducing这种测试在我身边。

Besides YSlow and Fiddler, are there any other tools that I should use to complete this test? Also, please share any best pratices for conducing this kind of test with me.

感谢您的帮助,

约翰·

Thanks for your help,
John

推荐答案

Visual Studio的测试版(2008/10)是工作一大利器。您可以创建单独的Web测试并结合生成您的网络服务器的负载。

Visual Studio Test Edition (2008/10) is a great tool for the job. You create individual web tests and combine the to generate a load on your webserver.

•识别瓶颈
该工具允许您精确地配置要分析性能监视器统计信息。 2010还可以自动采取数据库跟踪的过程。

•Identify bottlenecksThe tool allows you to configure exactly the perfmon stats you want to analyse. 2010 also automates the process of taking a database trace.

•学习数和HTTP请求的负载
这需要你的IIS日志的一些分析。获取Logparse2.2复印件(免费MS工具)。加载登录到数据库,看看是怎么回事。

•Learn the number and the load of HTTP requestsThis requires some analysis of your IIS logs. Get a copy of Logparse2.2 (free MS tool). Load the logs into a database and have a look at what is going on.

•轻松确定正在使用一个Expires头和/或所用gzip压缩的组件
再次,IIS日志是工作再上一个手柄还有什么最好的地方。

•Easily determine the components that are using an Expires header and/or being gzippedAgain the IIS logs are the best place to get a handle on what is there.

•从哪里提高下载parllelization
IIS日志会告诉你在哪里abouts您的实际用户在进行的事情,而Chrome有一个非常好的工具,逐页进行调查页面invidual项目的时机。

•Figure out where to increase download parllelizationThe IIS logs will tell you where abouts your actual users are hitting things, but Chrome has a really nice tool to investigate page by page the timing of invidual items.

•查找重复的脚本和unncessary重定向
不知道这一点。

•Locate duplicate scripts and unncessary redirectsNot sure for this.

•确定将降低服务器负载
创建一个基于共同组从实时网站的页面请求的负载测试。添加虚拟用户,直至现场死亡。要知道,任何像样的Web服务器将需要相当多的处理取下来,这样你就需要为MS加载代理许可证,以产生足够的负荷。 Visual Studio 2010中可以让你购买一个许可证的虚拟用户数量和s $ P $垫在多台计算机的虚拟用户,以获得良好的负载情况发生。

•Determine the load that will bring down the serversCreate a load test based on a "common" group of pages requests from the live site. Add virtual users until the site dies. Be aware that any half decent webserver is going to require quite a bit of processing to take down, so you will require a licence for the MS load agents in order to generate enough load. Visual Studio 2010 will allow you to buy a licence for a number of virtual users and spread the virtual users of a number of machines in order to get a good load happening.

•服务器优化的Pinpoint关键领域
负载测试工具捕获服务器性能监视器的统计数据,并允许您找出服务器瓶颈。测试还捕捉到的响应时间为单个页面,确定特别慢的网页改善。

•Pinpoint key areas of server optimizationThe load test tool captures the server perfmon statistics and allows you to find out the server bottlenecks. The test also capture the response times for individual pages, identifying particularly slow pages for improvement.

这篇关于在ASP.NET应用程序压力和性能测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 17:25