Dashboard > PXE > ... > Commandline Tools > bpeltests Command > View

Page Operations


Navigation


PXE Log In   View a printable version of the current page.
bpeltests Command
Added by Paul Brown, last edited by Paul Brown on Apr 04, 2005

The bpeltests command deploys and executes a set of BPEL processes that exercise the capabilities of the engine.

Synopsis

bpeltests [-q] [-v|-vv] [-jmxurl URL] [-pxeurl URL] [filter ... filter]
bpeltests -h

Description

The bpeltests command, a.k.a. the "spexerciser", is a client that runs a set of in-container tests intended to exercise the engine based on requirements from the BPEL specification. The spexerciser requires that the com.fs.jlo.bpel.test.BpelTestServiceProvider service provider is deployed in the target domain and bound to the URI uri:protocoladapter.bpel.unit-test. (The service provider is pre-configured in standalone server created by the pxe command.)

A target domain with JMX is required.
The bpeltests command operates as a remote client for the BpelTestServiceProvider and uses the PXE JMX management APIs to deploy and manage PXE systems in the target domain. Thus, a PXE domain with JMX support (such as the standalone server) must be running before the bpeltests command is run. If not, the command will report an error about not being able to get a connection.

The spexerciser uses the BpelTestServiceProvider to follow a script of pre-fabricated requests and verify that expected responses satisfy XPath expressions. The BPEL processes, test messages, and scripts are located in the $PXE_HOME/examples/spexerciser directory in the PXE distribution. Within each subdirectory, a unit.properties file describes the group of tests.

Options

Option/Argument Effect
filter ... filter zero or more filters on the tests to run. Specifying zero filters means to run all available tests.
-jmxurl url the JMX service URL for the target domain. See the urlalias Command for more information about how to set default values and shortcuts. This defaults to the JMX service URL for the standalone server created by the pxe command.
-pxeurl the PXE connection URL for the target runtime container. This defaults to rmi://127.0.0.1:2099/MyDomain, the PXE connection URL for the standalone server created by the pxe command.
-q run quietly. This will only produce output in the event of an error. Using either -v or -vv overrides this command.
-v|-vv adjust the verbosity of logging output. See Configuring Commandline Launchers.
-h prints a synopsis to the console and exits.


Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators