...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8961678ded9dd54c-414eb888-49f644f9-8a42b737-9dec46bfdbccbddd32d05b85"><ac:plain-text-body><![CDATA[ | -c [10:20:30:40:50] | Runs the test with 10,20,...,50 threads. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="18f2a2db3ae6b90b-57df7e92-43144376-8119b45c-20172ee65b7ffc9f1b5ae02d"><ac:plain-text-body><![CDATA[ | -s [1:100]:samples=10 | Runs the test with ten different size parameters evenly spaced between 1 and 100. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="11e0f46ae7e32bd0-3d4d7fc5-45734283-9c4da492-d8b7d873761efb1e50d89c74"><ac:plain-text-body><![CDATA[ | -s [1:1000000]:samples=10:exp | Runs the test with ten different size parameters exponentially spaced between 1 and 1000000. | ]]></ac:plain-text-body></ac:structured-macro> |
-r 10 | Runs each test ten times. | ||
-d 10H | Runs the test repeatedly for 10 hours. | ||
-d 1M, -r 10 | Runs the test repeatedly for 1 minute but only takes a timing sample every 10 test runs. | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5ce8bf59084b5ac9-f2617f56-43e54f3b-ad088df4-71eb740db02409e90d81c17a"><ac:plain-text-body><![CDATA[ | -r 10, -c [1:5:10:50], -s [100:1000:10000] | Runs 12 test cycles (4 concurrency samples * 3 size sample), with 10 repeats each. In total the test will be run 199 times (3 + 15 + 30 + 150) | ]]></ac:plain-text-body></ac:structured-macro> |
...
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 |
| ||||
consTransacted | false |
| ||||
consAckMode | AUTO_ACK |
| ||||
maxPending | 0 |
|
Added for 0.7
Parameter | Default | Comments |
---|---|---|
numConsumers | <int> | Augmented Allow a value of 0, meaning no consumers. |
consumeOnly | boolean | Disable all message sending. Message counts are used by consumers as validation. |
preFill | int | Message count to preFill the destination with before the test start. |
delayBeforeConsume | int | Delay in ms to wait after the preFill has occured before the test starts. |
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.