Using the Batch Project Executor
The Batch Project Executor enables you to use the functionality of the EIP Testing project type from a command line tool. This section discusses the Batch Project Executor tool, including its:
-
Usage.
-
Syntax.
-
Parameters.
Usage
The standard usage of the Batch Project Executor command line tool is:
BatchProjectExecutor [-options]
Syntax
The syntax for executing a batch project is:
BatchProjectExecutor -in "C:\temp\input" -out
"C:\temp\output" -url "http://localhost/PSIGW
/PeopleSoftListeningConnector" -result "C:\temp
\output\result.txt"
Parameters
The following table describes the parameters you can pass to the Batch Project Executor.
| Parameter | Description |
|---|---|
|
-in |
Certification directory that contains the raw request files. |
|
-out |
Output directory to store all of the response files. |
|
-url |
Server URL to send all of the requests to during processing. |
|
-result |
Name of the file that will contain the results during batch execution. The contents of this file will be represented as XML. |
|
-ow |
(Optional.) Overwrite files if they already exist. |
|
-cd |
(Optional.) Create the output directory if not found. |
|
-rn |
(Optional.) Override the requesting node found in the IBInfo section. |
|
-dn |
(Optional.) Override the destination node found in the IBInfo section. |
|
-? -help |
(Optional.) Show the Help menu. |
Sample Output
The following example shows successful output:
<?xml version="1.0"?>
<success>
<request elapse="1.953 (s)" end="02:33:55.177" filename=
"20030519T130405.request" id="" start="02:33:53.224"
success="true"/><request elapse="0.201 (s)" end="02:33:55.408"
filename="20030519T150417.request" id="" start="02:33:55.207"
success="true"/>
<request elapse="0.220 (s)" end="02:33:55.638" filename="20030520T150406.
request" id="" start="02:33:55.418" success="true"/>
<request elapse="0.190 (s)" end="02:33:55.828" filename=
"20030519T150406.request" id="" start="02:33:55.638" success="false">
<![CDATA[Error communicating with server: Connection refused: connect]]>
</request>
</success>
The following example shows a failure:
<?xml version="1.0"?>
<failure>
<![CDATA[Error while initializing: Invalid output directory:
C:\temp\output]]>