5.4 Running a Replay
To run a replay, execute a replay agent in the command line with
the exported replay definition file. TSAM Plus replay agents are
under $TUXDIR/bin/. There are two kinds of agents:
-
tsamreplayagentIt supports
tpcall()/tpacall()/tpgetrply()calls. -
tsamreplaywagentIt supports
tpcall()/tpacall()/tpgetrply()calls in the workstation mode.Before running a replay, make sure the target Tuxedo domain is started up. If TSAM Plus metrics are expected, you must create corresponding policies in TSAM Plus.
Note:
The evaluation unit of throughput, latency, success/fail number is the whole replay definition, not one call in it.
The following table lists the replay agent parameters.
Table 5-3 Replay Agent Parameters
| Parameter | Description |
|---|---|
| -p | Invokes the execution plan file when running a replay. Refer to Execution Plan File. |
| -f | The path of the security profile to be generated. Refer to Replay Security Profile. |