forked from jlavallee/JMeter-Rabbit-AMQP
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathrabbitmq-amqp-test.jmx
205 lines (205 loc) · 11.7 KB
/
rabbitmq-amqp-test.jmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.2">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="AMQP Test Plan" enabled="true">
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true">
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<stringProp name="LoopController.loops">100</stringProp>
<boolProp name="LoopController.continue_forever">false</boolProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">10</stringProp>
<stringProp name="ThreadGroup.ramp_time">10</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
<boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
<boolProp name="ThreadGroup.delayedStart">false</boolProp>
</ThreadGroup>
<hashTree>
<RandomVariableConfig guiclass="TestBeanGUI" testclass="RandomVariableConfig" testname="Reply-To Queue Name" enabled="true">
<stringProp name="maximumValue">999999999</stringProp>
<stringProp name="minimumValue">1</stringProp>
<stringProp name="outputFormat">000000000</stringProp>
<boolProp name="perThread">false</boolProp>
<stringProp name="randomSeed"></stringProp>
<stringProp name="variableName">replyToQueue</stringProp>
</RandomVariableConfig>
<hashTree/>
<RandomVariableConfig guiclass="TestBeanGUI" testclass="RandomVariableConfig" testname="Unique ID" enabled="true">
<stringProp name="variableName">uniqueId</stringProp>
<stringProp name="outputFormat">0000000</stringProp>
<stringProp name="minimumValue">1</stringProp>
<stringProp name="maximumValue">9999999</stringProp>
<stringProp name="randomSeed">3499272</stringProp>
<boolProp name="perThread">false</boolProp>
</RandomVariableConfig>
<hashTree/>
<com.zeroclue.jmeter.protocol.amqp.AMQPPublisher guiclass="com.zeroclue.jmeter.protocol.amqp.gui.AMQPPublisherGui" testclass="com.zeroclue.jmeter.protocol.amqp.AMQPPublisher" testname="AMQP Publisher" enabled="true">
<stringProp name="AMQPSampler.Exchange">jmeterExchange</stringProp>
<stringProp name="AMQPSampler.ExchangeType">direct</stringProp>
<boolProp name="AMQPSampler.ExchangeDurable">true</boolProp>
<boolProp name="AMQPSampler.ExchangeRedeclare">false</boolProp>
<boolProp name="AMQPSampler.ExchangeAutoDelete">false</boolProp>
<stringProp name="AMQPSampler.Queue">jmeterQueue</stringProp>
<stringProp name="AMQPSampler.RoutingKey">jmeterRoutingKey</stringProp>
<stringProp name="AMQPSampler.MessageTTL"></stringProp>
<stringProp name="AMQPSampler.MessageExpires"></stringProp>
<stringProp name="AMQPSampler.MaxPriority"></stringProp>
<stringProp name="AMQPSampler.QueueDurable">true</stringProp>
<boolProp name="AMQPSampler.Redeclare">false</boolProp>
<stringProp name="AMQPSampler.QueueAutoDelete">false</stringProp>
<stringProp name="AMQPSampler.QueueExclusive">false</stringProp>
<stringProp name="AMQPSampler.VirtualHost">/</stringProp>
<stringProp name="AMQPSampler.Host">localhost</stringProp>
<stringProp name="AMQPSampler.Port">5672</stringProp>
<stringProp name="AMQPSampler.Username">guest</stringProp>
<stringProp name="AMQPSampler.Password">guest</stringProp>
<stringProp name="AMQPSampler.Timeout">1000</stringProp>
<stringProp name="AMQPSampler.Heartbeat">60</stringProp>
<stringProp name="AMQPSampler.SSL">false</stringProp>
<stringProp name="AMQPSampler.Iterations">1</stringProp>
<boolProp name="AMQPPublisher.Persistent">false</boolProp>
<boolProp name="AMQPPublisher.UseTx">false</boolProp>
<stringProp name="AMQPPublisher.MessageRoutingKey">jmeterRoutingKey</stringProp>
<stringProp name="AMQPPublisher.Message">{
"jmeterMessageText": ${__UUID}
}</stringProp>
<stringProp name="AMQPPublisher.MessageType">jmeterMessageRequest</stringProp>
<stringProp name="AMQPPublisher.ReplyToQueue">jmeter_${__threadNum}_${replyToQueue}</stringProp>
<stringProp name="AMQPPublisher.CorrelationId">${uniqueId}</stringProp>
<stringProp name="AMQPPublisher.MessagePriority"></stringProp>
<stringProp name="AMQPPublisher.ContentType">application/json</stringProp>
<stringProp name="AMQPPublisher.ContentEncoding">utf-8</stringProp>
<stringProp name="AMQPPublisher.MessageId"></stringProp>
<stringProp name="AMQPPublisher.AppId"></stringProp>
<boolProp name="AMQPPublisher.Timestamp">true</boolProp>
<elementProp name="AMQPPublisher.Headers" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<collectionProp name="Arguments.arguments">
<elementProp name="cc" elementType="Argument">
<stringProp name="Argument.name">cc</stringProp>
<stringProp name="Argument.value">{"0":"foo","1":"bar"}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
</elementProp>
</collectionProp>
</elementProp>
</com.zeroclue.jmeter.protocol.amqp.AMQPPublisher>
<hashTree/>
<com.zeroclue.jmeter.protocol.amqp.AMQPConsumer guiclass="com.zeroclue.jmeter.protocol.amqp.gui.AMQPConsumerGui" testclass="com.zeroclue.jmeter.protocol.amqp.AMQPConsumer" testname="AMQP Consumer" enabled="true">
<stringProp name="AMQPSampler.Exchange">jmeterExchange</stringProp>
<stringProp name="AMQPSampler.ExchangeType">direct</stringProp>
<boolProp name="AMQPSampler.ExchangeDurable">true</boolProp>
<boolProp name="AMQPSampler.ExchangeRedeclare">false</boolProp>
<boolProp name="AMQPSampler.ExchangeAutoDelete">false</boolProp>
<stringProp name="AMQPSampler.Queue">jmeterQueue</stringProp>
<stringProp name="AMQPSampler.RoutingKey">jmeterRoutingKey</stringProp>
<stringProp name="AMQPSampler.MessageTTL"></stringProp>
<stringProp name="AMQPSampler.MessageExpires"></stringProp>
<stringProp name="AMQPSampler.MaxPriority"></stringProp>
<stringProp name="AMQPSampler.QueueDurable">true</stringProp>
<boolProp name="AMQPSampler.Redeclare">false</boolProp>
<stringProp name="AMQPSampler.QueueAutoDelete">false</stringProp>
<stringProp name="AMQPSampler.QueueExclusive">false</stringProp>
<stringProp name="AMQPSampler.VirtualHost">/</stringProp>
<stringProp name="AMQPSampler.Host">localhost</stringProp>
<stringProp name="AMQPSampler.Port">5672</stringProp>
<stringProp name="AMQPSampler.Username">guest</stringProp>
<stringProp name="AMQPSampler.Password">guest</stringProp>
<stringProp name="AMQPSampler.Timeout">1000</stringProp>
<stringProp name="AMQPSampler.Heartbeat">60</stringProp>
<stringProp name="AMQPSampler.SSL">false</stringProp>
<stringProp name="AMQPSampler.Iterations">1</stringProp>
<boolProp name="AMQPConsumer.ReadResponse">true</boolProp>
<stringProp name="AMQPConsumer.PrefetchCount">0</stringProp>
<stringProp name="AMQPConsumer.ReceiveTimeout">10000</stringProp>
<stringProp name="AMQPConsumer.PurgeQueue">false</stringProp>
<stringProp name="AMQPConsumer.AutoAck">true</stringProp>
<boolProp name="AMQPConsumer.UseTx">false</boolProp>
</com.zeroclue.jmeter.protocol.amqp.AMQPConsumer>
<hashTree/>
</hashTree>
<ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<url>true</url>
<threadCounts>true</threadCounts>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename"></stringProp>
</ResultCollector>
<hashTree/>
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
<boolProp name="ResultCollector.error_logging">false</boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>false</xml>
<fieldNames>true</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
<sentBytes>true</sentBytes>
<url>true</url>
<threadCounts>true</threadCounts>
<idleTime>true</idleTime>
<connectTime>true</connectTime>
</value>
</objProp>
<stringProp name="filename"></stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
</hashTree>
</jmeterTestPlan>