Differences between revisions 2 and 3
Revision 2 as of 2008-05-14 15:57:15
Size: 2815
Comment:
Revision 3 as of 2009-09-20 21:55:02
Size: 2821
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[wiki:Self:DRLVMTestTracking Back to Test Tracking] [[DRLVMTestTracking|Back to Test Tracking]]
Line 3: Line 3:
[[Anchor(Summary)]] <<Anchor(Summary)>>
Line 6: Line 6:
[#Status Mission and Status][[BR]]
[#HowTo How to run Jetty scenario][[BR]]
1. [#Configuration Configuration][[BR]]
3. [#Setup Setup][[BR]]
3. [#Run Run][[BR]]
4. [#Results Results][[BR]]
[[#Status|Mission and Status]]<<BR>>
[[#HowTo|How to run Jetty scenario]]<<BR>>
1. [[#Configuration|Configuration]]<<BR>>
3. [[#Setup|Setup]]<<BR>>
3. [[#Run|Run]]<<BR>>
4. [[#Results|Results]]<<BR>>
Line 13: Line 13:
[[Anchor(Status)]] <<Anchor(Status)>>
Line 18: Line 18:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 20: Line 20:
[[Anchor(HowTo)]] <<Anchor(HowTo)>>
Line 23: Line 23:
[[Anchor(Configuration)]] <<Anchor(Configuration)>>
Line 45: Line 45:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 47: Line 47:
[[Anchor(Setup)]] <<Anchor(Setup)>>
Line 57: Line 57:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 59: Line 59:
[[Anchor(Run)]] <<Anchor(Run)>>
Line 67: Line 67:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 69: Line 69:
[[Anchor(Results)]] <<Anchor(Results)>>
Line 74: Line 74:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 76: Line 76:
[[Anchor(EOF)]] <<Anchor(EOF)>>
Line 78: Line 78:
[wiki:Self:DRLVMTestTracking Back to Test Tracking] [[DRLVMTestTracking|Back to Test Tracking]]

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:

  • Specify JRE to run Jetty server on by setting value for property JettyScenario.parameters.required.jetty.server.jvm.

  • Specify JRE to run HTMLUnit-based web client on by setting value for property JettyScenario.parameters.required.scenario.framework.jvm.

  • Specify optional port number via JettyScenario.parameters.optional.jetty.server.port. It defaults to 7070.

  • Specify optional Jetty server's stop port number via JettyScenario.parameters.optional.jetty.server.stop.port. Defaults to 4444.

  • Make sure the external locations for Jetty and HTMLUnit binaris are defined correctly in adaptors/JettyScenario/parameters.xml

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)