Showing
1 changed file
with
43 additions
and
4 deletions
@@ -235,7 +235,7 @@ | @@ -235,7 +235,7 @@ | ||
235 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 235 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
236 | <stringProp name="HTTPSampler.protocol"></stringProp> | 236 | <stringProp name="HTTPSampler.protocol"></stringProp> |
237 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 237 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
238 | - <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/51333418.html</stringProp> | 238 | + <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/${product_skn}.html</stringProp> |
239 | <stringProp name="HTTPSampler.method">GET</stringProp> | 239 | <stringProp name="HTTPSampler.method">GET</stringProp> |
240 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 240 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
241 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 241 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -264,7 +264,7 @@ | @@ -264,7 +264,7 @@ | ||
264 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 264 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
265 | <stringProp name="HTTPSampler.protocol"></stringProp> | 265 | <stringProp name="HTTPSampler.protocol"></stringProp> |
266 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 266 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
267 | - <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/detail/newinfo?id=826676&productSkn=51664336&bundleType=0&from=detail</stringProp> | 267 | + <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/search/filter?shop_id=${product_skn}</stringProp> |
268 | <stringProp name="HTTPSampler.method">GET</stringProp> | 268 | <stringProp name="HTTPSampler.method">GET</stringProp> |
269 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 269 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
270 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 270 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -303,7 +303,7 @@ | @@ -303,7 +303,7 @@ | ||
303 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 303 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
304 | <stringProp name="HTTPSampler.protocol"></stringProp> | 304 | <stringProp name="HTTPSampler.protocol"></stringProp> |
305 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 305 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
306 | - <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/detail/sknData.json?skn=51664336&productId=826676&brandId=2792&shopId=2326&bundleType=0</stringProp> | 306 | + <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/index/shopFav?shopId=${product_skn}</stringProp> |
307 | <stringProp name="HTTPSampler.method">GET</stringProp> | 307 | <stringProp name="HTTPSampler.method">GET</stringProp> |
308 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 308 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
309 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 309 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -342,7 +342,46 @@ | @@ -342,7 +342,46 @@ | ||
342 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 342 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
343 | <stringProp name="HTTPSampler.protocol"></stringProp> | 343 | <stringProp name="HTTPSampler.protocol"></stringProp> |
344 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 344 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
345 | - <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/detail/coupon.json?skn=51664336&brandId=2792</stringProp> | 345 | + <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/search/search?shop_id=${product_skn}&order=0&type=default</stringProp> |
346 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
347 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
348 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
349 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
350 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
351 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
352 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
353 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
354 | + </HTTPSamplerProxy> | ||
355 | + <hashTree> | ||
356 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
357 | + <collectionProp name="Asserion.test_strings"> | ||
358 | + <stringProp name="1450572480"></stringProp> | ||
359 | + </collectionProp> | ||
360 | + <stringProp name="TestPlan.comments"></stringProp> | ||
361 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
362 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
363 | + <intProp name="Assertion.test_type">16</intProp> | ||
364 | + </ResponseAssertion> | ||
365 | + <hashTree/> | ||
366 | + </hashTree> | ||
367 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_4" enabled="true"> | ||
368 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
369 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
370 | + <collectionProp name="Arguments.arguments"> | ||
371 | + <elementProp name="" elementType="HTTPArgument"> | ||
372 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
373 | + <stringProp name="Argument.value"></stringProp> | ||
374 | + <stringProp name="Argument.metadata">=</stringProp> | ||
375 | + </elementProp> | ||
376 | + </collectionProp> | ||
377 | + </elementProp> | ||
378 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
379 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
380 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
381 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
382 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
383 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
384 | + <stringProp name="HTTPSampler.path">http://${HOST_H5}/product/index/getShopCouponsList?shopId=${product_skn}</stringProp> | ||
346 | <stringProp name="HTTPSampler.method">GET</stringProp> | 385 | <stringProp name="HTTPSampler.method">GET</stringProp> |
347 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 386 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
348 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 387 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
-
Please register or login to post a comment