Back to Test Tracking

Summary

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

Mission and Status

Jetty scenario starts Jetty on top of Harmony, tries to access (via HTTP) several pages from standard Jetty's test application and then compares retrieved content with golden files. The scenario itself consists of five test cases, each test checks a separate part of Jetty's test webapp.

Back to Summary

How to run Jetty scenario

1. Configuration

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

Windows:

    set ANT_OPTS="-Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port>"

Linux:

    export ANT_OPTS="-Dhttp.proxyHost=<proxy host> -Dhttp.proxyPort=<proxy port>"

Edit your framework.local.properties file:

Back to Summary

2. Setup

$ cd buildtest/infra
$ ant -Dtest.suites=JettyScenario install
$ ant -Dtest.suites=JettyScenario 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=JettyScenario run

Back to Summary

4. Results

Results summary can be found at buildtest/infra/build/results/JettyScenario/

Back to Summary

Back to Test Tracking

JettyScenario (last edited 2009-09-20 21:55:02 by localhost)