Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 84411 invoked from network); 14 May 2008 15:41:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2008 15:41:14 -0000 Received: (qmail 96688 invoked by uid 500); 14 May 2008 15:41:15 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 96671 invoked by uid 500); 14 May 2008 15:41:15 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 96660 invoked by uid 99); 14 May 2008 15:41:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 08:41:15 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 15:40:29 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id C4D05D2EC for ; Wed, 14 May 2008 15:40:50 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@harmony.apache.org Date: Wed, 14 May 2008 15:40:50 -0000 Message-ID: <20080514154050.5731.27222@eos.apache.org> Subject: [Harmony Wiki] Update of "JettyScenario" by AlexeiZakharov X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification. The following page has been changed by AlexeiZakharov: http://wiki.apache.org/harmony/JettyScenario The comment on the change is: Brief description of JettyScenario was added New page: [wiki:Self:DRLVMTestTracking Back to Test Tracking] [[Anchor(Summary)]] === Summary === [#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]] [[Anchor(Status)]] === Mission and Status === Jetty scenario is the basic scenario that runs Jetty on top of Harmony. It starts Jetty, tries to access (via HTTP) several pages from standard Jetty's test application and then compares retrieved content with golden files. [#Summary Back to Summary] [[Anchor(HowTo)]] === How to run Jetty scenario === [[Anchor(Configuration)]] ==== 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= -Dhttp.proxyPort=" }}} Linux: {{{ export ANT_OPTS="-Dhttp.proxyHost= -Dhttp.proxyPort=" }}} 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'' [#Summary Back to Summary] [[Anchor(Setup)]] ==== 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. [#Summary Back to Summary] [[Anchor(Run)]] ==== 3. Run ==== {{{ $ cd buildtest/infra $ ant -Dtest.suites=JettyScenario run }}} [#Summary Back to Summary] [[Anchor(Results)]] ==== 4. Results ==== Results summary can be found at buildtest/infra/build/results/JettyScenario/ [#Summary Back to Summary] [[Anchor(EOF)]] [wiki:Self:DRLVMTestTracking Back to Test Tracking]