The HTML-formatted output is provided as human-readable pages (these pages are subject to change in future releases of the harness), enabling users to remotely monitor batch mode test runs in a web browser and stop test runs that are not executing as expected. The following topics describe the HTML formatted output:
> jtharness -startHttp -runTests
[options]
See About the Command-Line Examples for a description of the use of > jtharness.
Example:
JT Harness HTTPd - Success, active on port 1903
JT Harness HTTPd server available at http://129.145.162.75:1903/
Example:
http://129.145.162.75:1903/
The root of the web server provides an index page that only lists the handlers
registered with the internal web server; not all available URLs on the server.
You can also display the HTTP Server Index page by including
/index.html
at the end of the URL in the browser URL field.
Example:
http://129.145.162.75:1903/index.html
Each harness has its own handler, identified by a unique number as the second component of the URL.
When the harness is running tests, the harness page displays the following information:
In addition to the list of registered handlers, the page also prints the UTC/GMT date on which that page was generated (subject to the system clock on the machine which harness is running) and provides the harness version number and build date.
You can display the HTTP Server Harness page by choosing its link on the index
page or by including
/harness
at the end of the URL in the browser URL field.
Example:
http://129.145.162.75:1903/harness
The Test Result Index page displays the following information:
The total number of tests is also a link to view the current test results. The test results are displayed in a two-column table, by test name and status message.
You can display the Test Result Index page by choosing its link on the harness page.
The Harness Environment page displays the environment information provided to the harness and used in the current test run. The environment information is displayed in an HTML table and provides a view of the current settings.
You can display the Harness Environment page by choosing its link on the harness
page or by including
/harness/env
at the end of the URL in the browser URL field.
Example:
http://129.145.162.75:1903/harness/env
The Harness Interview page displays the configuration interview provided to the harness and used in the current test run.
You can display the Harness Interview page by choosing its link on the harness
page or by including
/harness/interview
at the end of the URL in the browser URL field.
Example:
http://129.145.162.75:1903/harness/interview
If you want to remotely terminate a test run, include
/harness/stop
at the end of the URL in the browser URL field.
Example:
http://129.145.162.75:1903/harness/stop
To stop the test run, you must click the STOP button on the page displayed in the browser.
Copyright © 2003, 2010, Oracle and/or its affiliates. All rights reserved.