Title: Rigorous and Automatic Testing of Web Applications
1Rigorous and Automatic Testing of Web
Applications
- Xiaoping Jia
- Hongming Liu
2Rigorous and Automatic Testing of Web Applications
- Introduction
- Our Approach
- Test Specification
- A Prototype Tool
- Conclusion and Future Work
3Introduction
- Web application testing issues
- Limitation of current commercial tools
- Use Formal Methods in our WebTest approach
4Our Approach
- Focus on Web application functionality, security
and performance - Uses formal specification in XML syntax as input
- A test engine takes the input and perform test
automatically - A prototype tools
5Our Approach
WEBTEST Approach Overview
6Scope of testing
- Functionality
- Security
- Performance
7Example Logon page check
lttestsuitegt lttestcase nameLogon Page Testgt
ltteststep namelogon page test step one gt
ltrequest urlhttp//jordan.cs.depaul.edu/webtest
/test.htmgt ltparameter namename
valueJordan/gt ltparameter
namepassword valuewrongpassword/gt
lt/requestgt ltresponsegt ltmatch
opcontains regexpfalse
select/html/body valueLogon Failed/gt
lt/responsegt lt/teststepgt ltteststep
namelogon page test step two gt ltrequest
urlhttp//jordan.cs.depaul.edu/webtest/test.htm
gt ltparameter namename
valueJordan/gt ltparameter
namepassword valuerightpassword/gt
lt/requestgt ltresponsegt ltmatch
opcontains regexpfalse
select/html/body valueLogon Successfully/gt
lt/responsegt lt/teststepgt
lt/testcasegt lt/testsuitegt
8A Prototype Tool
Implementation of WebTest
9Loading test specification
10Generate test runner
11Run test
12Conclusion and Future Work
- Our approach can test functionality, security and
performance of Web application rigorously and
automatically. - Continue development of XML grammar for test
specifications - Continue development of WebTest tool applying our
approach
13More information
- Project site http//jordan.cs.depaul.edu/research
/ - -- Paper, presentation, download
- Contact Jordan_at_cs.depaul.edu