Differences between revisions 1 and 2
Revision 1 as of 2008-04-25 17:16:28
Size: 2397
Comment: Basic description of Tomcat scenario was added
Revision 2 as of 2009-09-20 21:54:21
Size: 2403
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 Tomcat 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 Tomcat 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 41: Line 41:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 43: Line 43:
[[Anchor(Setup)]] <<Anchor(Setup)>>
Line 53: Line 53:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 55: Line 55:
[[Anchor(Run)]] <<Anchor(Run)>>
Line 63: Line 63:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 65: Line 65:
[[Anchor(Results)]] <<Anchor(Results)>>
Line 70: Line 70:
[#Summary Back to Summary] [[#Summary|Back to Summary]]
Line 72: Line 72:
[[Anchor(EOF)]] <<Anchor(EOF)>>
Line 74: Line 74:
[wiki:Self:DRLVMTestTracking Back to Test Tracking] [[DRLVMTestTracking|Back to Test Tracking]]

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:

  • set ANT_OPTS="-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=1111"

Linux:

  • export ANT_OPTS="-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=1111"

Edit your framework.local.properties file:

  • Specify JRE to test by setting value for property tomcat-scenario.parameters.required.tested.runtime.

  • Specify optional port number via tomcat-scenario.parameters.optional.port.number. It defaults to 8091.

  • Make sure the external location for Tomcat binary is defined correctly in adaptors/tomcat-scenario/parameters.xml

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)