| By Daniel Baloche | Article Rating: |
|
| December 18, 2008 01:40 PM EST | Reads: |
3,271 |
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,271
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.
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- Industry Experts Discuss the State of Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Performance Tuning Essentials for Java
- Confessions of a Ulitzer Addict
- It's the Java vs. C++ Shootout Revisited!
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer Aid Campaign for the Typhoon Ondoy Victims
- Cloud Computing Can Revitalize Your Career as Software Developer
- A Brief History of Cloud Computing
- Oracle & Cloud Computing: Exclusive Q&A with SVP Richard Sarwal
- Kindle 2 vs Nook
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Why IBM’s Server Chief Got Busted
- Industry Experts Discuss the State of Cloud Computing
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Performance Tuning Essentials for Java
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- It's the Java vs. C++ Shootout Revisited!
- The End of IT 1.0 As We Know It Has Begun
- My Thoughts on Ulitzer
- 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?
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- i-Technology Predictions for 2007: Where's It All Headed?































