commit
Showing
2 changed files
with
788 additions
and
0 deletions
jmeterTool/src/main/resources/扫码活动压测.jmx
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3"> | ||
| 3 | <hashTree> | ||
| 4 | <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="测试计划" enabled="true"> | ||
| 5 | <stringProp name="TestPlan.comments"></stringProp> | ||
| 6 | <boolProp name="TestPlan.functional_mode">false</boolProp> | ||
| 7 | <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> | ||
| 8 | <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | ||
| 9 | <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 10 | <collectionProp name="Arguments.arguments"/> | ||
| 11 | </elementProp> | ||
| 12 | <stringProp name="TestPlan.user_define_classpath"></stringProp> | ||
| 13 | </TestPlan> | ||
| 14 | <hashTree> | ||
| 15 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 16 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 17 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 18 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 19 | <intProp name="LoopController.loops">-1</intProp> | ||
| 20 | </elementProp> | ||
| 21 | <stringProp name="ThreadGroup.num_threads">600</stringProp> | ||
| 22 | <stringProp name="ThreadGroup.ramp_time">10</stringProp> | ||
| 23 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 24 | <stringProp name="ThreadGroup.duration">600</stringProp> | ||
| 25 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 26 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 27 | </ThreadGroup> | ||
| 28 | <hashTree> | ||
| 29 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="扫码活动压测" enabled="true"> | ||
| 30 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 31 | <collectionProp name="Arguments.arguments"/> | ||
| 32 | </elementProp> | ||
| 33 | <stringProp name="HTTPSampler.domain">app.jxbrty.com/app/live/roar.html?fixed=0e08cbe6&actid=10&uid=11406869&type=0546w5Zy65ZC8#/progress</stringProp> | ||
| 34 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 35 | <stringProp name="HTTPSampler.protocol"></stringProp> | ||
| 36 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 37 | <stringProp name="HTTPSampler.path"></stringProp> | ||
| 38 | <stringProp name="HTTPSampler.method">GET</stringProp> | ||
| 39 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 40 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 41 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 42 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 43 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 44 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 45 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 46 | </HTTPSamplerProxy> | ||
| 47 | <hashTree/> | ||
| 48 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="察看结果树" enabled="false"> | ||
| 49 | <boolProp name="ResultCollector.error_logging">false</boolProp> | ||
| 50 | <objProp> | ||
| 51 | <name>saveConfig</name> | ||
| 52 | <value class="SampleSaveConfiguration"> | ||
| 53 | <time>true</time> | ||
| 54 | <latency>true</latency> | ||
| 55 | <timestamp>true</timestamp> | ||
| 56 | <success>true</success> | ||
| 57 | <label>true</label> | ||
| 58 | <code>true</code> | ||
| 59 | <message>true</message> | ||
| 60 | <threadName>true</threadName> | ||
| 61 | <dataType>true</dataType> | ||
| 62 | <encoding>false</encoding> | ||
| 63 | <assertions>true</assertions> | ||
| 64 | <subresults>true</subresults> | ||
| 65 | <responseData>false</responseData> | ||
| 66 | <samplerData>false</samplerData> | ||
| 67 | <xml>false</xml> | ||
| 68 | <fieldNames>true</fieldNames> | ||
| 69 | <responseHeaders>false</responseHeaders> | ||
| 70 | <requestHeaders>false</requestHeaders> | ||
| 71 | <responseDataOnError>false</responseDataOnError> | ||
| 72 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> | ||
| 73 | <assertionsResultsToSave>0</assertionsResultsToSave> | ||
| 74 | <bytes>true</bytes> | ||
| 75 | <sentBytes>true</sentBytes> | ||
| 76 | <url>true</url> | ||
| 77 | <threadCounts>true</threadCounts> | ||
| 78 | <idleTime>true</idleTime> | ||
| 79 | <connectTime>true</connectTime> | ||
| 80 | </value> | ||
| 81 | </objProp> | ||
| 82 | <stringProp name="filename"></stringProp> | ||
| 83 | </ResultCollector> | ||
| 84 | <hashTree/> | ||
| 85 | <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="聚合报告" enabled="true"> | ||
| 86 | <boolProp name="ResultCollector.error_logging">false</boolProp> | ||
| 87 | <objProp> | ||
| 88 | <name>saveConfig</name> | ||
| 89 | <value class="SampleSaveConfiguration"> | ||
| 90 | <time>true</time> | ||
| 91 | <latency>true</latency> | ||
| 92 | <timestamp>true</timestamp> | ||
| 93 | <success>true</success> | ||
| 94 | <label>true</label> | ||
| 95 | <code>true</code> | ||
| 96 | <message>true</message> | ||
| 97 | <threadName>true</threadName> | ||
| 98 | <dataType>true</dataType> | ||
| 99 | <encoding>false</encoding> | ||
| 100 | <assertions>true</assertions> | ||
| 101 | <subresults>true</subresults> | ||
| 102 | <responseData>false</responseData> | ||
| 103 | <samplerData>false</samplerData> | ||
| 104 | <xml>false</xml> | ||
| 105 | <fieldNames>true</fieldNames> | ||
| 106 | <responseHeaders>false</responseHeaders> | ||
| 107 | <requestHeaders>false</requestHeaders> | ||
| 108 | <responseDataOnError>false</responseDataOnError> | ||
| 109 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> | ||
| 110 | <assertionsResultsToSave>0</assertionsResultsToSave> | ||
| 111 | <bytes>true</bytes> | ||
| 112 | <sentBytes>true</sentBytes> | ||
| 113 | <url>true</url> | ||
| 114 | <threadCounts>true</threadCounts> | ||
| 115 | <idleTime>true</idleTime> | ||
| 116 | <connectTime>true</connectTime> | ||
| 117 | </value> | ||
| 118 | </objProp> | ||
| 119 | <stringProp name="filename"></stringProp> | ||
| 120 | </ResultCollector> | ||
| 121 | <hashTree/> | ||
| 122 | </hashTree> | ||
| 123 | </hashTree> | ||
| 124 | </hashTree> | ||
| 125 | </jmeterTestPlan> |
jmeterTool/src/main/resources/活动平台二期压测.jmx
0 → 100644
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.3"> | ||
| 3 | <hashTree> | ||
| 4 | <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="测试计划" enabled="true"> | ||
| 5 | <stringProp name="TestPlan.comments"></stringProp> | ||
| 6 | <boolProp name="TestPlan.functional_mode">false</boolProp> | ||
| 7 | <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp> | ||
| 8 | <boolProp name="TestPlan.serialize_threadgroups">true</boolProp> | ||
| 9 | <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 10 | <collectionProp name="Arguments.arguments"/> | ||
| 11 | </elementProp> | ||
| 12 | <stringProp name="TestPlan.user_define_classpath"></stringProp> | ||
| 13 | </TestPlan> | ||
| 14 | <hashTree> | ||
| 15 | <BeanShellPreProcessor guiclass="TestBeanGUI" testclass="BeanShellPreProcessor" testname="BeanShell 预处理程序" enabled="true"> | ||
| 16 | <boolProp name="resetInterpreter">false</boolProp> | ||
| 17 | <stringProp name="parameters"></stringProp> | ||
| 18 | <stringProp name="filename"></stringProp> | ||
| 19 | <stringProp name="script">props.put("activityId","6170e382b7877a004250b501"); | ||
| 20 | props.put("phone","13683231025"); | ||
| 21 | props.put("platform","app"); | ||
| 22 | props.put("agentUid","5082884"); | ||
| 23 | vars.put("host","cloud-api.uviewui.com");</stringProp> | ||
| 24 | </BeanShellPreProcessor> | ||
| 25 | <hashTree/> | ||
| 26 | <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="察看结果树" enabled="true"> | ||
| 27 | <boolProp name="ResultCollector.error_logging">true</boolProp> | ||
| 28 | <objProp> | ||
| 29 | <name>saveConfig</name> | ||
| 30 | <value class="SampleSaveConfiguration"> | ||
| 31 | <time>true</time> | ||
| 32 | <latency>true</latency> | ||
| 33 | <timestamp>true</timestamp> | ||
| 34 | <success>true</success> | ||
| 35 | <label>true</label> | ||
| 36 | <code>true</code> | ||
| 37 | <message>true</message> | ||
| 38 | <threadName>true</threadName> | ||
| 39 | <dataType>true</dataType> | ||
| 40 | <encoding>false</encoding> | ||
| 41 | <assertions>true</assertions> | ||
| 42 | <subresults>true</subresults> | ||
| 43 | <responseData>false</responseData> | ||
| 44 | <samplerData>false</samplerData> | ||
| 45 | <xml>false</xml> | ||
| 46 | <fieldNames>true</fieldNames> | ||
| 47 | <responseHeaders>false</responseHeaders> | ||
| 48 | <requestHeaders>false</requestHeaders> | ||
| 49 | <responseDataOnError>false</responseDataOnError> | ||
| 50 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> | ||
| 51 | <assertionsResultsToSave>0</assertionsResultsToSave> | ||
| 52 | <bytes>true</bytes> | ||
| 53 | <sentBytes>true</sentBytes> | ||
| 54 | <url>true</url> | ||
| 55 | <threadCounts>true</threadCounts> | ||
| 56 | <idleTime>true</idleTime> | ||
| 57 | <connectTime>true</connectTime> | ||
| 58 | </value> | ||
| 59 | </objProp> | ||
| 60 | <stringProp name="filename"></stringProp> | ||
| 61 | </ResultCollector> | ||
| 62 | <hashTree/> | ||
| 63 | <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="汇总报告" enabled="true"> | ||
| 64 | <boolProp name="ResultCollector.error_logging">false</boolProp> | ||
| 65 | <objProp> | ||
| 66 | <name>saveConfig</name> | ||
| 67 | <value class="SampleSaveConfiguration"> | ||
| 68 | <time>true</time> | ||
| 69 | <latency>true</latency> | ||
| 70 | <timestamp>true</timestamp> | ||
| 71 | <success>true</success> | ||
| 72 | <label>true</label> | ||
| 73 | <code>true</code> | ||
| 74 | <message>true</message> | ||
| 75 | <threadName>true</threadName> | ||
| 76 | <dataType>true</dataType> | ||
| 77 | <encoding>false</encoding> | ||
| 78 | <assertions>true</assertions> | ||
| 79 | <subresults>true</subresults> | ||
| 80 | <responseData>false</responseData> | ||
| 81 | <samplerData>false</samplerData> | ||
| 82 | <xml>false</xml> | ||
| 83 | <fieldNames>true</fieldNames> | ||
| 84 | <responseHeaders>false</responseHeaders> | ||
| 85 | <requestHeaders>false</requestHeaders> | ||
| 86 | <responseDataOnError>false</responseDataOnError> | ||
| 87 | <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage> | ||
| 88 | <assertionsResultsToSave>0</assertionsResultsToSave> | ||
| 89 | <bytes>true</bytes> | ||
| 90 | <sentBytes>true</sentBytes> | ||
| 91 | <url>true</url> | ||
| 92 | <threadCounts>true</threadCounts> | ||
| 93 | <idleTime>true</idleTime> | ||
| 94 | <connectTime>true</connectTime> | ||
| 95 | </value> | ||
| 96 | </objProp> | ||
| 97 | <stringProp name="filename"></stringProp> | ||
| 98 | </ResultCollector> | ||
| 99 | <hashTree/> | ||
| 100 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 101 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 102 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 103 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 104 | <intProp name="LoopController.loops">-1</intProp> | ||
| 105 | </elementProp> | ||
| 106 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 107 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 108 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 109 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 110 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 111 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 112 | </ThreadGroup> | ||
| 113 | <hashTree> | ||
| 114 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="customerList" enabled="true"> | ||
| 115 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 116 | <collectionProp name="Arguments.arguments"> | ||
| 117 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 118 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 119 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 120 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 121 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 122 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 123 | </elementProp> | ||
| 124 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 125 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 126 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 127 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 128 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 129 | <stringProp name="Argument.name">phone</stringProp> | ||
| 130 | </elementProp> | ||
| 131 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 132 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 133 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 134 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 135 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 136 | <stringProp name="Argument.name">platform</stringProp> | ||
| 137 | </elementProp> | ||
| 138 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 139 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 140 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 141 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 142 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 143 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 144 | </elementProp> | ||
| 145 | <elementProp name="type" elementType="HTTPArgument"> | ||
| 146 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 147 | <stringProp name="Argument.value">signUp</stringProp> | ||
| 148 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 149 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 150 | <stringProp name="Argument.name">type</stringProp> | ||
| 151 | </elementProp> | ||
| 152 | <elementProp name="page" elementType="HTTPArgument"> | ||
| 153 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 154 | <stringProp name="Argument.value">1</stringProp> | ||
| 155 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 156 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 157 | <stringProp name="Argument.name">page</stringProp> | ||
| 158 | </elementProp> | ||
| 159 | <elementProp name="size" elementType="HTTPArgument"> | ||
| 160 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 161 | <stringProp name="Argument.value">10</stringProp> | ||
| 162 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 163 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 164 | <stringProp name="Argument.name">size</stringProp> | ||
| 165 | </elementProp> | ||
| 166 | <elementProp name="keyword" elementType="HTTPArgument"> | ||
| 167 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 168 | <stringProp name="Argument.value"></stringProp> | ||
| 169 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 170 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 171 | <stringProp name="Argument.name">keyword</stringProp> | ||
| 172 | </elementProp> | ||
| 173 | </collectionProp> | ||
| 174 | </elementProp> | ||
| 175 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 176 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 177 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 178 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 179 | <stringProp name="HTTPSampler.path">/apiv2/activity/customerList</stringProp> | ||
| 180 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 181 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 182 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 183 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 184 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 185 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 186 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 187 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 188 | </HTTPSamplerProxy> | ||
| 189 | <hashTree/> | ||
| 190 | </hashTree> | ||
| 191 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 192 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 193 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 194 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 195 | <intProp name="LoopController.loops">-1</intProp> | ||
| 196 | </elementProp> | ||
| 197 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 198 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 199 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 200 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 201 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 202 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 203 | </ThreadGroup> | ||
| 204 | <hashTree> | ||
| 205 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="role" enabled="true"> | ||
| 206 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 207 | <collectionProp name="Arguments.arguments"> | ||
| 208 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 209 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 210 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 211 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 212 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 213 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 214 | </elementProp> | ||
| 215 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 216 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 217 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 218 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 219 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 220 | <stringProp name="Argument.name">phone</stringProp> | ||
| 221 | </elementProp> | ||
| 222 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 223 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 224 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 225 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 226 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 227 | <stringProp name="Argument.name">platform</stringProp> | ||
| 228 | </elementProp> | ||
| 229 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 230 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 231 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 232 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 233 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 234 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 235 | </elementProp> | ||
| 236 | <elementProp name="uid" elementType="HTTPArgument"> | ||
| 237 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 238 | <stringProp name="Argument.value">5082884</stringProp> | ||
| 239 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 240 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 241 | <stringProp name="Argument.name">uid</stringProp> | ||
| 242 | </elementProp> | ||
| 243 | </collectionProp> | ||
| 244 | </elementProp> | ||
| 245 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 246 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 247 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 248 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 249 | <stringProp name="HTTPSampler.path">/apiv2/service/role</stringProp> | ||
| 250 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 251 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 252 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 253 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 254 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 255 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 256 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 257 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 258 | </HTTPSamplerProxy> | ||
| 259 | <hashTree/> | ||
| 260 | </hashTree> | ||
| 261 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 262 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 263 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 264 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 265 | <intProp name="LoopController.loops">-1</intProp> | ||
| 266 | </elementProp> | ||
| 267 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 268 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 269 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 270 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 271 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 272 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 273 | </ThreadGroup> | ||
| 274 | <hashTree> | ||
| 275 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="detail" enabled="true"> | ||
| 276 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 277 | <collectionProp name="Arguments.arguments"> | ||
| 278 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 279 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 280 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 281 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 282 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 283 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 284 | </elementProp> | ||
| 285 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 286 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 287 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 288 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 289 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 290 | <stringProp name="Argument.name">phone</stringProp> | ||
| 291 | </elementProp> | ||
| 292 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 293 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 294 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 295 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 296 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 297 | <stringProp name="Argument.name">platform</stringProp> | ||
| 298 | </elementProp> | ||
| 299 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 300 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 301 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 302 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 303 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 304 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 305 | </elementProp> | ||
| 306 | </collectionProp> | ||
| 307 | </elementProp> | ||
| 308 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 309 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 310 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 311 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 312 | <stringProp name="HTTPSampler.path">/apiv2/activity/detail</stringProp> | ||
| 313 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 314 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 315 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 316 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 317 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 318 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 319 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 320 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 321 | </HTTPSamplerProxy> | ||
| 322 | <hashTree/> | ||
| 323 | </hashTree> | ||
| 324 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 325 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 326 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 327 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 328 | <intProp name="LoopController.loops">-1</intProp> | ||
| 329 | </elementProp> | ||
| 330 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 331 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 332 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 333 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 334 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 335 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 336 | </ThreadGroup> | ||
| 337 | <hashTree> | ||
| 338 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="actLog" enabled="true"> | ||
| 339 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 340 | <collectionProp name="Arguments.arguments"> | ||
| 341 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 342 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 343 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 344 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 345 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 346 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 347 | </elementProp> | ||
| 348 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 349 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 350 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 351 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 352 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 353 | <stringProp name="Argument.name">phone</stringProp> | ||
| 354 | </elementProp> | ||
| 355 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 356 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 357 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 358 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 359 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 360 | <stringProp name="Argument.name">platform</stringProp> | ||
| 361 | </elementProp> | ||
| 362 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 363 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 364 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 365 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 366 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 367 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 368 | </elementProp> | ||
| 369 | <elementProp name="type" elementType="HTTPArgument"> | ||
| 370 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 371 | <stringProp name="Argument.value">titleList</stringProp> | ||
| 372 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 373 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 374 | <stringProp name="Argument.name">type</stringProp> | ||
| 375 | </elementProp> | ||
| 376 | </collectionProp> | ||
| 377 | </elementProp> | ||
| 378 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 379 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 380 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 381 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 382 | <stringProp name="HTTPSampler.path">/apiv2/activity/actLog</stringProp> | ||
| 383 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 384 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 385 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 386 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 387 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 388 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 389 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 390 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 391 | </HTTPSamplerProxy> | ||
| 392 | <hashTree/> | ||
| 393 | </hashTree> | ||
| 394 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 395 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 396 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 397 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 398 | <intProp name="LoopController.loops">-1</intProp> | ||
| 399 | </elementProp> | ||
| 400 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 401 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 402 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 403 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 404 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 405 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 406 | </ThreadGroup> | ||
| 407 | <hashTree> | ||
| 408 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="checkFirstUseApp" enabled="true"> | ||
| 409 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 410 | <collectionProp name="Arguments.arguments"> | ||
| 411 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 412 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 413 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 414 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 415 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 416 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 417 | </elementProp> | ||
| 418 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 419 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 420 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 421 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 422 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 423 | <stringProp name="Argument.name">phone</stringProp> | ||
| 424 | </elementProp> | ||
| 425 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 426 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 427 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 428 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 429 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 430 | <stringProp name="Argument.name">platform</stringProp> | ||
| 431 | </elementProp> | ||
| 432 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 433 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 434 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 435 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 436 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 437 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 438 | </elementProp> | ||
| 439 | </collectionProp> | ||
| 440 | </elementProp> | ||
| 441 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 442 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 443 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 444 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 445 | <stringProp name="HTTPSampler.path">/apiv2/user/checkFirstUseApp</stringProp> | ||
| 446 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 447 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 448 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 449 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 450 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 451 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 452 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 453 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 454 | </HTTPSamplerProxy> | ||
| 455 | <hashTree/> | ||
| 456 | </hashTree> | ||
| 457 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 458 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 459 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 460 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 461 | <intProp name="LoopController.loops">-1</intProp> | ||
| 462 | </elementProp> | ||
| 463 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 464 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 465 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 466 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 467 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 468 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 469 | </ThreadGroup> | ||
| 470 | <hashTree> | ||
| 471 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="prizeList" enabled="true"> | ||
| 472 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 473 | <collectionProp name="Arguments.arguments"> | ||
| 474 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 475 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 476 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 477 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 478 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 479 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 480 | </elementProp> | ||
| 481 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 482 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 483 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 484 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 485 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 486 | <stringProp name="Argument.name">phone</stringProp> | ||
| 487 | </elementProp> | ||
| 488 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 489 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 490 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 491 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 492 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 493 | <stringProp name="Argument.name">platform</stringProp> | ||
| 494 | </elementProp> | ||
| 495 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 496 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 497 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 498 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 499 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 500 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 501 | </elementProp> | ||
| 502 | <elementProp name="page" elementType="HTTPArgument"> | ||
| 503 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 504 | <stringProp name="Argument.value">1</stringProp> | ||
| 505 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 506 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 507 | <stringProp name="Argument.name">page</stringProp> | ||
| 508 | </elementProp> | ||
| 509 | <elementProp name="size" elementType="HTTPArgument"> | ||
| 510 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 511 | <stringProp name="Argument.value">15</stringProp> | ||
| 512 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 513 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 514 | <stringProp name="Argument.name">size</stringProp> | ||
| 515 | </elementProp> | ||
| 516 | </collectionProp> | ||
| 517 | </elementProp> | ||
| 518 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 519 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 520 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 521 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 522 | <stringProp name="HTTPSampler.path">/apiv2/activity/prizeList</stringProp> | ||
| 523 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 524 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 525 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 526 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 527 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 528 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 529 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 530 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 531 | </HTTPSamplerProxy> | ||
| 532 | <hashTree/> | ||
| 533 | </hashTree> | ||
| 534 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 535 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 536 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 537 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 538 | <intProp name="LoopController.loops">-1</intProp> | ||
| 539 | </elementProp> | ||
| 540 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 541 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 542 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 543 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 544 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 545 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 546 | </ThreadGroup> | ||
| 547 | <hashTree> | ||
| 548 | <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP信息头管理器" enabled="true"> | ||
| 549 | <collectionProp name="HeaderManager.headers"> | ||
| 550 | <elementProp name="" elementType="Header"> | ||
| 551 | <stringProp name="Header.name">Content-Type</stringProp> | ||
| 552 | <stringProp name="Header.value">application/json</stringProp> | ||
| 553 | </elementProp> | ||
| 554 | </collectionProp> | ||
| 555 | </HeaderManager> | ||
| 556 | <hashTree/> | ||
| 557 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="customerCount" enabled="true"> | ||
| 558 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
| 559 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
| 560 | <collectionProp name="Arguments.arguments"> | ||
| 561 | <elementProp name="" elementType="HTTPArgument"> | ||
| 562 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 563 | <stringProp name="Argument.value">{
 | ||
| 564 | "fields": ["signUp", "unActive", "prize"],
 | ||
| 565 | "keyword": "",
 | ||
| 566 | "activityId": "6170e382b7877a004250b501",
 | ||
| 567 | "phone": "13683231025",
 | ||
| 568 | "platform": "app",
 | ||
| 569 | "agentUid": 5082884
 | ||
| 570 | }</stringProp> | ||
| 571 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 572 | </elementProp> | ||
| 573 | </collectionProp> | ||
| 574 | </elementProp> | ||
| 575 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 576 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 577 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 578 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 579 | <stringProp name="HTTPSampler.path">/apiv2/activity/customerCount</stringProp> | ||
| 580 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 581 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 582 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 583 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 584 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 585 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 586 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 587 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 588 | </HTTPSamplerProxy> | ||
| 589 | <hashTree/> | ||
| 590 | </hashTree> | ||
| 591 | <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="线程组" enabled="true"> | ||
| 592 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
| 593 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
| 594 | <boolProp name="LoopController.continue_forever">false</boolProp> | ||
| 595 | <intProp name="LoopController.loops">-1</intProp> | ||
| 596 | </elementProp> | ||
| 597 | <stringProp name="ThreadGroup.num_threads">200</stringProp> | ||
| 598 | <stringProp name="ThreadGroup.ramp_time">1</stringProp> | ||
| 599 | <boolProp name="ThreadGroup.scheduler">true</boolProp> | ||
| 600 | <stringProp name="ThreadGroup.duration">60</stringProp> | ||
| 601 | <stringProp name="ThreadGroup.delay"></stringProp> | ||
| 602 | <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> | ||
| 603 | </ThreadGroup> | ||
| 604 | <hashTree> | ||
| 605 | <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="luckDraw" enabled="true"> | ||
| 606 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
| 607 | <collectionProp name="Arguments.arguments"> | ||
| 608 | <elementProp name="activityId" elementType="HTTPArgument"> | ||
| 609 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 610 | <stringProp name="Argument.value">${__property(activityId,,)}</stringProp> | ||
| 611 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 612 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 613 | <stringProp name="Argument.name">activityId</stringProp> | ||
| 614 | </elementProp> | ||
| 615 | <elementProp name="phone" elementType="HTTPArgument"> | ||
| 616 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 617 | <stringProp name="Argument.value">${__property(phone,,)}</stringProp> | ||
| 618 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 619 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 620 | <stringProp name="Argument.name">phone</stringProp> | ||
| 621 | </elementProp> | ||
| 622 | <elementProp name="platform" elementType="HTTPArgument"> | ||
| 623 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 624 | <stringProp name="Argument.value">${__property(platform,,)}</stringProp> | ||
| 625 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 626 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 627 | <stringProp name="Argument.name">platform</stringProp> | ||
| 628 | </elementProp> | ||
| 629 | <elementProp name="agentUid" elementType="HTTPArgument"> | ||
| 630 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 631 | <stringProp name="Argument.value">${__property(agentUid,,)}</stringProp> | ||
| 632 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 633 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 634 | <stringProp name="Argument.name">agentUid</stringProp> | ||
| 635 | </elementProp> | ||
| 636 | <elementProp name="titleId" elementType="HTTPArgument"> | ||
| 637 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
| 638 | <stringProp name="Argument.value">91af2df0c9e94c3ba930fc2fcfe604e8</stringProp> | ||
| 639 | <stringProp name="Argument.metadata">=</stringProp> | ||
| 640 | <boolProp name="HTTPArgument.use_equals">true</boolProp> | ||
| 641 | <stringProp name="Argument.name">titleId</stringProp> | ||
| 642 | </elementProp> | ||
| 643 | </collectionProp> | ||
| 644 | </elementProp> | ||
| 645 | <stringProp name="HTTPSampler.domain">${host}</stringProp> | ||
| 646 | <stringProp name="HTTPSampler.port"></stringProp> | ||
| 647 | <stringProp name="HTTPSampler.protocol">https</stringProp> | ||
| 648 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
| 649 | <stringProp name="HTTPSampler.path">/apiv2/activity/luckDraw</stringProp> | ||
| 650 | <stringProp name="HTTPSampler.method">POST</stringProp> | ||
| 651 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
| 652 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
| 653 | <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
| 654 | <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
| 655 | <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
| 656 | <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
| 657 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
| 658 | </HTTPSamplerProxy> | ||
| 659 | <hashTree/> | ||
| 660 | </hashTree> | ||
| 661 | </hashTree> | ||
| 662 | </hashTree> | ||
| 663 | </jmeterTestPlan> |
-
Please register or sign in to post a comment