Showing
1 changed file
with
11 additions
and
84 deletions
@@ -81,6 +81,11 @@ | @@ -81,6 +81,11 @@ | ||
81 | <stringProp name="Argument.value">search.yohoops.org</stringProp> | 81 | <stringProp name="Argument.value">search.yohoops.org</stringProp> |
82 | <stringProp name="Argument.metadata">=</stringProp> | 82 | <stringProp name="Argument.metadata">=</stringProp> |
83 | </elementProp> | 83 | </elementProp> |
84 | + <elementProp name="HOST_ITEM" elementType="Argument"> | ||
85 | + <stringProp name="Argument.name">HOST_ITEM</stringProp> | ||
86 | + <stringProp name="Argument.value">item.yohobuy.com</stringProp> | ||
87 | + <stringProp name="Argument.metadata">=</stringProp> | ||
88 | + </elementProp> | ||
84 | </collectionProp> | 89 | </collectionProp> |
85 | <stringProp name="TestPlan.comments"></stringProp> </Arguments> | 90 | <stringProp name="TestPlan.comments"></stringProp> </Arguments> |
86 | <hashTree/> | 91 | <hashTree/> |
@@ -96,7 +101,7 @@ | @@ -96,7 +101,7 @@ | ||
96 | <stringProp name="shareMode">shareMode.all</stringProp> | 101 | <stringProp name="shareMode">shareMode.all</stringProp> |
97 | </CSVDataSet> | 102 | </CSVDataSet> |
98 | <hashTree/> | 103 | <hashTree/> |
99 | - <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_SALE" enabled="true"> | 104 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_商品详情页" enabled="true"> |
100 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | 105 | <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> |
101 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | 106 | <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> |
102 | <boolProp name="LoopController.continue_forever">false</boolProp> | 107 | <boolProp name="LoopController.continue_forever">false</boolProp> |
@@ -117,7 +122,7 @@ | @@ -117,7 +122,7 @@ | ||
117 | <boolProp name="TransactionController.parent">false</boolProp> | 122 | <boolProp name="TransactionController.parent">false</boolProp> |
118 | </TransactionController> | 123 | </TransactionController> |
119 | <hashTree> | 124 | <hashTree> |
120 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_SALE" enabled="true"> | 125 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_商品详情页" enabled="true"> |
121 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | 126 | <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> |
122 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | 127 | <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> |
123 | <collectionProp name="Arguments.arguments"> | 128 | <collectionProp name="Arguments.arguments"> |
@@ -134,7 +139,7 @@ | @@ -134,7 +139,7 @@ | ||
134 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 139 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
135 | <stringProp name="HTTPSampler.protocol"></stringProp> | 140 | <stringProp name="HTTPSampler.protocol"></stringProp> |
136 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 141 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
137 | - <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/boys-sale/</stringProp> | 142 | + <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/${product_skn}.html</stringProp> |
138 | <stringProp name="HTTPSampler.method">GET</stringProp> | 143 | <stringProp name="HTTPSampler.method">GET</stringProp> |
139 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 144 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
140 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 145 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -167,7 +172,7 @@ | @@ -167,7 +172,7 @@ | ||
167 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 172 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
168 | <stringProp name="HTTPSampler.protocol"></stringProp> | 173 | <stringProp name="HTTPSampler.protocol"></stringProp> |
169 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 174 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
170 | - <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/suggestfeedback?callback=jQuery1124017668541606530486_1505891526643&return_type=jsonp&client_secret=web&code=200&_=1505891526644</stringProp> | 175 | + <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/product/detail/header?${product_skn}&md5=23f6562111a48d95199bfb3de7a3b5f7</stringProp> |
171 | <stringProp name="HTTPSampler.method">GET</stringProp> | 176 | <stringProp name="HTTPSampler.method">GET</stringProp> |
172 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 177 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
173 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 178 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -206,7 +211,7 @@ | @@ -206,7 +211,7 @@ | ||
206 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 211 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
207 | <stringProp name="HTTPSampler.protocol"></stringProp> | 212 | <stringProp name="HTTPSampler.protocol"></stringProp> |
208 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 213 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
209 | - <stringProp name="HTTPSampler.path">http:/${HOST_PC}/product/sale/goods?saleType=2&order=s_t_desc&channel=boys&limit=11</stringProp> | 214 | + <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/product/index/favnum?sid=986&bid=1621</stringProp> |
210 | <stringProp name="HTTPSampler.method">GET</stringProp> | 215 | <stringProp name="HTTPSampler.method">GET</stringProp> |
211 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 216 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
212 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 217 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
@@ -245,85 +250,7 @@ | @@ -245,85 +250,7 @@ | ||
245 | <stringProp name="HTTPSampler.response_timeout"></stringProp> | 250 | <stringProp name="HTTPSampler.response_timeout"></stringProp> |
246 | <stringProp name="HTTPSampler.protocol"></stringProp> | 251 | <stringProp name="HTTPSampler.protocol"></stringProp> |
247 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> | 252 | <stringProp name="HTTPSampler.contentEncoding"></stringProp> |
248 | - <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/sale/goods?saleType=5&order=s_t_desc&channel=boys&breakSize=207,203,201,265,211,216,218,348,371,213,71,136,269,270,271,272,40,70,140,143,199,551,618,217,111,102,113,225,208,41,207,203,201,211,216,218,213,71,111,273,130,59,65,68,73,75,78,81,86,92,97,101,105,117,70,110,140,143,372,320,319,248,247,478,462,463,461,525,529,541,549,610,754,824,348,147,380,350,349,252,608,419,535,816,756,90,96,100,104,109,116,122,125,129,133,135,138,88,94,98,103,106,114,118,123,126,131,203,201,115,182,185,21,24,28,620,642,207,213,381,375,374,308,307,303,622,640,215,199,201,199,270,272,483,1164,207,203,265,165,164,162,160,1020,1094,1092,1018,386,387,588,770,317,313,256,422,606,870,852,856,872,922,946,778,208,211,216,213,214,184,169,25,23,18,1064,652,658,822,834,32,600,602,866,417,335,52,356,204,347,325,128,594,&breakSort=114,119,115,124,116,117,1902,1898,1894,122,1906,227,123,121,118,413,173,129,131,130,346,133,147,149,151,148,231,152,186,322,153,162,142,235,238,75,324,72,76,240,311,323,74,1676,156,161,316,233,1612,78,342,239,1498,157,160,1506,164,210,357,1540,1580,79,295,1538,1542,1672,1682,303,327,1486,326,340,1530,234,1496,1534,1606,1642,341,1490,1544,1620,1698,306,1482,328,359,317,349,1690,218,300,307,321,331,1524,1636,1652,1696,1700,&limit=14</stringProp> | ||
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">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
257 | - </HTTPSamplerProxy> | ||
258 | - <hashTree> | ||
259 | - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" 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 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_4" enabled="true"> | ||
271 | - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
272 | - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
273 | - <collectionProp name="Arguments.arguments"> | ||
274 | - <elementProp name="" elementType="HTTPArgument"> | ||
275 | - <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
276 | - <stringProp name="Argument.value"></stringProp> | ||
277 | - <stringProp name="Argument.metadata">=</stringProp> | ||
278 | - </elementProp> | ||
279 | - </collectionProp> | ||
280 | - </elementProp> | ||
281 | - <stringProp name="HTTPSampler.domain"></stringProp> | ||
282 | - <stringProp name="HTTPSampler.port"></stringProp> | ||
283 | - <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
284 | - <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
285 | - <stringProp name="HTTPSampler.protocol"></stringProp> | ||
286 | - <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
287 | - <stringProp name="HTTPSampler.path">http://${HOST_PC}/product/sale/goods?saleType=0&order=s_t_desc&channel=boys&limit=14</stringProp> | ||
288 | - <stringProp name="HTTPSampler.method">GET</stringProp> | ||
289 | - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
290 | - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
291 | - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
292 | - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
293 | - <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
294 | - <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
295 | - <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
296 | - </HTTPSamplerProxy> | ||
297 | - <hashTree> | ||
298 | - <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
299 | - <collectionProp name="Asserion.test_strings"> | ||
300 | - <stringProp name="1450572480"></stringProp> | ||
301 | - </collectionProp> | ||
302 | - <stringProp name="TestPlan.comments"></stringProp> | ||
303 | - <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
304 | - <boolProp name="Assertion.assume_success">false</boolProp> | ||
305 | - <intProp name="Assertion.test_type">16</intProp> | ||
306 | - </ResponseAssertion> | ||
307 | - <hashTree/> | ||
308 | - </hashTree> | ||
309 | - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_5" enabled="true"> | ||
310 | - <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
311 | - <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
312 | - <collectionProp name="Arguments.arguments"> | ||
313 | - <elementProp name="" elementType="HTTPArgument"> | ||
314 | - <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
315 | - <stringProp name="Argument.value"></stringProp> | ||
316 | - <stringProp name="Argument.metadata">=</stringProp> | ||
317 | - </elementProp> | ||
318 | - </collectionProp> | ||
319 | - </elementProp> | ||
320 | - <stringProp name="HTTPSampler.domain"></stringProp> | ||
321 | - <stringProp name="HTTPSampler.port"></stringProp> | ||
322 | - <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
323 | - <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
324 | - <stringProp name="HTTPSampler.protocol"></stringProp> | ||
325 | - <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
326 | - <stringProp name="HTTPSampler.path">http:/${HOST_PC}/passport/cert/headerTip?callback=jQuery1124011529256667125476_1505875744855&_=1505875744856</stringProp> | 253 | + <stringProp name="HTTPSampler.path">http://${HOST_ITEM}/product/index/isFavoriteShop</stringProp> |
327 | <stringProp name="HTTPSampler.method">GET</stringProp> | 254 | <stringProp name="HTTPSampler.method">GET</stringProp> |
328 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | 255 | <boolProp name="HTTPSampler.follow_redirects">true</boolProp> |
329 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | 256 | <boolProp name="HTTPSampler.auto_redirects">false</boolProp> |
-
Please register or login to post a comment