Showing
1 changed file
with
88 additions
and
10 deletions
@@ -102,7 +102,7 @@ | @@ -102,7 +102,7 @@ | ||
102 | <stringProp name="shareMode">shareMode.all</stringProp> | 102 | <stringProp name="shareMode">shareMode.all</stringProp> |
103 | </CSVDataSet> | 103 | </CSVDataSet> |
104 | <hashTree/> | 104 | <hashTree/> |
105 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_商品详情页" enabled="true"> | 105 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_购物车页" enabled="true"> |
106 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 106 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
107 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 107 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
108 | <boolProp name="LoopController.continue_forever">false</boolProp> | 108 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -128,7 +128,7 @@ | @@ -128,7 +128,7 @@ | ||
128 | <stringProp name="HTTPSampler.port"></stringProp> | 128 | <stringProp name="HTTPSampler.port"></stringProp> |
129 | <stringProp name="HTTPSampler.protocol"></stringProp> | 129 | <stringProp name="HTTPSampler.protocol"></stringProp> |
130 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 130 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
131 | - <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/signin.html</stringProp> | 131 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/signin.html</stringProp> |
132 | <stringProp name="HTTPSampler.method">GET</stringProp> | 132 | <stringProp name="HTTPSampler.method">GET</stringProp> |
133 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 133 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
134 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 134 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -162,7 +162,7 @@ | @@ -162,7 +162,7 @@ | ||
162 | <stringProp name="HTTPSampler.port"></stringProp> | 162 | <stringProp name="HTTPSampler.port"></stringProp> |
163 | <stringProp name="HTTPSampler.protocol"></stringProp> | 163 | <stringProp name="HTTPSampler.protocol"></stringProp> |
164 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 164 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
165 | - <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/passport/login/auth</stringProp> | 165 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/login/auth</stringProp> |
166 | <stringProp name="HTTPSampler.method">POST</stringProp> | 166 | <stringProp name="HTTPSampler.method">POST</stringProp> |
167 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 167 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
168 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 168 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -188,7 +188,7 @@ | @@ -188,7 +188,7 @@ | ||
188 | <boolProp name="PARENT_SAMPLE">false</boolProp> | 188 | <boolProp name="PARENT_SAMPLE">false</boolProp> |
189 | </com.blazemeter.jmeter.controller.ParallelSampler> | 189 | </com.blazemeter.jmeter.controller.ParallelSampler> |
190 | <hashTree> | 190 | <hashTree> |
191 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_商品详情页" enabled="true"> | 191 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_购物车页" enabled="true"> |
192 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 192 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
193 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 193 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
194 | <collectionProp name="Arguments.arguments"> | 194 | <collectionProp name="Arguments.arguments"> |
@@ -205,7 +205,7 @@ | @@ -205,7 +205,7 @@ | ||
205 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 205 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
206 | <stringProp name="HTTPSampler.protocol"></stringProp> | 206 | <stringProp name="HTTPSampler.protocol"></stringProp> |
207 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 207 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
208 | - <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/${product_skn}.html</stringProp> | 208 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/cart/cart</stringProp> |
209 | <stringProp name="HTTPSampler.method">GET</stringProp> | 209 | <stringProp name="HTTPSampler.method">GET</stringProp> |
210 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 210 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
211 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 211 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -234,7 +234,7 @@ | @@ -234,7 +234,7 @@ | ||
234 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 234 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
235 | <stringProp name="HTTPSampler.protocol"></stringProp> | 235 | <stringProp name="HTTPSampler.protocol"></stringProp> |
236 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 236 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
237 | - <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/product/detail/header?productSkn=${product_skn}&md5=23f6562111a48d95199bfb3de7a3b5f7</stringProp> | 237 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/suggestfeedback?callback=jQuery112406794760531637825_1505889296863&return_type=jsonp&client_secret=web&code=200&_=1505889296864</stringProp> |
238 | <stringProp name="HTTPSampler.method">GET</stringProp> | 238 | <stringProp name="HTTPSampler.method">GET</stringProp> |
239 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 239 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
240 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 240 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -273,7 +273,7 @@ | @@ -273,7 +273,7 @@ | ||
273 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 273 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
274 | <stringProp name="HTTPSampler.protocol"></stringProp> | 274 | <stringProp name="HTTPSampler.protocol"></stringProp> |
275 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 275 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
276 | - <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/product/index/favnum?sid=986&bid=1621</stringProp> | 276 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/cart/cart/recommendProduct</stringProp> |
277 | <stringProp name="HTTPSampler.method">GET</stringProp> | 277 | <stringProp name="HTTPSampler.method">GET</stringProp> |
278 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 278 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
279 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 279 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -301,7 +301,46 @@ | @@ -301,7 +301,46 @@ | ||
301 | <collectionProp name="Arguments.arguments"> | 301 | <collectionProp name="Arguments.arguments"> |
302 | <elementProp name="" elementType="HTTPArgument"> | 302 | <elementProp name="" elementType="HTTPArgument"> |
303 | <boolProp name="HTTPArgument.always_encode">false</boolProp> | 303 | <boolProp name="HTTPArgument.always_encode">false</boolProp> |
304 | - <stringProp name="Argument.value">shopId=2214</stringProp> | 304 | + <stringProp name="Argument.value"></stringProp> |
305 | + <stringProp name="Argument.metadata">=</stringProp> | ||
306 | + </elementProp> | ||
307 | + </collectionProp> | ||
308 | + </elementProp> | ||
309 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
310 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
311 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
312 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
313 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
314 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
315 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/recentReview?callback=jQuery112406794760531637825_1505889296865&limit=15&_=1505889296866</stringProp> | ||
316 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
317 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
318 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
319 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
320 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
321 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
322 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
323 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
324 | + </HTTPSamplerProxy> | ||
325 | + <hashTree> | ||
326 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
327 | + <collectionProp name="Asserion.test_strings"> | ||
328 | + <stringProp name="1450572480"></stringProp> | ||
329 | + </collectionProp> | ||
330 | + <stringProp name="TestPlan.comments"></stringProp> | ||
331 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
332 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
333 | + <intProp name="Assertion.test_type">16</intProp> | ||
334 | + </ResponseAssertion> | ||
335 | + <hashTree/> | ||
336 | + </hashTree> | ||
337 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_4" enabled="true"> | ||
338 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
339 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
340 | + <collectionProp name="Arguments.arguments"> | ||
341 | + <elementProp name="" elementType="HTTPArgument"> | ||
342 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
343 | + <stringProp name="Argument.value">pidList=535528</stringProp> | ||
305 | <stringProp name="Argument.metadata">=</stringProp> | 344 | <stringProp name="Argument.metadata">=</stringProp> |
306 | </elementProp> | 345 | </elementProp> |
307 | </collectionProp> | 346 | </collectionProp> |
@@ -312,7 +351,7 @@ | @@ -312,7 +351,7 @@ | ||
312 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 351 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
313 | <stringProp name="HTTPSampler.protocol"></stringProp> | 352 | <stringProp name="HTTPSampler.protocol"></stringProp> |
314 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 353 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
315 | - <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/product/index/isFavoriteShop</stringProp> | 354 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/cart/cart/checkFav</stringProp> |
316 | <stringProp name="HTTPSampler.method">POST</stringProp> | 355 | <stringProp name="HTTPSampler.method">POST</stringProp> |
317 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 356 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
318 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 357 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -334,12 +373,51 @@ | @@ -334,12 +373,51 @@ | ||
334 | </ResponseAssertion> | 373 | </ResponseAssertion> |
335 | <hashTree/> | 374 | <hashTree/> |
336 | </hashTree> | 375 | </hashTree> |
376 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_5" enabled="true"> | ||
377 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
378 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
379 | + <collectionProp name="Arguments.arguments"> | ||
380 | + <elementProp name="" elementType="HTTPArgument"> | ||
381 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
382 | + <stringProp name="Argument.value"></stringProp> | ||
383 | + <stringProp name="Argument.metadata">=</stringProp> | ||
384 | + </elementProp> | ||
385 | + </collectionProp> | ||
386 | + </elementProp> | ||
387 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
388 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
389 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
390 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
391 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
392 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
393 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/cert/headerTip?callback=jQuery112406794760531637825_1505889296867&_=1505889296868</stringProp> | ||
394 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
395 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
396 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
397 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
398 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
399 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
400 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
401 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
402 | + </HTTPSamplerProxy> | ||
403 | + <hashTree> | ||
404 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
405 | + <collectionProp name="Asserion.test_strings"> | ||
406 | + <stringProp name="1450572480"></stringProp> | ||
407 | + </collectionProp> | ||
408 | + <stringProp name="TestPlan.comments"></stringProp> | ||
409 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
410 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
411 | + <intProp name="Assertion.test_type">16</intProp> | ||
412 | + </ResponseAssertion> | ||
413 | + <hashTree/> | ||
414 | + </hashTree> | ||
337 | </hashTree> | 415 | </hashTree> |
338 | <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | 416 | <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> |
339 | <stringProp name="TestPlan.comments"></stringProp> | 417 | <stringProp name="TestPlan.comments"></stringProp> |
340 | <doubleProp> | 418 | <doubleProp> |
341 | <name>throughput</name> | 419 | <name>throughput</name> |
342 | - <value>240000</value> | 420 | + <value>360000</value> |
343 | <savedValue>0.0</savedValue> | 421 | <savedValue>0.0</savedValue> |
344 | </doubleProp> | 422 | </doubleProp> |
345 | <intProp name="calcMode">2</intProp> | 423 | <intProp name="calcMode">2</intProp> |
-
Please register or login to post a comment