Skip to content
Permalink
Newer
Older
100644 322 lines (322 sloc) 18.4 KB
1
<?xml version="1.0" encoding="UTF-8"?>
2
<jmeterTestPlan version="1.2" properties="2.1">
3
<hashTree>
4
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Test Plan" enabled="true">
5
<boolProp name="TestPlan.functional_mode">false</boolProp>
6
<stringProp name="TestPlan.comments"></stringProp>
7
<elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
8
<collectionProp name="Arguments.arguments"/>
9
</elementProp>
10
<boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
11
<stringProp name="TestPlan.user_define_classpath"></stringProp>
12
</TestPlan>
13
<hashTree>
14
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="ForEach Controller" enabled="true">
15
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
16
<boolProp name="ThreadGroup.scheduler">false</boolProp>
17
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
18
<longProp name="ThreadGroup.start_time">1076438592000</longProp>
19
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
20
<boolProp name="LoopController.continue_forever">false</boolProp>
21
<stringProp name="LoopController.loops">2</stringProp>
22
</elementProp>
23
<stringProp name="ThreadGroup.num_threads">1</stringProp>
24
<stringProp name="ThreadGroup.delay"></stringProp>
25
<stringProp name="ThreadGroup.duration"></stringProp>
26
<longProp name="ThreadGroup.end_time">1076438592000</longProp>
27
</ThreadGroup>
28
<hashTree>
29
<JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Sample 1" enabled="true">
30
<elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
31
<collectionProp name="Arguments.arguments">
32
<elementProp name="Sleep_Time" elementType="Argument">
33
<stringProp name="Argument.name">Sleep_Time</stringProp>
34
<stringProp name="Argument.value">100</stringProp>
35
<stringProp name="Argument.metadata">=</stringProp>
36
</elementProp>
37
<elementProp name="Sleep_Mask" elementType="Argument">
38
<stringProp name="Argument.name">Sleep_Mask</stringProp>
39
<stringProp name="Argument.value">0xFF</stringProp>
40
<stringProp name="Argument.metadata">=</stringProp>
41
</elementProp>
42
<elementProp name="Label" elementType="Argument">
43
<stringProp name="Argument.name">Label</stringProp>
44
<stringProp name="Argument.value">Sample 1</stringProp>
45
<stringProp name="Argument.metadata">=</stringProp>
46
</elementProp>
47
<elementProp name="ResponseCode" elementType="Argument">
48
<stringProp name="Argument.name">ResponseCode</stringProp>
49
<stringProp name="Argument.value">200</stringProp>
50
<stringProp name="Argument.metadata">=</stringProp>
51
</elementProp>
52
<elementProp name="ResponseMessage" elementType="Argument">
53
<stringProp name="Argument.name">ResponseMessage</stringProp>
54
<stringProp name="Argument.value"></stringProp>
55
<stringProp name="Argument.metadata">=</stringProp>
56
</elementProp>
57
<elementProp name="Status" elementType="Argument">
58
<stringProp name="Argument.name">Status</stringProp>
59
<stringProp name="Argument.value">OK</stringProp>
60
<stringProp name="Argument.metadata">=</stringProp>
61
</elementProp>
62
<elementProp name="SamplerData" elementType="Argument">
63
<stringProp name="Argument.name">SamplerData</stringProp>
64
<stringProp name="Argument.value"></stringProp>
65
<stringProp name="Argument.metadata">=</stringProp>
66
</elementProp>
67
<elementProp name="ResultData" elementType="Argument">
68
<stringProp name="Argument.name">ResultData</stringProp>
69
<stringProp name="Argument.value">a b c d</stringProp>
70
<stringProp name="Argument.metadata">=</stringProp>
71
</elementProp>
72
</collectionProp>
73
</elementProp>
74
<stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest</stringProp>
75
</JavaSampler>
76
<hashTree>
77
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regex 1" enabled="true">
78
<stringProp name="RegexExtractor.regex">(\w)\s</stringProp>
79
<stringProp name="RegexExtractor.refname">inputVar</stringProp>
80
<stringProp name="RegexExtractor.match_number">-1</stringProp>
81
<stringProp name="RegexExtractor.default">fout</stringProp>
82
<stringProp name="RegexExtractor.template">$1$</stringProp>
83
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
84
</RegexExtractor>
85
<hashTree/>
86
</hashTree>
87
<ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach 1" enabled="true">
88
<stringProp name="ForeachController.returnVal">returnVar</stringProp>
89
<stringProp name="ForeachController.inputVal">inputVar</stringProp>
90
<boolProp name="ForeachController.useSeparator">true</boolProp>
91
</ForeachController>
92
<hashTree>
93
<JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="For 1" enabled="true">
94
<elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
95
<collectionProp name="Arguments.arguments">
96
<elementProp name="Sleep_Time" elementType="Argument">
97
<stringProp name="Argument.name">Sleep_Time</stringProp>
98
<stringProp name="Argument.value">100</stringProp>
99
<stringProp name="Argument.metadata">=</stringProp>
100
</elementProp>
101
<elementProp name="Sleep_Mask" elementType="Argument">
102
<stringProp name="Argument.name">Sleep_Mask</stringProp>
103
<stringProp name="Argument.value">0xFF</stringProp>
104
<stringProp name="Argument.metadata">=</stringProp>
105
</elementProp>
106
<elementProp name="Label" elementType="Argument">
107
<stringProp name="Argument.name">Label</stringProp>
108
<stringProp name="Argument.value">For 1 ${returnVar}</stringProp>
109
<stringProp name="Argument.metadata">=</stringProp>
110
</elementProp>
111
<elementProp name="ResponseCode" elementType="Argument">
112
<stringProp name="Argument.name">ResponseCode</stringProp>
113
<stringProp name="Argument.value">200</stringProp>
114
<stringProp name="Argument.metadata">=</stringProp>
115
</elementProp>
116
<elementProp name="ResponseMessage" elementType="Argument">
117
<stringProp name="Argument.name">ResponseMessage</stringProp>
118
<stringProp name="Argument.value"></stringProp>
119
<stringProp name="Argument.metadata">=</stringProp>
120
</elementProp>
121
<elementProp name="Status" elementType="Argument">
122
<stringProp name="Argument.name">Status</stringProp>
123
<stringProp name="Argument.value">OK</stringProp>
124
<stringProp name="Argument.metadata">=</stringProp>
125
</elementProp>
126
<elementProp name="SamplerData" elementType="Argument">
127
<stringProp name="Argument.name">SamplerData</stringProp>
128
<stringProp name="Argument.value">${returnVar1}</stringProp>
129
<stringProp name="Argument.metadata">=</stringProp>
130
</elementProp>
131
<elementProp name="ResultData" elementType="Argument">
132
<stringProp name="Argument.name">ResultData</stringProp>
133
<stringProp name="Argument.value"></stringProp>
134
<stringProp name="Argument.metadata">=</stringProp>
135
</elementProp>
136
</collectionProp>
137
</elementProp>
138
<stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest</stringProp>
139
</JavaSampler>
140
<hashTree/>
141
</hashTree>
142
<JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="Sample 2" enabled="true">
143
<elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
144
<collectionProp name="Arguments.arguments">
145
<elementProp name="Sleep_Time" elementType="Argument">
146
<stringProp name="Argument.name">Sleep_Time</stringProp>
147
<stringProp name="Argument.value">100</stringProp>
148
<stringProp name="Argument.metadata">=</stringProp>
149
</elementProp>
150
<elementProp name="Sleep_Mask" elementType="Argument">
151
<stringProp name="Argument.name">Sleep_Mask</stringProp>
152
<stringProp name="Argument.value">0xFF</stringProp>
153
<stringProp name="Argument.metadata">=</stringProp>
154
</elementProp>
155
<elementProp name="Label" elementType="Argument">
156
<stringProp name="Argument.name">Label</stringProp>
157
<stringProp name="Argument.value">Sample 2</stringProp>
158
<stringProp name="Argument.metadata">=</stringProp>
159
</elementProp>
160
<elementProp name="ResponseCode" elementType="Argument">
161
<stringProp name="Argument.name">ResponseCode</stringProp>
162
<stringProp name="Argument.value">200</stringProp>
163
<stringProp name="Argument.metadata">=</stringProp>
164
</elementProp>
165
<elementProp name="ResponseMessage" elementType="Argument">
166
<stringProp name="Argument.name">ResponseMessage</stringProp>
167
<stringProp name="Argument.value"></stringProp>
168
<stringProp name="Argument.metadata">=</stringProp>
169
</elementProp>
170
<elementProp name="Status" elementType="Argument">
171
<stringProp name="Argument.name">Status</stringProp>
172
<stringProp name="Argument.value">OK</stringProp>
173
<stringProp name="Argument.metadata">=</stringProp>
174
</elementProp>
175
<elementProp name="SamplerData" elementType="Argument">
176
<stringProp name="Argument.name">SamplerData</stringProp>
177
<stringProp name="Argument.value"></stringProp>
178
<stringProp name="Argument.metadata">=</stringProp>
179
</elementProp>
180
<elementProp name="ResultData" elementType="Argument">
181
<stringProp name="Argument.name">ResultData</stringProp>
182
<stringProp name="Argument.value">a b c d</stringProp>
183
<stringProp name="Argument.metadata">=</stringProp>
184
</elementProp>
185
</collectionProp>
186
</elementProp>
187
<stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest</stringProp>
188
</JavaSampler>
189
<hashTree>
190
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regex 2" enabled="true">
191
<stringProp name="RegexExtractor.regex">(\w)\sx</stringProp>
192
<stringProp name="RegexExtractor.refname">inputVar</stringProp>
193
<stringProp name="RegexExtractor.match_number">-1</stringProp>
194
<stringProp name="RegexExtractor.default">fout</stringProp>
195
<stringProp name="RegexExtractor.template">$1$</stringProp>
196
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
197
</RegexExtractor>
198
<hashTree/>
199
</hashTree>
200
<ForeachController guiclass="ForeachControlPanel" testclass="ForeachController" testname="ForEach 2" enabled="true">
201
<stringProp name="ForeachController.returnVal">returnVar</stringProp>
202
<stringProp name="ForeachController.inputVal">inputVar</stringProp>
203
<boolProp name="ForeachController.useSeparator">true</boolProp>
204
</ForeachController>
205
<hashTree>
206
<JavaSampler guiclass="JavaTestSamplerGui" testclass="JavaSampler" testname="For 2" enabled="true">
207
<elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
208
<collectionProp name="Arguments.arguments">
209
<elementProp name="Sleep_Time" elementType="Argument">
210
<stringProp name="Argument.name">Sleep_Time</stringProp>
211
<stringProp name="Argument.value">100</stringProp>
212
<stringProp name="Argument.metadata">=</stringProp>
213
</elementProp>
214
<elementProp name="Sleep_Mask" elementType="Argument">
215
<stringProp name="Argument.name">Sleep_Mask</stringProp>
216
<stringProp name="Argument.value">0xFF</stringProp>
217
<stringProp name="Argument.metadata">=</stringProp>
218
</elementProp>
219
<elementProp name="Label" elementType="Argument">
220
<stringProp name="Argument.name">Label</stringProp>
221
<stringProp name="Argument.value">For 2 ${returnVar}</stringProp>
222
<stringProp name="Argument.metadata">=</stringProp>
223
</elementProp>
224
<elementProp name="ResponseCode" elementType="Argument">
225
<stringProp name="Argument.name">ResponseCode</stringProp>
226
<stringProp name="Argument.value">200</stringProp>
227
<stringProp name="Argument.metadata">=</stringProp>
228
</elementProp>
229
<elementProp name="ResponseMessage" elementType="Argument">
230
<stringProp name="Argument.name">ResponseMessage</stringProp>
231
<stringProp name="Argument.value"></stringProp>
232
<stringProp name="Argument.metadata">=</stringProp>
233
</elementProp>
234
<elementProp name="Status" elementType="Argument">
235
<stringProp name="Argument.name">Status</stringProp>
236
<stringProp name="Argument.value">OK</stringProp>
237
<stringProp name="Argument.metadata">=</stringProp>
238
</elementProp>
239
<elementProp name="SamplerData" elementType="Argument">
240
<stringProp name="Argument.name">SamplerData</stringProp>
241
<stringProp name="Argument.value">${returnVar}</stringProp>
242
<stringProp name="Argument.metadata">=</stringProp>
243
</elementProp>
244
<elementProp name="ResultData" elementType="Argument">
245
<stringProp name="Argument.name">ResultData</stringProp>
246
<stringProp name="Argument.value"></stringProp>
247
<stringProp name="Argument.metadata">=</stringProp>
248
</elementProp>
249
</collectionProp>
250
</elementProp>
251
<stringProp name="classname">org.apache.jmeter.protocol.java.test.JavaTest</stringProp>
252
</JavaSampler>
253
<hashTree/>
254
</hashTree>
255
<ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
256
<boolProp name="ResultCollector.error_logging">false</boolProp>
257
<objProp>
258
<name>saveConfig</name>
259
<value class="SampleSaveConfiguration">
260
<time>true</time>
261
<latency>true</latency>
262
<timestamp>true</timestamp>
263
<success>true</success>
264
<label>true</label>
265
<code>true</code>
266
<message>true</message>
267
<threadName>true</threadName>
268
<dataType>true</dataType>
269
<encoding>false</encoding>
270
<assertions>true</assertions>
271
<subresults>true</subresults>
272
<responseData>false</responseData>
273
<samplerData>false</samplerData>
274
<xml>true</xml>
275
<fieldNames>false</fieldNames>
276
<responseHeaders>false</responseHeaders>
277
<requestHeaders>false</requestHeaders>
278
<responseDataOnError>false</responseDataOnError>
279
<saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
280
<assertionsResultsToSave>0</assertionsResultsToSave>
281
<bytes>true</bytes>
282
</value>
283
</objProp>
284
<stringProp name="filename"></stringProp>
285
</ResultCollector>
286
<hashTree/>
287
<ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
288
<boolProp name="ResultCollector.error_logging">false</boolProp>
289
<objProp>
290
<name>saveConfig</name>
291
<value class="SampleSaveConfiguration">
292
<time>true</time>
293
<latency>true</latency>
294
<timestamp>true</timestamp>
295
<success>true</success>
296
<label>true</label>
297
<code>true</code>
298
<message>true</message>
299
<threadName>true</threadName>
300
<dataType>true</dataType>
301
<encoding>false</encoding>
302
<assertions>true</assertions>
303
<subresults>true</subresults>
304
<responseData>false</responseData>
305
<samplerData>false</samplerData>
306
<xml>true</xml>
307
<fieldNames>false</fieldNames>
308
<responseHeaders>false</responseHeaders>
309
<requestHeaders>false</requestHeaders>
310
<responseDataOnError>false</responseDataOnError>
311
<saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
312
<assertionsResultsToSave>0</assertionsResultsToSave>
313
<bytes>true</bytes>
314
</value>
315
</objProp>
316
<stringProp name="filename"></stringProp>
317
</ResultCollector>
318
<hashTree/>
319
</hashTree>
320
</hashTree>
321
</hashTree>
322
</jmeterTestPlan>
You can’t perform that action at this time.