<?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="3.1" jmeter="3.1 r1770033"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="SALE2" enabled="true"> <stringProp name="TestPlan.comments">YohoPerformanceTest_ThisScriptIsGeneratedByYPT</stringProp> <boolProp name="TestPlan.functional_mode">false</boolProp> <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> <collectionProp name="Arguments.arguments"> </collectionProp> </elementProp> <stringProp name="TestPlan.user_define_classpath"></stringProp> </TestPlan> <hashTree> <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="header_pc" enabled="true"> <collectionProp name="HeaderManager.headers"> <elementProp name="" elementType="Header"> <stringProp name="Header.name">User-Agent</stringProp> <stringProp name="Header.value">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36</stringProp> </elementProp> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Accept</stringProp> <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8</stringProp> </elementProp> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Accept-Language</stringProp> <stringProp name="Header.value">zh-CN,zh;q=0.8,en;q=0.6</stringProp> </elementProp> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Accept-Encoding</stringProp> <stringProp name="Header.value">gzip, deflate</stringProp> </elementProp> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Content-Type</stringProp> <stringProp name="Header.value">application/x-www-form-urlencoded; charset=UTF-8</stringProp> </elementProp> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Upgrade-Insecure-Requests</stringProp> <stringProp name="Header.value">1</stringProp> </elementProp> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Host</stringProp> <stringProp name="Header.value">www.yohobuy.com</stringProp> </elementProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> </HeaderManager> <hashTree/> <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="cookie_空白" enabled="true"> <collectionProp name="CookieManager.cookies"> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> <boolProp name="CookieManager.clearEachIteration">false</boolProp> <stringProp name="CookieManager.policy">standard</stringProp> <stringProp name="CookieManager.implementation">org.apache.jmeter.protocol.http.control.HC4CookieHandler</stringProp> </CookieManager> <hashTree/> <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="arguments_性能测试环境" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="HOST_API" elementType="Argument"> <stringProp name="Argument.name">HOST_API</stringProp> <stringProp name="Argument.value">api-pt.yohoops.org</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="HOST_SERVICE" elementType="Argument"> <stringProp name="Argument.name">HOST_SERVICE</stringProp> <stringProp name="Argument.value">service-pt.yohoops.org</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="HOST_PC" elementType="Argument"> <stringProp name="Argument.name">HOST_PC</stringProp> <stringProp name="Argument.value">www.yohobuy.com</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="HOST_SEARCH" elementType="Argument"> <stringProp name="Argument.name">HOST_SEARCH</stringProp> <stringProp name="Argument.value">searchyohoops.yohobuy.com</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="HOST_ITEM" elementType="Argument"> <stringProp name="Argument.name">HOST_ITEM</stringProp> <stringProp name="Argument.value">item.yohobuy.com</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="HOST_LIST" elementType="Argument"> <stringProp name="Argument.name">HOST_LIST</stringProp> <stringProp name="Argument.value">list.yohobuy.com</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="HOST_SHOP" elementType="Argument"> <stringProp name="Argument.name">HOST_SHOP</stringProp> <stringProp name="Argument.value">dingjunshoubiao.yohobuy.com</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="ID_SHOP" elementType="Argument"> <stringProp name="Argument.name">ID_SHOP</stringProp> <stringProp name="Argument.value">2322</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> </Arguments> <hashTree/> <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="data_uid_mobile_openid_test_1w" enabled="true"> <stringProp name="TestPlan.comments"></stringProp> <stringProp name="filename">/opt/jmeter/data/uid_mobile_openid_test.csv</stringProp> <stringProp name="fileEncoding">utf-8</stringProp> <stringProp name="variableNames">uid_test,mobile_test,open_id_test</stringProp> <stringProp name="delimiter">,</stringProp> <boolProp name="quotedData">false</boolProp> <boolProp name="recycle">true</boolProp> <boolProp name="stopThread">false</boolProp> <stringProp name="shareMode">shareMode.all</stringProp> </CSVDataSet> <hashTree/> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_SALE" enabled="true"> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> <boolProp name="LoopController.continue_forever">false</boolProp> <intProp name="LoopController.loops">-1</intProp> </elementProp> <stringProp name="ThreadGroup.num_threads">100</stringProp> <stringProp name="ThreadGroup.ramp_time">10</stringProp> <longProp name="ThreadGroup.start_time">1488865571000</longProp> <longProp name="ThreadGroup.end_time">1488865571000</longProp> <boolProp name="ThreadGroup.scheduler">false</boolProp> <stringProp name="ThreadGroup.duration"></stringProp> <stringProp name="ThreadGroup.delay"></stringProp> <stringProp name="TestPlan.comments"></stringProp> </ThreadGroup> <hashTree> <OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true"> <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> <collectionProp name="Arguments.arguments"/> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/signin.html</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"/> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value">areaCode=86&account=${mobile_test}&password=abc123&verifyCode=0%2C2%2C0%2C0&isRemember=true&loginType=password&yohobuy=yoho4946abcdef#$%&!@</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/login/auth</stringProp> <stringProp name="HTTPSampler.method">POST</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="723337899">"code":200</stringProp> </collectionProp> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> </hashTree> <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true"> <boolProp name="PARENT_SAMPLE">false</boolProp> </com.blazemeter.jmeter.controller.ParallelSampler> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_SALE" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/boys-sale/</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="TestPlan.comments"></stringProp> </HTTPSamplerProxy> <hashTree> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_1" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/suggestfeedback?callback=jQuery1124017668541606530486_1505891526643&return_type=jsonp&client_secret=web&code=200&_=1505891526644</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="1450572480"></stringProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_2" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/sale/goods?saleType=2&order=s_t_desc&channel=boys&limit=11</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="1450572480"></stringProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_3" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/sale/goods?saleType=5&order=s_t_desc&channel=boys&breakSize=207,203,201,265,211,216,218,348,371,213,71,136,269,270,271,272,40,70,140,143,199,551,618,217,111,102,113,225,208,41,207,203,201,211,216,218,213,71,111,273,130,59,65,68,73,75,78,81,86,92,97,101,105,117,70,110,140,143,372,320,319,248,247,478,462,463,461,525,529,541,549,610,754,824,348,147,380,350,349,252,608,419,535,816,756,90,96,100,104,109,116,122,125,129,133,135,138,88,94,98,103,106,114,118,123,126,131,203,201,115,182,185,21,24,28,620,642,207,213,381,375,374,308,307,303,622,640,215,199,201,199,270,272,483,1164,207,203,265,165,164,162,160,1020,1094,1092,1018,386,387,588,770,317,313,256,422,606,870,852,856,872,922,946,778,208,211,216,213,214,184,169,25,23,18,1064,652,658,822,834,32,600,602,866,417,335,52,356,204,347,325,128,594,&breakSort=114,119,115,124,116,117,1902,1898,1894,122,1906,227,123,121,118,413,173,129,131,130,346,133,147,149,151,148,231,152,186,322,153,162,142,235,238,75,324,72,76,240,311,323,74,1676,156,161,316,233,1612,78,342,239,1498,157,160,1506,164,210,357,1540,1580,79,295,1538,1542,1672,1682,303,327,1486,326,340,1530,234,1496,1534,1606,1642,341,1490,1544,1620,1698,306,1482,328,359,317,349,1690,218,300,307,321,331,1524,1636,1652,1696,1700,&limit=14</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="1450572480"></stringProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_4" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/sale/goods?saleType=0&order=s_t_desc&channel=boys&limit=14</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="1450572480"></stringProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_5" enabled="true"> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> <elementProp name="" elementType="HTTPArgument"> <boolProp name="HTTPArgument.always_encode">false</boolProp> <stringProp name="Argument.value"></stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="HTTPSampler.domain"></stringProp> <stringProp name="HTTPSampler.port"></stringProp> <stringProp name="HTTPSampler.connect_timeout"></stringProp> <stringProp name="HTTPSampler.response_timeout"></stringProp> <stringProp name="HTTPSampler.protocol"></stringProp> <stringProp name="HTTPSampler.contentEncoding"></stringProp> <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/cert/headerTip?callback=jQuery1124011529256667125476_1505875744855&_=1505875744856</stringProp> <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> <boolProp name="HTTPSampler.auto_redirects">false</boolProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> <boolProp name="HTTPSampler.monitor">false</boolProp> <stringProp name="HTTPSampler.embedded_url_re"></stringProp> <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> <collectionProp name="Asserion.test_strings"> <stringProp name="1450572480"></stringProp> </collectionProp> <stringProp name="TestPlan.comments"></stringProp> <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> <boolProp name="Assertion.assume_success">false</boolProp> <intProp name="Assertion.test_type">16</intProp> </ResponseAssertion> <hashTree/> </hashTree> </hashTree> <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> <stringProp name="TestPlan.comments"></stringProp> <doubleProp> <name>throughput</name> <value>360000</value> <savedValue>0.0</savedValue> </doubleProp> <intProp name="calcMode">2</intProp> </ConstantThroughputTimer> <hashTree/> </hashTree> <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true"> <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> <collectionProp name="Arguments.arguments"> <elementProp name="graphiteMetricsSender" elementType="Argument"> <stringProp name="Argument.name">graphiteMetricsSender</stringProp> <stringProp name="Argument.value">org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="graphiteHost" elementType="Argument"> <stringProp name="Argument.name">graphiteHost</stringProp> <stringProp name="Argument.value">192.168.104.43</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="graphitePort" elementType="Argument"> <stringProp name="Argument.name">graphitePort</stringProp> <stringProp name="Argument.value">2003</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="rootMetricsPrefix" elementType="Argument"> <stringProp name="Argument.name">rootMetricsPrefix</stringProp> <stringProp name="Argument.value">${__machineIP()}.</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="summaryOnly" elementType="Argument"> <stringProp name="Argument.name">summaryOnly</stringProp> <stringProp name="Argument.value">false</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="samplersList" elementType="Argument"> <stringProp name="Argument.name">samplersList</stringProp> <stringProp name="Argument.value">tc_.*</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="useRegexpForSamplersList" elementType="Argument"> <stringProp name="Argument.name">useRegexpForSamplersList</stringProp> <stringProp name="Argument.value">true</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="percentiles" elementType="Argument"> <stringProp name="Argument.name">percentiles</stringProp> <stringProp name="Argument.value">90</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> </elementProp> <stringProp name="classname">org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient</stringProp> <stringProp name="TestPlan.comments"></stringProp> </BackendListener> <hashTree/> </hashTree> </hashTree> </jmeterTestPlan>