Showing
1 changed file
with
22 additions
and
22 deletions
@@ -216,7 +216,7 @@ | @@ -216,7 +216,7 @@ | ||
216 | <stringProp name="shareMode">shareMode.all</stringProp> | 216 | <stringProp name="shareMode">shareMode.all</stringProp> |
217 | </CSVDataSet> | 217 | </CSVDataSet> |
218 | <hashTree/> | 218 | <hashTree/> |
219 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_shop_folder" enabled="true"> | 219 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_productBanner_data" enabled="true"> |
220 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 220 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
221 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 221 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
222 | <boolProp name="LoopController.continue_forever">false</boolProp> | 222 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -229,10 +229,10 @@ | @@ -229,10 +229,10 @@ | ||
229 | <boolProp name="ThreadGroup.scheduler">false</boolProp> | 229 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
230 | <stringProp name="ThreadGroup.duration"></stringProp> | 230 | <stringProp name="ThreadGroup.duration"></stringProp> |
231 | <stringProp name="ThreadGroup.delay"></stringProp> | 231 | <stringProp name="ThreadGroup.delay"></stringProp> |
232 | - <stringProp name="TestPlan.comments">1</stringProp> | 232 | + <stringProp name="TestPlan.comments">根据产品ID查询banner(商品详情促销banner)</stringProp> |
233 | </ThreadGroup> | 233 | </ThreadGroup> |
234 | <hashTree> | 234 | <hashTree> |
235 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_shop_folder" enabled="true"> | 235 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_productBanner_data" enabled="true"> |
236 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 236 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
237 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 237 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
238 | <collectionProp name="Arguments.arguments"> | 238 | <collectionProp name="Arguments.arguments"> |
@@ -257,13 +257,13 @@ | @@ -257,13 +257,13 @@ | ||
257 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | 257 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
258 | <boolProp name="HTTPSampler.monitor">false</boolProp> | 258 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
259 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | 259 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
260 | - <stringProp name="TestPlan.comments">1</stringProp> | 260 | + <stringProp name="TestPlan.comments">根据产品ID查询banner(商品详情促销banner)</stringProp> |
261 | </HTTPSamplerProxy> | 261 | </HTTPSamplerProxy> |
262 | <hashTree> | 262 | <hashTree> |
263 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> | 263 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> |
264 | <stringProp name="TestPlan.comments"></stringProp> | 264 | <stringProp name="TestPlan.comments"></stringProp> |
265 | <boolProp name="resetInterpreter">false</boolProp> | 265 | <boolProp name="resetInterpreter">false</boolProp> |
266 | - <stringProp name="parameters">${shop_id}</stringProp> | 266 | + <stringProp name="parameters">${product_id}</stringProp> |
267 | <stringProp name="filename"></stringProp> | 267 | <stringProp name="filename"></stringProp> |
268 | <stringProp name="script">import java.security.MessageDigest; | 268 | <stringProp name="script">import java.security.MessageDigest; |
269 | import java.util.Random; | 269 | import java.util.Random; |
@@ -273,7 +273,7 @@ int rd = new Random().nextInt(1); | @@ -273,7 +273,7 @@ int rd = new Random().nextInt(1); | ||
273 | String clientType = clientTypes[rd]; | 273 | String clientType = clientTypes[rd]; |
274 | String privateKey = privateKeys[rd]; | 274 | String privateKey = privateKeys[rd]; |
275 | 275 | ||
276 | -String req = "app_version=5.8.0&client_type="+clientType+"&method=web.shop.folder&os_version=yohobuy:web&private_key="+privateKey+"&screen_size=720x1280&shop_id="+bsh.args[0]+"&status=1&v=7"; | 276 | +String req = "app_version=5.8.0&client_type="+clientType+"&method=web.productBanner.data&os_version=yohobuy:web&private_key="+privateKey+"&product_id="+bsh.args[0]+"&screen_size=720x1280&v=7"; |
277 | MessageDigest md = MessageDigest.getInstance("MD5"); | 277 | MessageDigest md = MessageDigest.getInstance("MD5"); |
278 | byte[] btInput = req.getBytes(); | 278 | byte[] btInput = req.getBytes(); |
279 | md.update(btInput); | 279 | md.update(btInput); |
@@ -314,7 +314,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -314,7 +314,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
314 | </ConstantThroughputTimer> | 314 | </ConstantThroughputTimer> |
315 | <hashTree/> | 315 | <hashTree/> |
316 | </hashTree> | 316 | </hashTree> |
317 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_brand_info" enabled="true"> | 317 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_brand_banner" enabled="true"> |
318 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 318 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
319 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 319 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
320 | <boolProp name="LoopController.continue_forever">false</boolProp> | 320 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -327,10 +327,10 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -327,10 +327,10 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
327 | <boolProp name="ThreadGroup.scheduler">false</boolProp> | 327 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
328 | <stringProp name="ThreadGroup.duration"></stringProp> | 328 | <stringProp name="ThreadGroup.duration"></stringProp> |
329 | <stringProp name="ThreadGroup.delay"></stringProp> | 329 | <stringProp name="ThreadGroup.delay"></stringProp> |
330 | - <stringProp name="TestPlan.comments">获取品牌信息</stringProp> | 330 | + <stringProp name="TestPlan.comments">根据品牌ID查询banner</stringProp> |
331 | </ThreadGroup> | 331 | </ThreadGroup> |
332 | <hashTree> | 332 | <hashTree> |
333 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_brand_info" enabled="true"> | 333 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_brand_banner" enabled="true"> |
334 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 334 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
335 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 335 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
336 | <collectionProp name="Arguments.arguments"> | 336 | <collectionProp name="Arguments.arguments"> |
@@ -355,7 +355,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -355,7 +355,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
355 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | 355 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
356 | <boolProp name="HTTPSampler.monitor">false</boolProp> | 356 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
357 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | 357 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
358 | - <stringProp name="TestPlan.comments">获取品牌信息</stringProp> | 358 | + <stringProp name="TestPlan.comments">根据品牌ID查询banner</stringProp> |
359 | </HTTPSamplerProxy> | 359 | </HTTPSamplerProxy> |
360 | <hashTree> | 360 | <hashTree> |
361 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> | 361 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> |
@@ -371,7 +371,7 @@ int rd = new Random().nextInt(1); | @@ -371,7 +371,7 @@ int rd = new Random().nextInt(1); | ||
371 | String clientType = clientTypes[rd]; | 371 | String clientType = clientTypes[rd]; |
372 | String privateKey = privateKeys[rd]; | 372 | String privateKey = privateKeys[rd]; |
373 | 373 | ||
374 | -String req = "app_version=5.8.0&client_type="+clientType+"&ids="+bsh.args[0]+"&method=web.brand.info&os_version=yohobuy:web&private_key="+privateKey+"&screen_size=720x1280&v=7"; | 374 | +String req = "app_version=5.8.0&brand_id="+bsh.args[0]+"&client_type="+clientType+"&method=web.brand.banner&os_version=yohobuy:web&private_key="+privateKey+"&screen_size=720x1280&v=7"; |
375 | MessageDigest md = MessageDigest.getInstance("MD5"); | 375 | MessageDigest md = MessageDigest.getInstance("MD5"); |
376 | byte[] btInput = req.getBytes(); | 376 | byte[] btInput = req.getBytes(); |
377 | md.update(btInput); | 377 | md.update(btInput); |
@@ -412,7 +412,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -412,7 +412,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
412 | </ConstantThroughputTimer> | 412 | </ConstantThroughputTimer> |
413 | <hashTree/> | 413 | <hashTree/> |
414 | </hashTree> | 414 | </hashTree> |
415 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_productCollocation_list" enabled="true"> | 415 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_productComfort_data" enabled="true"> |
416 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 416 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
417 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 417 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
418 | <boolProp name="LoopController.continue_forever">false</boolProp> | 418 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -425,10 +425,10 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -425,10 +425,10 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
425 | <boolProp name="ThreadGroup.scheduler">false</boolProp> | 425 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
426 | <stringProp name="ThreadGroup.duration"></stringProp> | 426 | <stringProp name="ThreadGroup.duration"></stringProp> |
427 | <stringProp name="ThreadGroup.delay"></stringProp> | 427 | <stringProp name="ThreadGroup.delay"></stringProp> |
428 | - <stringProp name="TestPlan.comments">根据产品ID查询搭配</stringProp> | 428 | + <stringProp name="TestPlan.comments">根据产品ID查询舒适度</stringProp> |
429 | </ThreadGroup> | 429 | </ThreadGroup> |
430 | <hashTree> | 430 | <hashTree> |
431 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_productCollocation_list" enabled="true"> | 431 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_productComfort_data" enabled="true"> |
432 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 432 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
433 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 433 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
434 | <collectionProp name="Arguments.arguments"> | 434 | <collectionProp name="Arguments.arguments"> |
@@ -453,7 +453,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -453,7 +453,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
453 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | 453 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
454 | <boolProp name="HTTPSampler.monitor">false</boolProp> | 454 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
455 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | 455 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
456 | - <stringProp name="TestPlan.comments">根据产品ID查询搭配</stringProp> | 456 | + <stringProp name="TestPlan.comments">根据产品ID查询舒适度</stringProp> |
457 | </HTTPSamplerProxy> | 457 | </HTTPSamplerProxy> |
458 | <hashTree> | 458 | <hashTree> |
459 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> | 459 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> |
@@ -469,7 +469,7 @@ int rd = new Random().nextInt(1); | @@ -469,7 +469,7 @@ int rd = new Random().nextInt(1); | ||
469 | String clientType = clientTypes[rd]; | 469 | String clientType = clientTypes[rd]; |
470 | String privateKey = privateKeys[rd]; | 470 | String privateKey = privateKeys[rd]; |
471 | 471 | ||
472 | -String req = "app_version=5.8.0&client_type="+clientType+"&method=web.productCollocation.list&os_version=yohobuy:web&private_key="+privateKey+"&product_id="+bsh.args[0]+"&screen_size=720x1280&v=7"; | 472 | +String req = "app_version=5.8.0&client_type="+clientType+"&method=web.productComfort.data&os_version=yohobuy:web&private_key="+privateKey+"&product_id="+bsh.args[0]+"&screen_size=720x1280&v=7"; |
473 | MessageDigest md = MessageDigest.getInstance("MD5"); | 473 | MessageDigest md = MessageDigest.getInstance("MD5"); |
474 | byte[] btInput = req.getBytes(); | 474 | byte[] btInput = req.getBytes(); |
475 | md.update(btInput); | 475 | md.update(btInput); |
@@ -510,7 +510,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -510,7 +510,7 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
510 | </ConstantThroughputTimer> | 510 | </ConstantThroughputTimer> |
511 | <hashTree/> | 511 | <hashTree/> |
512 | </hashTree> | 512 | </hashTree> |
513 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_shop_series" enabled="true"> | 513 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_web_productModelTry_data" enabled="true"> |
514 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 514 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
515 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 515 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
516 | <boolProp name="LoopController.continue_forever">false</boolProp> | 516 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -523,10 +523,10 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -523,10 +523,10 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
523 | <boolProp name="ThreadGroup.scheduler">false</boolProp> | 523 | <boolProp name="ThreadGroup.scheduler">false</boolProp> |
524 | <stringProp name="ThreadGroup.duration"></stringProp> | 524 | <stringProp name="ThreadGroup.duration"></stringProp> |
525 | <stringProp name="ThreadGroup.delay"></stringProp> | 525 | <stringProp name="ThreadGroup.delay"></stringProp> |
526 | - <stringProp name="TestPlan.comments">1</stringProp> | 526 | + <stringProp name="TestPlan.comments">模特试穿</stringProp> |
527 | </ThreadGroup> | 527 | </ThreadGroup> |
528 | <hashTree> | 528 | <hashTree> |
529 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_shop_series" enabled="true"> | 529 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_web_productModelTry_data" enabled="true"> |
530 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 530 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
531 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 531 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
532 | <collectionProp name="Arguments.arguments"> | 532 | <collectionProp name="Arguments.arguments"> |
@@ -551,13 +551,13 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | @@ -551,13 +551,13 @@ vars.put("searchValue",req+"&client_secret="+md5);</stri | ||
551 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | 551 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> |
552 | <boolProp name="HTTPSampler.monitor">false</boolProp> | 552 | <boolProp name="HTTPSampler.monitor">false</boolProp> |
553 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | 553 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> |
554 | - <stringProp name="TestPlan.comments">1</stringProp> | 554 | + <stringProp name="TestPlan.comments">模特试穿</stringProp> |
555 | </HTTPSamplerProxy> | 555 | </HTTPSamplerProxy> |
556 | <hashTree> | 556 | <hashTree> |
557 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> | 557 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="前置BeanShell" enabled="true"> |
558 | <stringProp name="TestPlan.comments"></stringProp> | 558 | <stringProp name="TestPlan.comments"></stringProp> |
559 | <boolProp name="resetInterpreter">false</boolProp> | 559 | <boolProp name="resetInterpreter">false</boolProp> |
560 | - <stringProp name="parameters">${shop_id}</stringProp> | 560 | + <stringProp name="parameters">${product_skn}</stringProp> |
561 | <stringProp name="filename"></stringProp> | 561 | <stringProp name="filename"></stringProp> |
562 | <stringProp name="script">import java.security.MessageDigest; | 562 | <stringProp name="script">import java.security.MessageDigest; |
563 | import java.util.Random; | 563 | import java.util.Random; |
@@ -567,7 +567,7 @@ int rd = new Random().nextInt(1); | @@ -567,7 +567,7 @@ int rd = new Random().nextInt(1); | ||
567 | String clientType = clientTypes[rd]; | 567 | String clientType = clientTypes[rd]; |
568 | String privateKey = privateKeys[rd]; | 568 | String privateKey = privateKeys[rd]; |
569 | 569 | ||
570 | -String req = "app_version=5.8.0&client_type="+clientType+"&method=web.shop.series&os_version=yohobuy:web&private_key="+privateKey+"&screen_size=720x1280&shop_id="+bsh.args[0]+"&status=1&v=7"; | 570 | +String req = "app_version=5.8.0&client_type="+clientType+"&method=web.productModelTry.data&os_version=yohobuy:web&private_key="+privateKey+"&product_skn="+bsh.args[0]+"&screen_size=720x1280&v=7"; |
571 | MessageDigest md = MessageDigest.getInstance("MD5"); | 571 | MessageDigest md = MessageDigest.getInstance("MD5"); |
572 | byte[] btInput = req.getBytes(); | 572 | byte[] btInput = req.getBytes(); |
573 | md.update(btInput); | 573 | md.update(btInput); |
-
Please register or login to post a comment