Back to Test Tracking

Summary

Mission and Status
How to run Tomcat scenario
1. Configuration
3. Setup
3. Run
4. Results

Mission and Status

Tomcat scenario is the most basic scenario that uses Apache Tomcat on top of Harmony. It starts Tomcat, tries to access a couple of standard Tomcat example pages via HTTP and then compares retrieved content with golden files.

Back to Summary

How to run Tomcat tests

1. Configuration

Make sure that PATH environment variable contains JDK 1.5 (use RI) and Apache Ant (v1.6.5 or later), and that JAVA_HOME and ANT_HOME are properly set up. If you use proxy server, specify proxy settings by setting ANT_OPTS environment variable:

Windows:

Linux:

Edit your framework.local.properties file:

Back to Summary

2. Setup

$ cd buildtest/infra
$ ant -Dtest.suites=tomcat-scenario install
$ ant -Dtest.suites=tomcat-scenario setup

The last command copies required parameters from framework.local.properties file to required-parameters.properties file. After each modification of framework.local.properties you should remove required-parameters.properties and run this command again.

Back to Summary

3. Run

$ cd buildtest/infra
$ ant -Dtest.suites=tomcat-scenario run

Back to Summary

4. Results

Results summary can be found at buildtest/infra/build/results/tomcat-scenario/

Back to Summary

Back to Test Tracking

Tomcat_scenario (last edited 2009-09-20 21:54:21 by localhost)