Showing
1 changed file
with
334 additions
and
129 deletions
@@ -272,7 +272,7 @@ | @@ -272,7 +272,7 @@ | ||
272 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 272 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
273 | <stringProp name="HTTPSampler.protocol"></stringProp> | 273 | <stringProp name="HTTPSampler.protocol"></stringProp> |
274 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 274 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
275 | - <stringProp name="HTTPSampler.path">http://www.yohobuy.com/common/suggestfeedback?callback=jQuery112409858715270747556_1505876076710&return_type=jsonp&client_secret=web&code=200&_=1505876076711</stringProp> | 275 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/suggestfeedback?callback=jQuery112409858715270747556_1505876076710&return_type=jsonp&client_secret=web&code=200&_=1505876076711</stringProp> |
276 | <stringProp name="HTTPSampler.method">GET</stringProp> | 276 | <stringProp name="HTTPSampler.method">GET</stringProp> |
277 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 277 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
278 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 278 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -311,7 +311,7 @@ | @@ -311,7 +311,7 @@ | ||
311 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 311 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
312 | <stringProp name="HTTPSampler.protocol"></stringProp> | 312 | <stringProp name="HTTPSampler.protocol"></stringProp> |
313 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 313 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
314 | - <stringProp name="HTTPSampler.path">http://www.yohobuy.com/passport/cert/headerTip?callback=jQuery112409858715270747556_1505876076710&_=1505876076712</stringProp> | 314 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/cert/headerTip?callback=jQuery112409858715270747556_1505876076710&_=1505876076712</stringProp> |
315 | <stringProp name="HTTPSampler.method">GET</stringProp> | 315 | <stringProp name="HTTPSampler.method">GET</stringProp> |
316 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 316 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
317 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 317 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -3400,133 +3400,6 @@ | @@ -3400,133 +3400,6 @@ | ||
3400 | </ConstantThroughputTimer> | 3400 | </ConstantThroughputTimer> |
3401 | <hashTree/> | 3401 | <hashTree/> |
3402 | </hashTree> | 3402 | </hashTree> |
3403 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_搜索列表" enabled="true"> | ||
3404 | - <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
3405 | - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
3406 | - <boolProp name="LoopController.continue_forever">false</boolProp> | ||
3407 | - <intProp name="LoopController.loops">-1</intProp> | ||
3408 | - </elementProp> | ||
3409 | - <stringProp name="ThreadGroup.num_threads">50</stringProp> | ||
3410 | - <stringProp name="ThreadGroup.ramp_time">10</stringProp> | ||
3411 | - <longProp name="ThreadGroup.start_time">1488865571000</longProp> | ||
3412 | - <longProp name="ThreadGroup.end_time">1488865571000</longProp> | ||
3413 | - <boolProp name="ThreadGroup.scheduler">false</boolProp> | ||
3414 | - <stringProp name="ThreadGroup.duration"></stringProp> | ||
3415 | - <stringProp name="ThreadGroup.delay"></stringProp> | ||
3416 | - <stringProp name="TestPlan.comments"></stringProp> | ||
3417 | - </ThreadGroup> | ||
3418 | - <hashTree> | ||
3419 | -<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/> | ||
3420 | - <hashTree> | ||
3421 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true"> | ||
3422 | - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
3423 | - <collectionProp name="Arguments.arguments"/> | ||
3424 | - </elementProp> | ||
3425 | - <stringProp name="HTTPSampler.domain"></stringProp> | ||
3426 | - <stringProp name="HTTPSampler.port"></stringProp> | ||
3427 | - <stringProp name="HTTPSampler.protocol"></stringProp> | ||
3428 | - <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
3429 | - <stringProp name="HTTPSampler.path">http://${HOST_SEARCH}/signin.html</stringProp> | ||
3430 | - <stringProp name="HTTPSampler.method">GET</stringProp> | ||
3431 | - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
3432 | - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
3433 | - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
3434 | - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
3435 | - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
3436 | - <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
3437 | - <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
3438 | - </HTTPSamplerProxy> | ||
3439 | - <hashTree> | ||
3440 | - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
3441 | - <collectionProp name="Asserion.test_strings"/> | ||
3442 | - <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
3443 | - <boolProp name="Assertion.assume_success">false</boolProp> | ||
3444 | - <intProp name="Assertion.test_type">16</intProp> | ||
3445 | - </ResponseAssertion> | ||
3446 | - <hashTree/> | ||
3447 | - </hashTree> | ||
3448 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true"> | ||
3449 | - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
3450 | - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
3451 | - <collectionProp name="Arguments.arguments"> | ||
3452 | - <elementProp name="" elementType="HTTPArgument"> | ||
3453 | - <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
3454 | - <stringProp name="Argument.value">areaCode=86&account=${mobile_test}&password=abc123&verifyCode=0%2C2%2C0%2C0&isRemember=true&loginType=password&yohobuy=yoho4946abcdef%23%24%25%26!%40</stringProp> | ||
3455 | - <stringProp name="Argument.metadata">=</stringProp> | ||
3456 | - </elementProp> | ||
3457 | - </collectionProp> | ||
3458 | - </elementProp> | ||
3459 | - <stringProp name="HTTPSampler.domain"></stringProp> | ||
3460 | - <stringProp name="HTTPSampler.port"></stringProp> | ||
3461 | - <stringProp name="HTTPSampler.protocol"></stringProp> | ||
3462 | - <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
3463 | - <stringProp name="HTTPSampler.path">http://${HOST_SEARCH}/passport/login/auth</stringProp> | ||
3464 | - <stringProp name="HTTPSampler.method">POST</stringProp> | ||
3465 | - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
3466 | - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
3467 | - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
3468 | - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
3469 | - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
3470 | - <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
3471 | - <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
3472 | - </HTTPSamplerProxy> | ||
3473 | - <hashTree> | ||
3474 | - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
3475 | - <collectionProp name="Asserion.test_strings"> | ||
3476 | - <stringProp name="723337899">"code":200</stringProp> | ||
3477 | - </collectionProp> | ||
3478 | - <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
3479 | - <boolProp name="Assertion.assume_success">false</boolProp> | ||
3480 | - <intProp name="Assertion.test_type">16</intProp> | ||
3481 | - </ResponseAssertion> | ||
3482 | - <hashTree/> | ||
3483 | - </hashTree> | ||
3484 | - </hashTree> | ||
3485 | - <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true"> | ||
3486 | - <boolProp name="PARENT_SAMPLE">false</boolProp> | ||
3487 | - </com.blazemeter.jmeter.controller.ParallelSampler> | ||
3488 | - <hashTree> | ||
3489 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_搜索列表" enabled="true"> | ||
3490 | - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
3491 | - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
3492 | - <collectionProp name="Arguments.arguments"> | ||
3493 | - <elementProp name="" elementType="HTTPArgument"> | ||
3494 | - <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
3495 | - <stringProp name="Argument.value"></stringProp> | ||
3496 | - <stringProp name="Argument.metadata">=</stringProp> | ||
3497 | - </elementProp> | ||
3498 | - </collectionProp> | ||
3499 | - </elementProp> | ||
3500 | - <stringProp name="HTTPSampler.domain"></stringProp> | ||
3501 | - <stringProp name="HTTPSampler.port"></stringProp> | ||
3502 | - <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
3503 | - <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
3504 | - <stringProp name="HTTPSampler.protocol"></stringProp> | ||
3505 | - <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
3506 | - <stringProp name="HTTPSampler.path">http://${HOST_SEARCH}/?query=adidas Originals</stringProp> | ||
3507 | - <stringProp name="HTTPSampler.method">GET</stringProp> | ||
3508 | - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
3509 | - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
3510 | - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
3511 | - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
3512 | - <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
3513 | - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
3514 | - <stringProp name="TestPlan.comments"></stringProp> | ||
3515 | - </HTTPSamplerProxy> | ||
3516 | - <hashTree> | ||
3517 | - </hashTree> | ||
3518 | - </hashTree> | ||
3519 | - <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | ||
3520 | - <stringProp name="TestPlan.comments"></stringProp> | ||
3521 | - <doubleProp> | ||
3522 | - <name>throughput</name> | ||
3523 | - <value>60000</value> | ||
3524 | - <savedValue>0.0</savedValue> | ||
3525 | - </doubleProp> | ||
3526 | - <intProp name="calcMode">2</intProp> | ||
3527 | - </ConstantThroughputTimer> | ||
3528 | - <hashTree/> | ||
3529 | - </hashTree> | ||
3530 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_店铺首页" enabled="true"> | 3403 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_店铺首页" enabled="true"> |
3531 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 3404 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
3532 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 3405 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
@@ -4513,6 +4386,338 @@ | @@ -4513,6 +4386,338 @@ | ||
4513 | </ConstantThroughputTimer> | 4386 | </ConstantThroughputTimer> |
4514 | <hashTree/> | 4387 | <hashTree/> |
4515 | </hashTree> | 4388 | </hashTree> |
4389 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_店铺介绍页" enabled="true"> | ||
4390 | + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
4391 | + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
4392 | + <boolProp name="LoopController.continue_forever">false</boolProp> | ||
4393 | + <intProp name="LoopController.loops">-1</intProp> | ||
4394 | + </elementProp> | ||
4395 | + <stringProp name="ThreadGroup.num_threads">50</stringProp> | ||
4396 | + <stringProp name="ThreadGroup.ramp_time">10</stringProp> | ||
4397 | + <longProp name="ThreadGroup.start_time">1488865571000</longProp> | ||
4398 | + <longProp name="ThreadGroup.end_time">1488865571000</longProp> | ||
4399 | + <boolProp name="ThreadGroup.scheduler">false</boolProp> | ||
4400 | + <stringProp name="ThreadGroup.duration"></stringProp> | ||
4401 | + <stringProp name="ThreadGroup.delay"></stringProp> | ||
4402 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4403 | + </ThreadGroup> | ||
4404 | + <hashTree> | ||
4405 | +<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/> | ||
4406 | + <hashTree> | ||
4407 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true"> | ||
4408 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
4409 | + <collectionProp name="Arguments.arguments"/> | ||
4410 | + </elementProp> | ||
4411 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4412 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4413 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4414 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4415 | + <stringProp name="HTTPSampler.path">http://${HOST_SHOP}/signin.html</stringProp> | ||
4416 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
4417 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4418 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4419 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4420 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4421 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4422 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4423 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4424 | + </HTTPSamplerProxy> | ||
4425 | + <hashTree> | ||
4426 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
4427 | + <collectionProp name="Asserion.test_strings"/> | ||
4428 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
4429 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
4430 | + <intProp name="Assertion.test_type">16</intProp> | ||
4431 | + </ResponseAssertion> | ||
4432 | + <hashTree/> | ||
4433 | + </hashTree> | ||
4434 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true"> | ||
4435 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
4436 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
4437 | + <collectionProp name="Arguments.arguments"> | ||
4438 | + <elementProp name="" elementType="HTTPArgument"> | ||
4439 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
4440 | + <stringProp name="Argument.value">areaCode=86&account=${mobile_test}&password=abc123&verifyCode=0%2C2%2C0%2C0&isRemember=true&loginType=password&yohobuy=yoho4946abcdef%23%24%25%26!%40</stringProp> | ||
4441 | + <stringProp name="Argument.metadata">=</stringProp> | ||
4442 | + </elementProp> | ||
4443 | + </collectionProp> | ||
4444 | + </elementProp> | ||
4445 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4446 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4447 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4448 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4449 | + <stringProp name="HTTPSampler.path">http://${HOST_SHOP}/passport/login/auth</stringProp> | ||
4450 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
4451 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4452 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4453 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4454 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4455 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4456 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4457 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4458 | + </HTTPSamplerProxy> | ||
4459 | + <hashTree> | ||
4460 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
4461 | + <collectionProp name="Asserion.test_strings"> | ||
4462 | + <stringProp name="723337899">"code":200</stringProp> | ||
4463 | + </collectionProp> | ||
4464 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
4465 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
4466 | + <intProp name="Assertion.test_type">16</intProp> | ||
4467 | + </ResponseAssertion> | ||
4468 | + <hashTree/> | ||
4469 | + </hashTree> | ||
4470 | + </hashTree> | ||
4471 | + <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true"> | ||
4472 | + <boolProp name="PARENT_SAMPLE">false</boolProp> | ||
4473 | + </com.blazemeter.jmeter.controller.ParallelSampler> | ||
4474 | + <hashTree> | ||
4475 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_店铺介绍页" enabled="true"> | ||
4476 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
4477 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
4478 | + <collectionProp name="Arguments.arguments"> | ||
4479 | + <elementProp name="" elementType="HTTPArgument"> | ||
4480 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
4481 | + <stringProp name="Argument.value"></stringProp> | ||
4482 | + <stringProp name="Argument.metadata">=</stringProp> | ||
4483 | + </elementProp> | ||
4484 | + </collectionProp> | ||
4485 | + </elementProp> | ||
4486 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4487 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4488 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4489 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4490 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4491 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4492 | + <stringProp name="HTTPSampler.path">http://${HOST_SHOP}/shop${ID_SHOP}-about/</stringProp> | ||
4493 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
4494 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4495 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4496 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4497 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4498 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
4499 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4500 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4501 | + </HTTPSamplerProxy> | ||
4502 | + <hashTree> | ||
4503 | + </hashTree> | ||
4504 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_1" enabled="true"> | ||
4505 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
4506 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
4507 | + <collectionProp name="Arguments.arguments"> | ||
4508 | + <elementProp name="" elementType="HTTPArgument"> | ||
4509 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
4510 | + <stringProp name="Argument.value">shopId=${ID_SHOP}</stringProp> | ||
4511 | + <stringProp name="Argument.metadata">=</stringProp> | ||
4512 | + </elementProp> | ||
4513 | + </collectionProp> | ||
4514 | + </elementProp> | ||
4515 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4516 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4517 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4518 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4519 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4520 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4521 | + <stringProp name="HTTPSampler.path">http://${HOST_SHOP}/product/index/getAdnav</stringProp> | ||
4522 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
4523 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4524 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4525 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4526 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4527 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
4528 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4529 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
4530 | + </HTTPSamplerProxy> | ||
4531 | + <hashTree> | ||
4532 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
4533 | + <collectionProp name="Asserion.test_strings"> | ||
4534 | + <stringProp name="1450572480"></stringProp> | ||
4535 | + </collectionProp> | ||
4536 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4537 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
4538 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
4539 | + <intProp name="Assertion.test_type">16</intProp> | ||
4540 | + </ResponseAssertion> | ||
4541 | + <hashTree/> | ||
4542 | + </hashTree> | ||
4543 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_2" enabled="true"> | ||
4544 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
4545 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
4546 | + <collectionProp name="Arguments.arguments"> | ||
4547 | + <elementProp name="" elementType="HTTPArgument"> | ||
4548 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
4549 | + <stringProp name="Argument.value">shopId=${ID_SHOP}</stringProp> | ||
4550 | + <stringProp name="Argument.metadata">=</stringProp> | ||
4551 | + </elementProp> | ||
4552 | + </collectionProp> | ||
4553 | + </elementProp> | ||
4554 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4555 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4556 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4557 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4558 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4559 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4560 | + <stringProp name="HTTPSampler.path">http://${HOST_SHOP}/product/index/isFavoriteShop</stringProp> | ||
4561 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
4562 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4563 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4564 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4565 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4566 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
4567 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4568 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
4569 | + </HTTPSamplerProxy> | ||
4570 | + <hashTree> | ||
4571 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
4572 | + <collectionProp name="Asserion.test_strings"> | ||
4573 | + <stringProp name="1450572480"></stringProp> | ||
4574 | + </collectionProp> | ||
4575 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4576 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
4577 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
4578 | + <intProp name="Assertion.test_type">16</intProp> | ||
4579 | + </ResponseAssertion> | ||
4580 | + <hashTree/> | ||
4581 | + </hashTree> | ||
4582 | + </hashTree> | ||
4583 | + <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | ||
4584 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4585 | + <doubleProp> | ||
4586 | + <name>throughput</name> | ||
4587 | + <value>60000</value> | ||
4588 | + <savedValue>0.0</savedValue> | ||
4589 | + </doubleProp> | ||
4590 | + <intProp name="calcMode">2</intProp> | ||
4591 | + </ConstantThroughputTimer> | ||
4592 | + <hashTree/> | ||
4593 | + </hashTree> | ||
4594 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_列表" enabled="true"> | ||
4595 | + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
4596 | + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
4597 | + <boolProp name="LoopController.continue_forever">false</boolProp> | ||
4598 | + <intProp name="LoopController.loops">-1</intProp> | ||
4599 | + </elementProp> | ||
4600 | + <stringProp name="ThreadGroup.num_threads">50</stringProp> | ||
4601 | + <stringProp name="ThreadGroup.ramp_time">10</stringProp> | ||
4602 | + <longProp name="ThreadGroup.start_time">1488865571000</longProp> | ||
4603 | + <longProp name="ThreadGroup.end_time">1488865571000</longProp> | ||
4604 | + <boolProp name="ThreadGroup.scheduler">false</boolProp> | ||
4605 | + <stringProp name="ThreadGroup.duration"></stringProp> | ||
4606 | + <stringProp name="ThreadGroup.delay"></stringProp> | ||
4607 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4608 | + </ThreadGroup> | ||
4609 | + <hashTree> | ||
4610 | +<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/> | ||
4611 | + <hashTree> | ||
4612 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true"> | ||
4613 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
4614 | + <collectionProp name="Arguments.arguments"/> | ||
4615 | + </elementProp> | ||
4616 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4617 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4618 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4619 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4620 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST}/signin.html</stringProp> | ||
4621 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
4622 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4623 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4624 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4625 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4626 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4627 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4628 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4629 | + </HTTPSamplerProxy> | ||
4630 | + <hashTree> | ||
4631 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
4632 | + <collectionProp name="Asserion.test_strings"/> | ||
4633 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
4634 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
4635 | + <intProp name="Assertion.test_type">16</intProp> | ||
4636 | + </ResponseAssertion> | ||
4637 | + <hashTree/> | ||
4638 | + </hashTree> | ||
4639 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true"> | ||
4640 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
4641 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
4642 | + <collectionProp name="Arguments.arguments"> | ||
4643 | + <elementProp name="" elementType="HTTPArgument"> | ||
4644 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
4645 | + <stringProp name="Argument.value">areaCode=86&account=${mobile_test}&password=abc123&verifyCode=0%2C2%2C0%2C0&isRemember=true&loginType=password&yohobuy=yoho4946abcdef%23%24%25%26!%40</stringProp> | ||
4646 | + <stringProp name="Argument.metadata">=</stringProp> | ||
4647 | + </elementProp> | ||
4648 | + </collectionProp> | ||
4649 | + </elementProp> | ||
4650 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4651 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4652 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4653 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4654 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST}/passport/login/auth</stringProp> | ||
4655 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
4656 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4657 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4658 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4659 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4660 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4661 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4662 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4663 | + </HTTPSamplerProxy> | ||
4664 | + <hashTree> | ||
4665 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
4666 | + <collectionProp name="Asserion.test_strings"> | ||
4667 | + <stringProp name="723337899">"code":200</stringProp> | ||
4668 | + </collectionProp> | ||
4669 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
4670 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
4671 | + <intProp name="Assertion.test_type">16</intProp> | ||
4672 | + </ResponseAssertion> | ||
4673 | + <hashTree/> | ||
4674 | + </hashTree> | ||
4675 | + </hashTree> | ||
4676 | + <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true"> | ||
4677 | + <boolProp name="PARENT_SAMPLE">false</boolProp> | ||
4678 | + </com.blazemeter.jmeter.controller.ParallelSampler> | ||
4679 | + <hashTree> | ||
4680 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_列表" enabled="true"> | ||
4681 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
4682 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
4683 | + <collectionProp name="Arguments.arguments"> | ||
4684 | + <elementProp name="" elementType="HTTPArgument"> | ||
4685 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
4686 | + <stringProp name="Argument.value"></stringProp> | ||
4687 | + <stringProp name="Argument.metadata">=</stringProp> | ||
4688 | + </elementProp> | ||
4689 | + </collectionProp> | ||
4690 | + </elementProp> | ||
4691 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
4692 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
4693 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
4694 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
4695 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
4696 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
4697 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST}/?category_id=5,8&gender=1,3</stringProp> | ||
4698 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
4699 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
4700 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
4701 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
4702 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
4703 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
4704 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
4705 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4706 | + </HTTPSamplerProxy> | ||
4707 | + <hashTree> | ||
4708 | + </hashTree> | ||
4709 | + </hashTree> | ||
4710 | + <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | ||
4711 | + <stringProp name="TestPlan.comments"></stringProp> | ||
4712 | + <doubleProp> | ||
4713 | + <name>throughput</name> | ||
4714 | + <value>60000</value> | ||
4715 | + <savedValue>0.0</savedValue> | ||
4716 | + </doubleProp> | ||
4717 | + <intProp name="calcMode">2</intProp> | ||
4718 | + </ConstantThroughputTimer> | ||
4719 | + <hashTree/> | ||
4720 | + </hashTree> | ||
4516 | <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true"> | 4721 | <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true"> |
4517 | <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> | 4722 | <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> |
4518 | <collectionProp name="Arguments.arguments"> | 4723 | <collectionProp name="Arguments.arguments"> |
-
Please register or login to post a comment