Home > Software Quality Tips > Software Testing > Testing Web applications for performance
Software Quality Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SOFTWARE TESTING

Testing Web applications for performance


Rosy suznae
05.03.2007
Rating: -4.62- (out of 5) Hall of fame tip of the month winner


Software quality news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Web applications have become very complex with the advent of the n-tier Web architecture. Load testing, which consists of scalability, performance and stability testing, is the only way to uncover major problems inherent in the architecture. Doing performance testing of such complex Web applications is very challenging and can lead to measured losses if it isn't carried out properly in a planned manner. In this tip I offer some measures that can help get Web applications tested adequately for performance.

Begin early
It's a good idea to plan your load testing effort in the early design phases so that there aren't any last-minute surprises.

Environment specifications
It's always beneficial to have a testing environment that is comparable to production. Make sure to document specifications related to things such as machine configuration, speed and setup apart from knowing the exact number of users the applications would be serving at a given point of time.

Testing strategy
You can plan a good test strategy after you get the exact requirements from the client about his expectations from the Web application. Write down test cases considering the kinds of users to be supported with typical hardware configuration.

Some pointers to consider while writing test cases:

  1. Will the Web application need HTTPS testing as it will require more client hardware?
  2. Are there any stability issues that will prevent the site from operating in a production environment?
  3. How many synchronized concurrent requests can the application handle?
  4. How many nonsynchronized super users can one machine handle before response time degrades below a set limit?
  5. Do the results scale linearly as you add additional hardware?

Use metrics
It's very important to have proper metrics in place during the overall testing process. This can include the number of orders processed per minute or the number of milliseconds required to execute a request on an ASP page.

Web application testing resources
Web application testing techniques

Web application security testing checklist

Web application testing: The difference between black, gray and white box testing

Metrics help to quantify the results of the changes made between each of your test runs. They provide a comparison to the benchmarks defined for your Web application.

Using metrics is of no use if you can't make meaning out of the results that you get by using those metrics. So try to analyze the data collected by using metrics and see if they meet the standards set previously.

Also, make sure to store each test run's metrics for future evaluation. Going back to past data is critical to understanding how the system is reacting to the changes being made.

Use of testing tools
Along with a testing strategy, it's important to use an appropriate load test tool. A proper load testing tool can be identified based on the type of Web application to be tested, as well as how critical and complex the application is.

You can also use freely available tools such as Microsoft's Web Application Stress Tool (WAST) or tools such as Microsoft's Application Center Test (ACT) or Empirix's e-TEST.


Rate this Tip
To rate tips, you must be a member of SearchSoftwareQuality.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Software Testing
Regression test cases in safety-critical software
Successful test-driven development (TDD) with external systems
What to include in a performance test plan
Unit testing in the enterprise: Five common myths dispelled
Determining the testing organization's place within a company
How to test a data warehouse
Testing for performance, part 3: Provide information
The effectiveness of code coverage tools in software testing
Use HAST to determine the robustness of a system
Increasing tester interactions with developers

Software performance, load and stress testing
Software testing is improved by good bug reporting
Soak testing and performance testing terms
Performance testing SOA
Why do we test for performance?
Web app load testing tool monitors user experience
Software testing in a virtual environment
What to include in a performance test plan
Application performance management today, part 4: The challenges of Ajax performance testing
Core activities of performance testing -- Expert Webcast
Software testing fundamentals: Performance testing

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
integration testing  (SearchSoftwareQuality.com)
performance testing  (SearchSoftwareQuality.com)
shotgun debugging  (SearchSoftwareQuality.com)
stress testing  (SearchSoftwareQuality.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts