Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Default

Comments

messageSize

0

Message size in bytes. Not including any headers.

destinationName

ping

The root name to use to generate destination names to ping.

persistent

false

Determines whether peristent delivery is used.

transacted

false

Determines whether messages are sent/received in transactions.

broker

tcp://localhost:5672

Determines the broker to connect to.

virtualHost

test

Determines the virtual host to send all ping over.

rate

0

The maximum rate (in hertz) to send messages at. 0 means no limit.

verbose

false

The verbose flag for debugging. Prints to console on every message.

pubsub

false

Whether to ping topics or queues. Uses p2p by default.

failAfterCommit

false

Whether to prompt user to kill broker after a commit batch.

failBeforeCommit

false

Whether to prompt user to kill broker before a commit batch.

failAfterSend

false

Whether to prompt user to kill broker after a send.

failBeforeSend

false

Whether to prompt user to kill broker before a send.

failOnce

true

Whether to prompt for failover only once.

username

guest

The username to access the broker with.

password

guest

The password to access the broker with.

selector

null

Not used. Defines a message selector to filter pings with.

destinationCount

1

The number of destinations to send pings to.

numConsumers

1

The number of consumers on each destination.

timeout

30000

In milliseconds. The timeout to stop waiting for replies.

commitBatchSize

1

The number of messages per transaction in transactional mode.

uniqueDests

true

Whether each receivers only listens to one ping destination or all.

durableDests

false

Whether or not durable destinations are used.

ackMode

AUTO_ACK

Section

The message acknowledgement mode. Possible values are:

No Format
      0 - SESSION_TRANSACTED
      1 - AUTO_ACKNOWLEDGE
      2 - CLIENT_ACKNOWLEDGE
      3 - DUPS_OK_ACKNOWLEDGE
      257 - NO_ACKNOWLEDGE
      258 - PRE_ACKNOWLEDGE

consTransacted

false

Section

Whether or not consumers use transactions. Defaults to the same value
as the 'transacted' option if not seperately defined.

consAckMode

AUTO_ACK

Section

The message acknowledgement mode for consumers. Defaults to the same
value as 'ackMode' if not seperately defined.

maxPending

0

Section

The maximum size in bytes, of messages sent but not yet received.
Limits the volume of messages currently buffered on the client
or broker. Can help scale test clients by limiting amount of buffered
data to avoid out of memory errors.

Test case output

Test cases output data in csv format. The extratThroughputResults.sh script can be used to interpret the data and output the average throughput rate.