what are different ways that we can do some optimum level of stress testing for asp.net application before moving it to the production environment ?
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- How to store image outside of the website's ro
- 'System.Threading.ThreadAbortException' in
- Request.PathInfo issues and XSS attacks
- How to dynamically load partial view Via jquery aj
相关文章
- asp.net HiddenField控件扩展问题
- asp.net HiddenField控件扩展问题
- Asp.Net网站无法写入错误日志,测试站点可以,正是站点不行
- asp.net mvc 重定向到vue hash字符串丢失
- FormsAuthenticationTicket expires too soon
- “Dynamic operations can only be performed in homog
- What is the best way to create a lock from a web a
- Add to htmlAttributes for custom ActionLink helper
Visual Studio 2010 provides some fantastic Test Automation tools and also for Load Testing the web applications.
Here is the free tool for the stress testing in asp.net application.
http://blogs.msdn.com/alikl/archive/2008/03/09/stress-test-asp-net-web-application-with-free-wcat-tool.aspx
Another is called asp.net performance engineering which will tell how we can stress application.
http://blogs.msdn.com/alikl/archive/2008/05/05/asp-net-performance-engineering-stress-test-your-architecture-design-and-code.aspx
Also go through the following post:
Best way to stress test a website
From my experience before moving to the production environment please take of following things.
1) set debug=false into the web.config
2) set trace enabled=false into the web.config
3) Always use precompiled version of your code.
4) Compile your project into the release mode.
5) Publish your code if you are using asp.net 2.0 or higher version
6) User caching api as much as possible.
7) Decrease your html kb.
8) remove blank spaces from the asp.net html code.
9) Use stylesheet as external .css file
10) USE IIS Compression if poosible.
11) Put your javascript file in .js files
12) Use Server.Transfer instead of Response.redirect
13) Use Inproc Session State if possible.
14) Use Viewstate efficiently- Use controlstate instead of viewstate which is newer feature in asp.net 2.0
15) Avoid giving big name to controls it will increase your html kb.
16) Use Div instead of tables it will decrease your size.
17) Do IIS Performance tuning as per your requirement
Here is the good link that teaches us good way of deployment in production environment.
http://www.vbdotnetheaven.com/UploadFile/dsdaf/111222006014732AM/1.aspx
Apache JMeter (http://jmeter.apache.org/) is an excellent tool for stress-testing web applications. It can be used with any web server, not just Apache.