Authored by Rong

commit by shell

  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<jmeterTestPlan version="1.2" properties="3.1" jmeter="3.1 r1770033">
  3 + <hashTree>
  4 + <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="test4" enabled="true">
  5 + <stringProp name="TestPlan.comments">YohoPerformanceTest_ThisScriptIsGeneratedByYPT</stringProp>
  6 + <boolProp name="TestPlan.functional_mode">false</boolProp>
  7 + <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
  8 + <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true">
  9 + <collectionProp name="Arguments.arguments">
  10 + </collectionProp>
  11 + </elementProp>
  12 + <stringProp name="TestPlan.user_define_classpath"></stringProp>
  13 + </TestPlan>
  14 + <hashTree>
  15 + <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="header_pc" enabled="true">
  16 + <collectionProp name="HeaderManager.headers">
  17 + <elementProp name="" elementType="Header">
  18 + <stringProp name="Header.name">User-Agent</stringProp>
  19 + <stringProp name="Header.value">Mozilla/5.0 (Windows NT 6.1; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0</stringProp>
  20 + </elementProp>
  21 + <elementProp name="" elementType="Header">
  22 + <stringProp name="Header.name">Accept</stringProp>
  23 + <stringProp name="Header.value">*/*</stringProp>
  24 + </elementProp>
  25 + <elementProp name="" elementType="Header">
  26 + <stringProp name="Header.name">Accept-Language</stringProp>
  27 + <stringProp name="Header.value">zh-CN,zh;q=0.8,en-US;q=0.5,en;q=</stringProp>
  28 + </elementProp>
  29 + <elementProp name="" elementType="Header">
  30 + <stringProp name="Header.name">Accept-Encoding</stringProp>
  31 + <stringProp name="Header.value">gzip, deflate</stringProp>
  32 + </elementProp>
  33 + <elementProp name="" elementType="Header">
  34 + <stringProp name="Header.name">Content-Type</stringProp>
  35 + <stringProp name="Header.value">application/x-www-form-urlencoded; charset=UTF-8</stringProp>
  36 + </elementProp>
  37 + <elementProp name="" elementType="Header">
  38 + <stringProp name="Header.name">X-Requested-With</stringProp>
  39 + <stringProp name="Header.value">XMLHttpRequest</stringProp>
  40 + </elementProp>
  41 + <elementProp name="" elementType="Header">
  42 + <stringProp name="Header.name">Upgrade-Insecure-Requests</stringProp>
  43 + <stringProp name="Header.value">1</stringProp>
  44 + </elementProp>
  45 + <elementProp name="" elementType="Header">
  46 + <stringProp name="Header.name">Host</stringProp>
  47 + <stringProp name="Header.value">www.yohobuy.com</stringProp>
  48 + </elementProp>
  49 + </collectionProp>
  50 + <stringProp name="TestPlan.comments"></stringProp>
  51 + </HeaderManager>
  52 + <hashTree/>
  53 + <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="cookie_&#31354;&#30333;" enabled="true">
  54 + <collectionProp name="CookieManager.cookies">
  55 + </collectionProp>
  56 + <stringProp name="TestPlan.comments"></stringProp>
  57 + <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  58 + <stringProp name="CookieManager.policy">standard</stringProp>
  59 + <stringProp name="CookieManager.implementation">org.apache.jmeter.protocol.http.control.HC4CookieHandler</stringProp>
  60 + </CookieManager>
  61 + <hashTree/>
  62 + <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="arguments_&#24615;&#33021;&#27979;&#35797;&#29615;&#22659;" enabled="true">
  63 + <collectionProp name="Arguments.arguments">
  64 + <elementProp name="HOST_API" elementType="Argument">
  65 + <stringProp name="Argument.name">HOST_API</stringProp>
  66 + <stringProp name="Argument.value">api-pt.yohoops.org</stringProp>
  67 + <stringProp name="Argument.metadata">=</stringProp>
  68 + </elementProp>
  69 + <elementProp name="HOST_SERVICE" elementType="Argument">
  70 + <stringProp name="Argument.name">HOST_SERVICE</stringProp>
  71 + <stringProp name="Argument.value">service-pt.yohoops.org</stringProp>
  72 + <stringProp name="Argument.metadata">=</stringProp>
  73 + </elementProp>
  74 + <elementProp name="HOST_PC" elementType="Argument">
  75 + <stringProp name="Argument.name">HOST_PC</stringProp>
  76 + <stringProp name="Argument.value">www.yohobuy.com</stringProp>
  77 + <stringProp name="Argument.metadata">=</stringProp>
  78 + </elementProp>
  79 + <elementProp name="HOST_SEARCH" elementType="Argument">
  80 + <stringProp name="Argument.name">HOST_SEARCH</stringProp>
  81 + <stringProp name="Argument.value">search.yohoops.org</stringProp>
  82 + <stringProp name="Argument.metadata">=</stringProp>
  83 + </elementProp>
  84 + </collectionProp>
  85 + <stringProp name="TestPlan.comments"></stringProp> </Arguments>
  86 + <hashTree/>
  87 + <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="data_&#21830;&#21697;for&#27983;&#35272;" enabled="true">
  88 + <stringProp name="TestPlan.comments"></stringProp>
  89 + <stringProp name="filename">/opt/jmeter/data/product_2w.csv</stringProp>
  90 + <stringProp name="fileEncoding">utf-8</stringProp>
  91 + <stringProp name="variableNames">product_id,product_skn</stringProp>
  92 + <stringProp name="delimiter">,</stringProp>
  93 + <boolProp name="quotedData">false</boolProp>
  94 + <boolProp name="recycle">true</boolProp>
  95 + <boolProp name="stopThread">false</boolProp>
  96 + <stringProp name="shareMode">shareMode.all</stringProp>
  97 + </CSVDataSet>
  98 + <hashTree/>
  99 + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_&#30007;&#39318;" enabled="true">
  100 + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  101 + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
  102 + <boolProp name="LoopController.continue_forever">false</boolProp>
  103 + <intProp name="LoopController.loops">-1</intProp>
  104 + </elementProp>
  105 + <stringProp name="ThreadGroup.num_threads">500</stringProp>
  106 + <stringProp name="ThreadGroup.ramp_time">10</stringProp>
  107 + <longProp name="ThreadGroup.start_time">1488865571000</longProp>
  108 + <longProp name="ThreadGroup.end_time">1488865571000</longProp>
  109 + <boolProp name="ThreadGroup.scheduler">false</boolProp>
  110 + <stringProp name="ThreadGroup.duration"></stringProp>
  111 + <stringProp name="ThreadGroup.delay"></stringProp>
  112 + <stringProp name="TestPlan.comments"></stringProp>
  113 + </ThreadGroup>
  114 + <hashTree>
  115 +<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="事务控制器" enabled="true">
  116 + <boolProp name="TransactionController.includeTimers">false</boolProp>
  117 + <boolProp name="TransactionController.parent">false</boolProp>
  118 + </TransactionController>
  119 + <hashTree>
  120 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_&#30007;&#39318;" enabled="true">
  121 + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  122 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  123 + <collectionProp name="Arguments.arguments">
  124 + <elementProp name="" elementType="HTTPArgument">
  125 + <boolProp name="HTTPArgument.always_encode">false</boolProp>
  126 + <stringProp name="Argument.value"></stringProp>
  127 + <stringProp name="Argument.metadata">=</stringProp>
  128 + </elementProp>
  129 + </collectionProp>
  130 + </elementProp>
  131 + <stringProp name="HTTPSampler.domain"></stringProp>
  132 + <stringProp name="HTTPSampler.port"></stringProp>
  133 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  134 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  135 + <stringProp name="HTTPSampler.protocol"></stringProp>
  136 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  137 + <stringProp name="HTTPSampler.path">http://${HOST_PC}/</stringProp>
  138 + <stringProp name="HTTPSampler.method">GET</stringProp>
  139 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  140 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  141 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  142 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  143 + <boolProp name="HTTPSampler.monitor">false</boolProp>
  144 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  145 + <stringProp name="TestPlan.comments"></stringProp>
  146 + </HTTPSamplerProxy>
  147 + <hashTree>
  148 + </hashTree>
  149 + <RandomController guiclass="RandomControlGui" testclass="RandomController" testname="随机控制器" enabled="true">
  150 + <intProp name="InterleaveControl.style">1</intProp>
  151 + </RandomController>
  152 + <hashTree>
  153 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_1" enabled="true">
  154 + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  155 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  156 + <collectionProp name="Arguments.arguments">
  157 + <elementProp name="" elementType="HTTPArgument">
  158 + <boolProp name="HTTPArgument.always_encode">false</boolProp>
  159 + <stringProp name="Argument.value"></stringProp>
  160 + <stringProp name="Argument.metadata">=</stringProp>
  161 + </elementProp>
  162 + </collectionProp>
  163 + </elementProp>
  164 + <stringProp name="HTTPSampler.domain"></stringProp>
  165 + <stringProp name="HTTPSampler.port"></stringProp>
  166 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  167 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  168 + <stringProp name="HTTPSampler.protocol"></stringProp>
  169 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  170 + <stringProp name="HTTPSampler.path">http://www.yohobuy.com/common/suggestfeedback?callback=jQuery112409858715270747556_1505876076710&amp;return_type=jsonp&amp;client_secret=web&amp;code=200&amp;_=1505876076711</stringProp>
  171 + <stringProp name="HTTPSampler.method">GET</stringProp>
  172 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  173 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  174 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  175 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  176 + <boolProp name="HTTPSampler.monitor">false</boolProp>
  177 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  178 + <stringProp name="TestPlan.comments">&#21153;&#24517;&#20197;tc_&#24320;&#22836;&#65292;&#21542;&#21017;&#26080;&#27861;&#33719;&#21462;&#32479;&#35745;&#32467;&#26524;</stringProp>
  179 + </HTTPSamplerProxy>
  180 + <hashTree>
  181 + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="&#21709;&#24212;&#26029;&#35328;" enabled="true">
  182 + <collectionProp name="Asserion.test_strings">
  183 + <stringProp name="1450572480"></stringProp>
  184 + </collectionProp>
  185 + <stringProp name="TestPlan.comments"></stringProp>
  186 + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  187 + <boolProp name="Assertion.assume_success">false</boolProp>
  188 + <intProp name="Assertion.test_type">16</intProp>
  189 + </ResponseAssertion>
  190 + <hashTree/>
  191 + </hashTree>
  192 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_2" enabled="true">
  193 + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  194 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  195 + <collectionProp name="Arguments.arguments">
  196 + <elementProp name="" elementType="HTTPArgument">
  197 + <boolProp name="HTTPArgument.always_encode">false</boolProp>
  198 + <stringProp name="Argument.value"></stringProp>
  199 + <stringProp name="Argument.metadata">=</stringProp>
  200 + </elementProp>
  201 + </collectionProp>
  202 + </elementProp>
  203 + <stringProp name="HTTPSampler.domain"></stringProp>
  204 + <stringProp name="HTTPSampler.port"></stringProp>
  205 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  206 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  207 + <stringProp name="HTTPSampler.protocol"></stringProp>
  208 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  209 + <stringProp name="HTTPSampler.path">http://www.yohobuy.com/channel/isNewUserAjax</stringProp>
  210 + <stringProp name="HTTPSampler.method">GET</stringProp>
  211 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  212 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  213 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  214 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  215 + <boolProp name="HTTPSampler.monitor">false</boolProp>
  216 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  217 + <stringProp name="TestPlan.comments">&#21153;&#24517;&#20197;tc_&#24320;&#22836;&#65292;&#21542;&#21017;&#26080;&#27861;&#33719;&#21462;&#32479;&#35745;&#32467;&#26524;</stringProp>
  218 + </HTTPSamplerProxy>
  219 + <hashTree>
  220 + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="&#21709;&#24212;&#26029;&#35328;" enabled="true">
  221 + <collectionProp name="Asserion.test_strings">
  222 + <stringProp name="1450572480"></stringProp>
  223 + </collectionProp>
  224 + <stringProp name="TestPlan.comments"></stringProp>
  225 + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  226 + <boolProp name="Assertion.assume_success">false</boolProp>
  227 + <intProp name="Assertion.test_type">16</intProp>
  228 + </ResponseAssertion>
  229 + <hashTree/>
  230 + </hashTree>
  231 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_3" enabled="true">
  232 + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  233 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  234 + <collectionProp name="Arguments.arguments">
  235 + <elementProp name="" elementType="HTTPArgument">
  236 + <boolProp name="HTTPArgument.always_encode">false</boolProp>
  237 + <stringProp name="Argument.value"></stringProp>
  238 + <stringProp name="Argument.metadata">=</stringProp>
  239 + </elementProp>
  240 + </collectionProp>
  241 + </elementProp>
  242 + <stringProp name="HTTPSampler.domain"></stringProp>
  243 + <stringProp name="HTTPSampler.port"></stringProp>
  244 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  245 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  246 + <stringProp name="HTTPSampler.protocol"></stringProp>
  247 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  248 + <stringProp name="HTTPSampler.path">http://www.yohobuy.com/passport/cert/headerTip?callback=jQuery112409858715270747556_1505876076710&amp;_=1505876076712</stringProp>
  249 + <stringProp name="HTTPSampler.method">GET</stringProp>
  250 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  251 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  252 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  253 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  254 + <boolProp name="HTTPSampler.monitor">false</boolProp>
  255 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  256 + <stringProp name="TestPlan.comments">&#21153;&#24517;&#20197;tc_&#24320;&#22836;&#65292;&#21542;&#21017;&#26080;&#27861;&#33719;&#21462;&#32479;&#35745;&#32467;&#26524;</stringProp>
  257 + </HTTPSamplerProxy>
  258 + <hashTree>
  259 + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="&#21709;&#24212;&#26029;&#35328;" enabled="true">
  260 + <collectionProp name="Asserion.test_strings">
  261 + <stringProp name="1450572480"></stringProp>
  262 + </collectionProp>
  263 + <stringProp name="TestPlan.comments"></stringProp>
  264 + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  265 + <boolProp name="Assertion.assume_success">false</boolProp>
  266 + <intProp name="Assertion.test_type">16</intProp>
  267 + </ResponseAssertion>
  268 + <hashTree/>
  269 + </hashTree>
  270 + </hashTree>
  271 + </hashTree>
  272 + <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="&#22266;&#23450;TPM" enabled="true">
  273 + <stringProp name="TestPlan.comments"></stringProp>
  274 + <doubleProp>
  275 + <name>throughput</name>
  276 + <value>60000</value>
  277 + <savedValue>0.0</savedValue>
  278 + </doubleProp>
  279 + <intProp name="calcMode">2</intProp>
  280 + </ConstantThroughputTimer>
  281 + <hashTree/>
  282 + </hashTree>
  283 + <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true">
  284 + <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
  285 + <collectionProp name="Arguments.arguments">
  286 + <elementProp name="graphiteMetricsSender" elementType="Argument">
  287 + <stringProp name="Argument.name">graphiteMetricsSender</stringProp>
  288 + <stringProp name="Argument.value">org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender</stringProp>
  289 + <stringProp name="Argument.metadata">=</stringProp>
  290 + </elementProp>
  291 + <elementProp name="graphiteHost" elementType="Argument">
  292 + <stringProp name="Argument.name">graphiteHost</stringProp>
  293 + <stringProp name="Argument.value">192.168.104.43</stringProp>
  294 + <stringProp name="Argument.metadata">=</stringProp>
  295 + </elementProp>
  296 + <elementProp name="graphitePort" elementType="Argument">
  297 + <stringProp name="Argument.name">graphitePort</stringProp>
  298 + <stringProp name="Argument.value">2003</stringProp>
  299 + <stringProp name="Argument.metadata">=</stringProp>
  300 + </elementProp>
  301 + <elementProp name="rootMetricsPrefix" elementType="Argument">
  302 + <stringProp name="Argument.name">rootMetricsPrefix</stringProp>
  303 + <stringProp name="Argument.value">${__machineIP()}.</stringProp>
  304 + <stringProp name="Argument.metadata">=</stringProp>
  305 + </elementProp>
  306 + <elementProp name="summaryOnly" elementType="Argument">
  307 + <stringProp name="Argument.name">summaryOnly</stringProp>
  308 + <stringProp name="Argument.value">false</stringProp>
  309 + <stringProp name="Argument.metadata">=</stringProp>
  310 + </elementProp>
  311 + <elementProp name="samplersList" elementType="Argument">
  312 + <stringProp name="Argument.name">samplersList</stringProp>
  313 + <stringProp name="Argument.value">tc_.*</stringProp>
  314 + <stringProp name="Argument.metadata">=</stringProp>
  315 + </elementProp>
  316 + <elementProp name="useRegexpForSamplersList" elementType="Argument">
  317 + <stringProp name="Argument.name">useRegexpForSamplersList</stringProp>
  318 + <stringProp name="Argument.value">true</stringProp>
  319 + <stringProp name="Argument.metadata">=</stringProp>
  320 + </elementProp>
  321 + <elementProp name="percentiles" elementType="Argument">
  322 + <stringProp name="Argument.name">percentiles</stringProp>
  323 + <stringProp name="Argument.value">90</stringProp>
  324 + <stringProp name="Argument.metadata">=</stringProp>
  325 + </elementProp>
  326 + </collectionProp>
  327 + </elementProp>
  328 + <stringProp name="classname">org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient</stringProp>
  329 + <stringProp name="TestPlan.comments"></stringProp>
  330 + </BackendListener>
  331 + <hashTree/> </hashTree>
  332 + </hashTree>
  333 +</jmeterTestPlan>