[英]How to make load testing, query analysis in asp.net web application for a academic project
I have developed a e-commerce web application in asp.net using sql server (stored procedures and using linqtosql). 我使用sql server(存储过程和使用linqtosql)在asp.net中开发了一个电子商务Web应用程序。 I want to perform load testing, stress testing, response time for client when he requests server pages, and i also want to analyse the time the application takes to execute the sql instructions/retrieving the data from database.
我想在客户端请求服务器页面时执行负载测试,压力测试,响应时间,我还想分析应用程序执行sql指令/从数据库检索数据所花费的时间。
How can i perform this analysis ? 我该如何进行这种分析? I'm a student in a university, so the tools that i have at my disposal are quite limited.
我是一所大学的学生,所以我可以使用的工具非常有限。
Help me out !! 帮帮我 !!
Thanks in anticipation 谢谢你的期待
A free tool for load testing is Microsoft's WCat . 负载测试的免费工具是微软的WCat 。
From the product description: 从产品说明:
Web Capacity Analysis Tool (WCAT) is a lightweight HTTP load generation tool primarily designed to measure the performance of a web server within a controlled environment.
Web容量分析工具(WCAT)是一种轻量级HTTP负载生成工具,主要用于衡量受控环境中Web服务器的性能。 WCAT can simulate thousands of concurrent users making requests to a single web site or multiple web sites.
WCAT可以模拟数千个并发用户向单个网站或多个网站发出请求。 The WCAT engine uses a simple script to define the set of HTTP requests to be played back to the web server.
WCAT引擎使用一个简单的脚本来定义要回放到Web服务器的HTTP请求集。 Extensibility is provided through plug-in DLLs and a standard, simple API.
通过插件DLL和标准的简单API提供可扩展性。
Another free load testing tool is StresStimulus fiddler add-on, offered by our firm. 另一个免费负载测试工具是我们公司提供的StresStimulus fiddler插件。 It does not require scripting or using API, since it simply replays sessions recorded in fiddler.
它不需要脚本或使用API,因为它只是重放fiddler中记录的会话。 Free edition allows up to 1500 users.
免费版允许最多1500个用户。 The average response time of every request is presented in a grid while instant performance characteristics are displayed in graphs.
每个请求的平均响应时间以网格形式显示,而即时性能特征以图形显示。
To analyze the sql instructions time you can use SQL profiles since you already have SQL server. 要分析sql指令时间,您可以使用SQL配置文件,因为您已经有SQL服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.