Showing
1 changed file
with
122 additions
and
5 deletions
@@ -101,7 +101,7 @@ | @@ -101,7 +101,7 @@ | ||
101 | <stringProp name="shareMode">shareMode.all</stringProp> | 101 | <stringProp name="shareMode">shareMode.all</stringProp> |
102 | </CSVDataSet> | 102 | </CSVDataSet> |
103 | <hashTree/> | 103 | <hashTree/> |
104 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_搜索列表" enabled="true"> | 104 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_店铺" enabled="true"> |
105 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 105 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
106 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 106 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
107 | <boolProp name="LoopController.continue_forever">false</boolProp> | 107 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -127,7 +127,7 @@ | @@ -127,7 +127,7 @@ | ||
127 | <stringProp name="HTTPSampler.port"></stringProp> | 127 | <stringProp name="HTTPSampler.port"></stringProp> |
128 | <stringProp name="HTTPSampler.protocol"></stringProp> | 128 | <stringProp name="HTTPSampler.protocol"></stringProp> |
129 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 129 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
130 | - <stringProp name="HTTPSampler.path">http://${HOST_SEARCH}/signin.html</stringProp> | 130 | + <stringProp name="HTTPSampler.path">http://${HOST_API}/signin.html</stringProp> |
131 | <stringProp name="HTTPSampler.method">GET</stringProp> | 131 | <stringProp name="HTTPSampler.method">GET</stringProp> |
132 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 132 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
133 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 133 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -161,7 +161,7 @@ | @@ -161,7 +161,7 @@ | ||
161 | <stringProp name="HTTPSampler.port"></stringProp> | 161 | <stringProp name="HTTPSampler.port"></stringProp> |
162 | <stringProp name="HTTPSampler.protocol"></stringProp> | 162 | <stringProp name="HTTPSampler.protocol"></stringProp> |
163 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 163 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
164 | - <stringProp name="HTTPSampler.path">http://${HOST_SEARCH}/passport/login/auth</stringProp> | 164 | + <stringProp name="HTTPSampler.path">http://${HOST_API}/passport/login/auth</stringProp> |
165 | <stringProp name="HTTPSampler.method">POST</stringProp> | 165 | <stringProp name="HTTPSampler.method">POST</stringProp> |
166 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 166 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
167 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 167 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -187,7 +187,7 @@ | @@ -187,7 +187,7 @@ | ||
187 | <boolProp name="TransactionController.parent">false</boolProp> | 187 | <boolProp name="TransactionController.parent">false</boolProp> |
188 | </TransactionController> | 188 | </TransactionController> |
189 | <hashTree> | 189 | <hashTree> |
190 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_搜索列表" enabled="true"> | 190 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_店铺" enabled="true"> |
191 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 191 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
192 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 192 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
193 | <collectionProp name="Arguments.arguments"> | 193 | <collectionProp name="Arguments.arguments"> |
@@ -204,7 +204,7 @@ | @@ -204,7 +204,7 @@ | ||
204 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 204 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
205 | <stringProp name="HTTPSampler.protocol"></stringProp> | 205 | <stringProp name="HTTPSampler.protocol"></stringProp> |
206 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 206 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
207 | - <stringProp name="HTTPSampler.path">http://${HOST_SEARCH}/?query=adidas Originals</stringProp> | 207 | + <stringProp name="HTTPSampler.path">http://${HOST_API}/?shopId=2322</stringProp> |
208 | <stringProp name="HTTPSampler.method">GET</stringProp> | 208 | <stringProp name="HTTPSampler.method">GET</stringProp> |
209 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 209 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
210 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 210 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -220,6 +220,123 @@ | @@ -220,6 +220,123 @@ | ||
220 | <intProp name="InterleaveControl.style">1</intProp> | 220 | <intProp name="InterleaveControl.style">1</intProp> |
221 | </RandomController> | 221 | </RandomController> |
222 | <hashTree> | 222 | <hashTree> |
223 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_1" enabled="true"> | ||
224 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
225 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
226 | + <collectionProp name="Arguments.arguments"> | ||
227 | + <elementProp name="" elementType="HTTPArgument"> | ||
228 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
229 | + <stringProp name="Argument.value"></stringProp> | ||
230 | + <stringProp name="Argument.metadata">=</stringProp> | ||
231 | + </elementProp> | ||
232 | + </collectionProp> | ||
233 | + </elementProp> | ||
234 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
235 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
236 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
237 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
238 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
239 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
240 | + <stringProp name="HTTPSampler.path">http://${HOST_API}/product/index/isFavoriteShop</stringProp> | ||
241 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
242 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
243 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
244 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
245 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
246 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
247 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
248 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
249 | + </HTTPSamplerProxy> | ||
250 | + <hashTree> | ||
251 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
252 | + <collectionProp name="Asserion.test_strings"> | ||
253 | + <stringProp name="1450572480"></stringProp> | ||
254 | + </collectionProp> | ||
255 | + <stringProp name="TestPlan.comments"></stringProp> | ||
256 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
257 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
258 | + <intProp name="Assertion.test_type">16</intProp> | ||
259 | + </ResponseAssertion> | ||
260 | + <hashTree/> | ||
261 | + </hashTree> | ||
262 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_2" enabled="true"> | ||
263 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
264 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
265 | + <collectionProp name="Arguments.arguments"> | ||
266 | + <elementProp name="" elementType="HTTPArgument"> | ||
267 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
268 | + <stringProp name="Argument.value"></stringProp> | ||
269 | + <stringProp name="Argument.metadata">=</stringProp> | ||
270 | + </elementProp> | ||
271 | + </collectionProp> | ||
272 | + </elementProp> | ||
273 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
274 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
275 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
276 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
277 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
278 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
279 | + <stringProp name="HTTPSampler.path">http://${HOST_API}/product/index/getAdnav</stringProp> | ||
280 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
281 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
282 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
283 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
284 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
285 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
286 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
287 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
288 | + </HTTPSamplerProxy> | ||
289 | + <hashTree> | ||
290 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
291 | + <collectionProp name="Asserion.test_strings"> | ||
292 | + <stringProp name="1450572480"></stringProp> | ||
293 | + </collectionProp> | ||
294 | + <stringProp name="TestPlan.comments"></stringProp> | ||
295 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
296 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
297 | + <intProp name="Assertion.test_type">16</intProp> | ||
298 | + </ResponseAssertion> | ||
299 | + <hashTree/> | ||
300 | + </hashTree> | ||
301 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_3" enabled="true"> | ||
302 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
303 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
304 | + <collectionProp name="Arguments.arguments"> | ||
305 | + <elementProp name="" elementType="HTTPArgument"> | ||
306 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
307 | + <stringProp name="Argument.value"></stringProp> | ||
308 | + <stringProp name="Argument.metadata">=</stringProp> | ||
309 | + </elementProp> | ||
310 | + </collectionProp> | ||
311 | + </elementProp> | ||
312 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
313 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
314 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
315 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
316 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
317 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
318 | + <stringProp name="HTTPSampler.path">http://${HOST_API}/product/shop/article?brands=364%2C102%2C1025%2C479</stringProp> | ||
319 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
320 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
321 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
322 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
323 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
324 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
325 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
326 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
327 | + </HTTPSamplerProxy> | ||
328 | + <hashTree> | ||
329 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
330 | + <collectionProp name="Asserion.test_strings"> | ||
331 | + <stringProp name="1450572480"></stringProp> | ||
332 | + </collectionProp> | ||
333 | + <stringProp name="TestPlan.comments"></stringProp> | ||
334 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
335 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
336 | + <intProp name="Assertion.test_type">16</intProp> | ||
337 | + </ResponseAssertion> | ||
338 | + <hashTree/> | ||
339 | + </hashTree> | ||
223 | </hashTree> | 340 | </hashTree> |
224 | </hashTree> | 341 | </hashTree> |
225 | <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | 342 | <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> |
-
Please register or login to post a comment