Transaction Simulator
The
Transaction Simulator is provided to allow you to test the Transaction
Monitor without configuring your own transactions. The Transaction Simulator
creates, updates and publishes a sequence of JMS or TIBCO Rendezvous messages
according to the definitions provided in the TRANSACTIONS.ini initialization
file.
Starting
the Transaction Simulator
There
are two versions of the Transaction Monitor, one that monitors JMS transactions
and one that monitors TIBCO Rendezvous transactions. To run the Transaction
Simulator with the default settings:
The Transaction
Monitor for JMS:
In
an initialized
command window,
The Transaction Monitor for TIBCO Rendezvous:
In
an initialized
command window,
Configuring the Transaction Simulator
for JMS
The following table lists
command line options for the Transaction Simulator for JMS:
| Parameter |
Description |
Example |
| -jmsclient: |
The client identifier for
the message server connection. |
-jmsclient:client1 |
| -jmsfactory: |
The fully qualified name
of the topic connection factory class to use when creating this connection.
The path to this class must be included in the
RTV_USERPATH environment
variable. Refer to your JMS provider documentation if you do not know the
name of this class. The default is com.tibco.tibjms.TibjmsTopicConnectionFactory. |
-jmsfactory:com.tibco.tibjms.TibjmsTopicConnectionFactory |
| -jmshostname: |
For
IBM WebSphere MQ only. The name of the host to use for this connection. |
-jmshostname:myServer |
| -jmspassword: |
The password
for the message server connection. |
-jmspassword:pass1 |
| -jmsport: |
For IBM WebSphere MQ only. The name of the host to use for this connection. |
-jmshostname:myServer |
|
-jmsqueuemanager: |
For IBM WebSphere MQ only. The name of the queue manager to use for this
connection. |
-jmsqueuemanager:myQueueManager |
| -jmsserver: |
The URL for your message
server. |
-jmsserver:tcp:\\myserver:7222 |
| -jmsuser: |
The user name for the message
server connection. |
-jmsuser:user1 |
Configuring the Transaction Simulator
for TIBCO Rendezvous
The following table lists
command line options for the Transaction Simulator TIBCO Rendezvous:
| Parameter |
Description |
Example |
| -rvservice: |
TIBCO Rendezvous Session
Service. Default is TIBCO Rendezvous service default. |
-rvservice:7475 |
| -rvnetwork: |
TIBCO Rendezvous Session
Network. Default is TIBCO Rendezvous network default (primary network interface
for the host computer). |
"-rvnetwork:;" |
| -rvdaemon: |
TIBCO Rendezvous Session
Daemon. Default is TIBCO Rendezvous daemon default (local daemon on TCP
socket 7500). |
-rvdaemon:7475 |
Understanding the Transaction Simulator
Upon startup, the Transaction
Simulator will load the definitions from TRANSACTIONS.ini from the
current directory. A dialog will appear, showing a pair of slider bars
for each transaction defined, up to the first four transactions. The sliders
allow you to control the rate of transactions produced and the latency
time for the entire transaction to complete. The default values for the
other transactions are:
rate: 60 per minute
latency: 0.5 seconds
For information on modifying
TRANSACTIONS.ini,
see Defining Transactions.
|