Web testing
This article needs additional citations for verification. (November 2008) |
Web testing is the name given to software testing that focuses on web applications. Complete testing of a web-based system before going live can help address issues before the system is revealed to the public. Issues such as the security of the web application, the basic functionality of the site, its accessibility to handicapped users and fully able users, as well as readiness for expected traffic and number of users and the ability to survive a massive spike in user traffic, both of which are related to load testing.
Few Testing Concepts for Web applications
To improve efficiency of web applications, complete testing must be performed. To understand need of testing for web applications we must learn some concepts in web applications[1].
Quality of web applications can be incorporated by implementing good design. But there are certain factors which determines quality of web application. Some of these are..
- Content
- Function
- Structure
- Usability
- Navigability
- Performance
- Compatibility
- Interoperability
- Security
Web Application Performance Tool
A Web Application Performance Tool, also known as (WAPT) is used to test web applications and web related interfaces. These tools are used for performance, load and stress testing of web applications, web sites, web servers and other web interfaces. WAPT tends to simulate virtual users which will repeat either recorded URLs or specified URL and allows the users to specify number of times or iterations that the virtual users will have to repeat the recorded URLs. By doing so, the tool is useful to check for bottleneck and performance leakage in the website or web application being tested.
A WAPT faces various challenges during testing and should be able to conduct tests for:
- Browser compatibility
- Operating System compatibility
- Windows application compatibility where required (especially for backend testing)
WAPT allows a user to specify how virtual users are involved in the testing environment.ie either increasing users or constant users or periodic users load. Increasing user load, step by step is called RAMP where virtual users are increased from 0 to hundreds. Constant user load maintains specified user load at all time. Periodic user load tends to increase and decrease the user load from time to time.
Web security testing
Web security testing tells us whether Web based applications requirements are met when they are subjected to malicious input data.[2]
- Web Application Security Testing Plug-in Collection for FireFox: https://addons.mozilla.org/en-US/firefox/collection/webappsec
Testing the user interface of web applications
Some frameworks give a toolbox for testing Web applications.
Open Source web testing tools
- JMeter: http://jakarta.apache.org/jmeter/ - Java desktop application for load testing and performance measurement.
- HTTP Test Tool: http://htt.sourceforge.net/ - Scriptable protocol test tool for HTTP protocol based products.
Windows-based web testing tools
- Quick test Professional - Automated functional and regression testing software from HP.
- LoadRunner - Automated performance and load testing software from HP.
- Rational
- SilkTest - Automation tool for testing the functionality of enterprise applications
- Testing Anywhere - Automation testing tool for all types of testing from Automation Anywhere
See also
References
Further reading
- Hung Nguyen, Robert Johnson, Michael Hackett: Testing Applications on the Web (2nd Edition): Test Planning for Mobile and Internet-Based Systems ISBN 0-471-20100-6
- James A. Whittaker: How to Break Web Software: Functional and Security Testing of Web Applications and Web Services, Addison-Wesley Professional, February 2, 2006. ISBN 0-321-36944-0
- Lydia Ash: The Web Testing Companion: The Insider's Guide to Efficient and Effective Tests, Wiley, May 2, 2003. ISBN 0471430218
- S. Sampath, R. Bryce, Gokulanand Viswanath, Vani Kandimalla, A. Gunes Koru. Prioritizing User-Session-Based Test Cases for Web Applications Testing. Proceedings of the International Conference on Software Testing, Verification, and Validation (ICST), Lillehammer, Norway, April 2008.
- "An Empirical Approach to Testing Web Applications Across Diverse Client Platform Configurations" by Cyntrica Eaton and Atif M. Memon. International Journal on Web Engineering and Technology (IJWET), Special Issue on Empirical Studies in Web Engineering, vol. 3, no. 3, 2007, pp. 227–253, Inderscience Publishers.