| By Daniel Baloche | Article Rating: |
|
| December 18, 2008 01:40 PM EST | Reads: |
3,191 |
In today's Internet age, most developers are building Web applications prolifically. As applications move to the Web, it has become increasingly more important to be able to gauge their performance and load capability. Developers must be able to predict how much traffic a Web site will be able to handle and make smart choices on how to design an application so that it can handle a potential blitz of users.
But very often Web applications hit their limits and catch companies off-guard. An overloaded Web application is a major
problem and often can't be addressed rapidly. Therefore, being prepared and understanding the limits of an application is crucial to its success.
At the same time, companies want to get their Web applications up and running as quickly as possible to keep up with competition. The exponential growth of rich Internet applications (RIAs) - including AJAX, Adobe Flex, and Silverlight - has accelerated the rate of development so companies need a cost-effective way to test their rich media application development quickly and easily to stay competitive.
What is the best, fastest, most cost-effective way to load a Web application? In this article, we'll look at optimum stress and load-testing techniques.
What You Want to Test
Before you start testing an application, it's important to determine your application testing objectives. Do you want to test an application's robustness, performance, infrastructure, and/or stability?
Types of Testing
Load Test
To find out if an application is stable and won't crash when a certain number of users are accessing it, you want to do a load test. A load test simulates a user at a constant rate over a period of time.
The test results should answer the following questions:
- Is the server capable of handling a certain number of simultaneous users?
- Is the average response time for pages acceptable under this set load?
- Does the server revert to normal behavior after a load peak?
It is important to define what an acceptable response time is beforehand since the notion can differ depending on the application tested and the type of page. For example, a simple page should display faster than a page full of search results.
Testers should also closely monitor the CPU and memory usage throughout the load test. The server is considered overloaded if these usage figures regularly exceed 90%.
It is equally important to test the server's capacity to recover after a load peak. Many applications are subjected to load peaks; for example, an intranet at 8.30 a.m., resulting in a temporary stress on the application. It's necessary, therefore, to check that no damage is done to the system as a result of these peaks. This type of test can also pinpoint memory leaks or resource management problems.
Published December 18, 2008 Reads 3,191
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Daniel Baloche
Daniel Baloche is Vice President, North America at Neotys (http://www.neotys.com), a provider of software solutions to improve the quality and performance of information systems. Its flagship solution, NeoLoad, tests the performance of web applications using customizable scenarios for load and stress.
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Journal Opens "Readers' Choice Awards" Nominations
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Industry Experts Discuss the State of Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- It's the Java vs. C++ Shootout Revisited!
- The End of IT 1.0 As We Know It Has Begun
- An Introduction to Abbot
- Java Kicks Ruby on Rails in the Butt
- Interviewing Java Developers With Tears in My Eyes
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- How to Diagnose Java Resource Starvation
- REA Is Where RIA Becomes the Norm
- Kindle 2 vs Nook
- Anatomy of a Java Finalizer
- Why IBM’s Server Chief Got Busted
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?



































