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="&#35746;&#21333;&#21015;&#34920;1" 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_h5" 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 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36</stringProp>
  20 + </elementProp>
  21 + <elementProp name="" elementType="Header">
  22 + <stringProp name="Header.name">Accept</stringProp>
  23 + <stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8</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;q=0.6</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">Upgrade-Insecure-Requests</stringProp>
  39 + <stringProp name="Header.value">1</stringProp>
  40 + </elementProp>
  41 + <elementProp name="" elementType="Header">
  42 + <stringProp name="Header.name">Host</stringProp>
  43 + <stringProp name="Header.value">m.yohobuy.com</stringProp>
  44 + </elementProp>
  45 + </collectionProp>
  46 + <stringProp name="TestPlan.comments"></stringProp>
  47 + </HeaderManager>
  48 + <hashTree/>
  49 + <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="cookie_&#31354;&#30333;" enabled="true">
  50 + <collectionProp name="CookieManager.cookies">
  51 + </collectionProp>
  52 + <stringProp name="TestPlan.comments"></stringProp>
  53 + <boolProp name="CookieManager.clearEachIteration">false</boolProp>
  54 + <stringProp name="CookieManager.policy">standard</stringProp>
  55 + <stringProp name="CookieManager.implementation">org.apache.jmeter.protocol.http.control.HC4CookieHandler</stringProp>
  56 + </CookieManager>
  57 + <hashTree/>
  58 + <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="arguments_&#24615;&#33021;&#27979;&#35797;&#29615;&#22659;" enabled="true">
  59 + <collectionProp name="Arguments.arguments">
  60 + <elementProp name="HOST_API" elementType="Argument">
  61 + <stringProp name="Argument.name">HOST_API</stringProp>
  62 + <stringProp name="Argument.value">api-pt.yohoops.org</stringProp>
  63 + <stringProp name="Argument.metadata">=</stringProp>
  64 + </elementProp>
  65 + <elementProp name="HOST_SERVICE" elementType="Argument">
  66 + <stringProp name="Argument.name">HOST_SERVICE</stringProp>
  67 + <stringProp name="Argument.value">service-pt.yohoops.org</stringProp>
  68 + <stringProp name="Argument.metadata">=</stringProp>
  69 + </elementProp>
  70 + <elementProp name="HOST_PC" elementType="Argument">
  71 + <stringProp name="Argument.name">HOST_PC</stringProp>
  72 + <stringProp name="Argument.value">www.yohobuy.com</stringProp>
  73 + <stringProp name="Argument.metadata">=</stringProp>
  74 + </elementProp>
  75 + <elementProp name="HOST_SEARCH" elementType="Argument">
  76 + <stringProp name="Argument.name">HOST_SEARCH</stringProp>
  77 + <stringProp name="Argument.value">searchyohoops.yohobuy.com</stringProp>
  78 + <stringProp name="Argument.metadata">=</stringProp>
  79 + </elementProp>
  80 + <elementProp name="HOST_ITEM" elementType="Argument">
  81 + <stringProp name="Argument.name">HOST_ITEM</stringProp>
  82 + <stringProp name="Argument.value">item.yohobuy.com</stringProp>
  83 + <stringProp name="Argument.metadata">=</stringProp>
  84 + </elementProp>
  85 + <elementProp name="HOST_LIST" elementType="Argument">
  86 + <stringProp name="Argument.name">HOST_LIST</stringProp>
  87 + <stringProp name="Argument.value">list.yohobuy.com</stringProp>
  88 + <stringProp name="Argument.metadata">=</stringProp>
  89 + </elementProp>
  90 + <elementProp name="HOST_SHOP" elementType="Argument">
  91 + <stringProp name="Argument.name">HOST_SHOP</stringProp>
  92 + <stringProp name="Argument.value">izzue.yohobuy.com</stringProp>
  93 + <stringProp name="Argument.metadata">=</stringProp>
  94 + </elementProp>
  95 + <elementProp name="ID_SHOP" elementType="Argument">
  96 + <stringProp name="Argument.name">ID_SHOP</stringProp>
  97 + <stringProp name="Argument.value">1486</stringProp>
  98 + <stringProp name="Argument.metadata">=</stringProp>
  99 + </elementProp>
  100 + <elementProp name="HOST_H5" elementType="Argument">
  101 + <stringProp name="Argument.name">HOST_H5</stringProp>
  102 + <stringProp name="Argument.value">m.yohobuy.com</stringProp>
  103 + <stringProp name="Argument.metadata">=</stringProp>
  104 + </elementProp>
  105 + <elementProp name="HOST_SEARCH_H5" elementType="Argument">
  106 + <stringProp name="Argument.name">HOST_SEARCH_H5</stringProp>
  107 + <stringProp name="Argument.value">search.m.yohobuy.com</stringProp>
  108 + <stringProp name="Argument.metadata">=</stringProp>
  109 + </elementProp>
  110 + <elementProp name="HOST_GUANG_H5" elementType="Argument">
  111 + <stringProp name="Argument.name">HOST_GUANG_H5</stringProp>
  112 + <stringProp name="Argument.value">guang.m.yohobuy.com</stringProp>
  113 + <stringProp name="Argument.metadata">=</stringProp>
  114 + </elementProp>
  115 + <elementProp name="HOST_LIST_H5" elementType="Argument">
  116 + <stringProp name="Argument.name">HOST_LIST_H5</stringProp>
  117 + <stringProp name="Argument.value">list.m.yohobuy.com</stringProp>
  118 + <stringProp name="Argument.metadata">=</stringProp>
  119 + </elementProp>
  120 + </collectionProp>
  121 + <stringProp name="TestPlan.comments"></stringProp> </Arguments>
  122 + <hashTree/>
  123 + <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="data_uid_mobile_openid_test_1w" enabled="true">
  124 + <stringProp name="TestPlan.comments"></stringProp>
  125 + <stringProp name="filename">/opt/jmeter/data/uid_mobile_openid_test.csv</stringProp>
  126 + <stringProp name="fileEncoding">utf-8</stringProp>
  127 + <stringProp name="variableNames">uid_test,mobile_test,open_id_test</stringProp>
  128 + <stringProp name="delimiter">,</stringProp>
  129 + <boolProp name="quotedData">false</boolProp>
  130 + <boolProp name="recycle">true</boolProp>
  131 + <boolProp name="stopThread">false</boolProp>
  132 + <stringProp name="shareMode">shareMode.all</stringProp>
  133 + </CSVDataSet>
  134 + <hashTree/>
  135 + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_&#35746;&#21333;&#39029;h5" enabled="true">
  136 + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
  137 + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true">
  138 + <boolProp name="LoopController.continue_forever">false</boolProp>
  139 + <intProp name="LoopController.loops">-1</intProp>
  140 + </elementProp>
  141 + <stringProp name="ThreadGroup.num_threads">100</stringProp>
  142 + <stringProp name="ThreadGroup.ramp_time">10</stringProp>
  143 + <longProp name="ThreadGroup.start_time">1488865571000</longProp>
  144 + <longProp name="ThreadGroup.end_time">1488865571000</longProp>
  145 + <boolProp name="ThreadGroup.scheduler">false</boolProp>
  146 + <stringProp name="ThreadGroup.duration"></stringProp>
  147 + <stringProp name="ThreadGroup.delay"></stringProp>
  148 + <stringProp name="TestPlan.comments"></stringProp>
  149 + </ThreadGroup>
  150 + <hashTree>
  151 +<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/>
  152 + <hashTree>
  153 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true">
  154 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true">
  155 + <collectionProp name="Arguments.arguments"/>
  156 + </elementProp>
  157 + <stringProp name="HTTPSampler.domain"></stringProp>
  158 + <stringProp name="HTTPSampler.port"></stringProp>
  159 + <stringProp name="HTTPSampler.protocol"></stringProp>
  160 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  161 + <stringProp name="HTTPSampler.path">http://${HOST_H5}/signin.html</stringProp>
  162 + <stringProp name="HTTPSampler.method">GET</stringProp>
  163 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  164 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  165 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  166 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  167 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  168 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  169 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  170 + </HTTPSamplerProxy>
  171 + <hashTree>
  172 + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
  173 + <collectionProp name="Asserion.test_strings"/>
  174 + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  175 + <boolProp name="Assertion.assume_success">false</boolProp>
  176 + <intProp name="Assertion.test_type">16</intProp>
  177 + </ResponseAssertion>
  178 + <hashTree/>
  179 + </hashTree>
  180 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true">
  181 + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  182 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  183 + <collectionProp name="Arguments.arguments">
  184 + <elementProp name="" elementType="HTTPArgument">
  185 + <boolProp name="HTTPArgument.always_encode">false</boolProp>
  186 + <stringProp name="Argument.value">areaCode=86&amp;account=${mobile_test}&amp;password=abc123&amp;verifyCode=yoho4946abcdef%23%24%25%26!%40&amp;isRemember=true&amp;loginType=password&amp;yohobuy=yoho4946abcdef%23%24%25%26!%40</stringProp>
  187 + <stringProp name="Argument.metadata">=</stringProp>
  188 + </elementProp>
  189 + </collectionProp>
  190 + </elementProp>
  191 + <stringProp name="HTTPSampler.domain"></stringProp>
  192 + <stringProp name="HTTPSampler.port"></stringProp>
  193 + <stringProp name="HTTPSampler.protocol"></stringProp>
  194 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  195 + <stringProp name="HTTPSampler.path">http://${HOST_H5}/passport/login/auth</stringProp>
  196 + <stringProp name="HTTPSampler.method">POST</stringProp>
  197 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  198 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  199 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  200 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  201 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  202 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  203 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  204 + </HTTPSamplerProxy>
  205 + <hashTree>
  206 + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true">
  207 + <collectionProp name="Asserion.test_strings">
  208 + <stringProp name="723337899">&quot;code&quot;:200</stringProp>
  209 + </collectionProp>
  210 + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
  211 + <boolProp name="Assertion.assume_success">false</boolProp>
  212 + <intProp name="Assertion.test_type">16</intProp>
  213 + </ResponseAssertion>
  214 + <hashTree/>
  215 + </hashTree>
  216 + </hashTree>
  217 + <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true">
  218 + <boolProp name="PARENT_SAMPLE">false</boolProp>
  219 + </com.blazemeter.jmeter.controller.ParallelSampler>
  220 + <hashTree>
  221 + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_&#35746;&#21333;&#39029;h5" enabled="true">
  222 + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
  223 + <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
  224 + <collectionProp name="Arguments.arguments">
  225 + <elementProp name="" elementType="HTTPArgument">
  226 + <boolProp name="HTTPArgument.always_encode">false</boolProp>
  227 + <stringProp name="Argument.value"></stringProp>
  228 + <stringProp name="Argument.metadata">=</stringProp>
  229 + </elementProp>
  230 + </collectionProp>
  231 + </elementProp>
  232 + <stringProp name="HTTPSampler.domain"></stringProp>
  233 + <stringProp name="HTTPSampler.port"></stringProp>
  234 + <stringProp name="HTTPSampler.connect_timeout"></stringProp>
  235 + <stringProp name="HTTPSampler.response_timeout"></stringProp>
  236 + <stringProp name="HTTPSampler.protocol"></stringProp>
  237 + <stringProp name="HTTPSampler.contentEncoding"></stringProp>
  238 + <stringProp name="HTTPSampler.path">http://${HOST_H5}/home/orders</stringProp>
  239 + <stringProp name="HTTPSampler.method">GET</stringProp>
  240 + <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
  241 + <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
  242 + <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
  243 + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
  244 + <boolProp name="HTTPSampler.monitor">false</boolProp>
  245 + <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
  246 + <stringProp name="TestPlan.comments"></stringProp>
  247 + </HTTPSamplerProxy>
  248 + <hashTree>
  249 + </hashTree>
  250 + </hashTree>
  251 + <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="&#22266;&#23450;TPM" enabled="true">
  252 + <stringProp name="TestPlan.comments"></stringProp>
  253 + <doubleProp>
  254 + <name>throughput</name>
  255 + <value>60000</value>
  256 + <savedValue>0.0</savedValue>
  257 + </doubleProp>
  258 + <intProp name="calcMode">2</intProp>
  259 + </ConstantThroughputTimer>
  260 + <hashTree/>
  261 + </hashTree>
  262 + <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true">
  263 + <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true">
  264 + <collectionProp name="Arguments.arguments">
  265 + <elementProp name="graphiteMetricsSender" elementType="Argument">
  266 + <stringProp name="Argument.name">graphiteMetricsSender</stringProp>
  267 + <stringProp name="Argument.value">org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender</stringProp>
  268 + <stringProp name="Argument.metadata">=</stringProp>
  269 + </elementProp>
  270 + <elementProp name="graphiteHost" elementType="Argument">
  271 + <stringProp name="Argument.name">graphiteHost</stringProp>
  272 + <stringProp name="Argument.value">192.168.104.43</stringProp>
  273 + <stringProp name="Argument.metadata">=</stringProp>
  274 + </elementProp>
  275 + <elementProp name="graphitePort" elementType="Argument">
  276 + <stringProp name="Argument.name">graphitePort</stringProp>
  277 + <stringProp name="Argument.value">2003</stringProp>
  278 + <stringProp name="Argument.metadata">=</stringProp>
  279 + </elementProp>
  280 + <elementProp name="rootMetricsPrefix" elementType="Argument">
  281 + <stringProp name="Argument.name">rootMetricsPrefix</stringProp>
  282 + <stringProp name="Argument.value">${__machineIP()}.</stringProp>
  283 + <stringProp name="Argument.metadata">=</stringProp>
  284 + </elementProp>
  285 + <elementProp name="summaryOnly" elementType="Argument">
  286 + <stringProp name="Argument.name">summaryOnly</stringProp>
  287 + <stringProp name="Argument.value">false</stringProp>
  288 + <stringProp name="Argument.metadata">=</stringProp>
  289 + </elementProp>
  290 + <elementProp name="samplersList" elementType="Argument">
  291 + <stringProp name="Argument.name">samplersList</stringProp>
  292 + <stringProp name="Argument.value">tc_.*</stringProp>
  293 + <stringProp name="Argument.metadata">=</stringProp>
  294 + </elementProp>
  295 + <elementProp name="useRegexpForSamplersList" elementType="Argument">
  296 + <stringProp name="Argument.name">useRegexpForSamplersList</stringProp>
  297 + <stringProp name="Argument.value">true</stringProp>
  298 + <stringProp name="Argument.metadata">=</stringProp>
  299 + </elementProp>
  300 + <elementProp name="percentiles" elementType="Argument">
  301 + <stringProp name="Argument.name">percentiles</stringProp>
  302 + <stringProp name="Argument.value">90</stringProp>
  303 + <stringProp name="Argument.metadata">=</stringProp>
  304 + </elementProp>
  305 + </collectionProp>
  306 + </elementProp>
  307 + <stringProp name="classname">org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient</stringProp>
  308 + <stringProp name="TestPlan.comments"></stringProp>
  309 + </BackendListener>
  310 + <hashTree/> </hashTree>
  311 + </hashTree>
  312 +</jmeterTestPlan>