3. Setup
3. Run
4. Results
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.
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:
$ 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.
$ cd buildtest/infra $ ant -Dtest.suites=JettyScenario run |
Results summary can be found at buildtest/infra/build/results/JettyScenario/