Showing
1 changed file
with
487 additions
and
0 deletions
script/2017_11_11_pc/cart1.jmx
0 → 100644
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="购物车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_pc" enabled="true"> | ||
16 | + <collectionProp name="HeaderManager.headers"> | ||
17 | + <elementProp name="" elementType="Header"> | ||
18 | + <stringProp name="Header.name">User-Agent</stringProp> | ||
19 | + <stringProp name="Header.value">Mozilla/5.0 (Windows NT 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">www.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_空白" 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_性能测试环境" 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">dingjunshoubiao.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">2322</stringProp> | ||
98 | + <stringProp name="Argument.metadata">=</stringProp> | ||
99 | + </elementProp> | ||
100 | + </collectionProp> | ||
101 | + <stringProp name="TestPlan.comments"></stringProp> </Arguments> | ||
102 | + <hashTree/> | ||
103 | + <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="data_uid_mobile_openid_test_1w" enabled="true"> | ||
104 | + <stringProp name="TestPlan.comments"></stringProp> | ||
105 | + <stringProp name="filename">/opt/jmeter/data/uid_mobile_openid_test.csv</stringProp> | ||
106 | + <stringProp name="fileEncoding">utf-8</stringProp> | ||
107 | + <stringProp name="variableNames">uid_test,mobile_test,open_id_test</stringProp> | ||
108 | + <stringProp name="delimiter">,</stringProp> | ||
109 | + <boolProp name="quotedData">false</boolProp> | ||
110 | + <boolProp name="recycle">true</boolProp> | ||
111 | + <boolProp name="stopThread">false</boolProp> | ||
112 | + <stringProp name="shareMode">shareMode.all</stringProp> | ||
113 | + </CSVDataSet> | ||
114 | + <hashTree/> | ||
115 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_购物车页" enabled="true"> | ||
116 | + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
117 | + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
118 | + <boolProp name="LoopController.continue_forever">false</boolProp> | ||
119 | + <intProp name="LoopController.loops">-1</intProp> | ||
120 | + </elementProp> | ||
121 | + <stringProp name="ThreadGroup.num_threads">100</stringProp> | ||
122 | + <stringProp name="ThreadGroup.ramp_time">10</stringProp> | ||
123 | + <longProp name="ThreadGroup.start_time">1488865571000</longProp> | ||
124 | + <longProp name="ThreadGroup.end_time">1488865571000</longProp> | ||
125 | + <boolProp name="ThreadGroup.scheduler">false</boolProp> | ||
126 | + <stringProp name="ThreadGroup.duration"></stringProp> | ||
127 | + <stringProp name="ThreadGroup.delay"></stringProp> | ||
128 | + <stringProp name="TestPlan.comments"></stringProp> | ||
129 | + </ThreadGroup> | ||
130 | + <hashTree> | ||
131 | +<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/> | ||
132 | + <hashTree> | ||
133 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true"> | ||
134 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
135 | + <collectionProp name="Arguments.arguments"/> | ||
136 | + </elementProp> | ||
137 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
138 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
139 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
140 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
141 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/signin.html</stringProp> | ||
142 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
143 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
144 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
145 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
146 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
147 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
148 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
149 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
150 | + </HTTPSamplerProxy> | ||
151 | + <hashTree> | ||
152 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
153 | + <collectionProp name="Asserion.test_strings"/> | ||
154 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
155 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
156 | + <intProp name="Assertion.test_type">16</intProp> | ||
157 | + </ResponseAssertion> | ||
158 | + <hashTree/> | ||
159 | + </hashTree> | ||
160 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true"> | ||
161 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
162 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
163 | + <collectionProp name="Arguments.arguments"> | ||
164 | + <elementProp name="" elementType="HTTPArgument"> | ||
165 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
166 | + <stringProp name="Argument.value">areaCode=86&account=${mobile_test}&password=abc123&verifyCode=0%2C2%2C0%2C0&isRemember=true&loginType=password&yohobuy=yoho4946abcdef#$%&!@</stringProp> | ||
167 | + <stringProp name="Argument.metadata">=</stringProp> | ||
168 | + </elementProp> | ||
169 | + </collectionProp> | ||
170 | + </elementProp> | ||
171 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
172 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
173 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
174 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
175 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/login/auth</stringProp> | ||
176 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
177 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
178 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
179 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
180 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
181 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
182 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
183 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
184 | + </HTTPSamplerProxy> | ||
185 | + <hashTree> | ||
186 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
187 | + <collectionProp name="Asserion.test_strings"> | ||
188 | + <stringProp name="723337899">"code":200</stringProp> | ||
189 | + </collectionProp> | ||
190 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
191 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
192 | + <intProp name="Assertion.test_type">16</intProp> | ||
193 | + </ResponseAssertion> | ||
194 | + <hashTree/> | ||
195 | + </hashTree> | ||
196 | + </hashTree> | ||
197 | + <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true"> | ||
198 | + <boolProp name="PARENT_SAMPLE">false</boolProp> | ||
199 | + </com.blazemeter.jmeter.controller.ParallelSampler> | ||
200 | + <hashTree> | ||
201 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_购物车页" enabled="true"> | ||
202 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
203 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
204 | + <collectionProp name="Arguments.arguments"> | ||
205 | + <elementProp name="" elementType="HTTPArgument"> | ||
206 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
207 | + <stringProp name="Argument.value"></stringProp> | ||
208 | + <stringProp name="Argument.metadata">=</stringProp> | ||
209 | + </elementProp> | ||
210 | + </collectionProp> | ||
211 | + </elementProp> | ||
212 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
213 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
214 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
215 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
216 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
217 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
218 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/cart/cart</stringProp> | ||
219 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
220 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
221 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
222 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
223 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
224 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
225 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
226 | + <stringProp name="TestPlan.comments"></stringProp> | ||
227 | + </HTTPSamplerProxy> | ||
228 | + <hashTree> | ||
229 | + </hashTree> | ||
230 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_1" enabled="true"> | ||
231 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
232 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
233 | + <collectionProp name="Arguments.arguments"> | ||
234 | + <elementProp name="" elementType="HTTPArgument"> | ||
235 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
236 | + <stringProp name="Argument.value"></stringProp> | ||
237 | + <stringProp name="Argument.metadata">=</stringProp> | ||
238 | + </elementProp> | ||
239 | + </collectionProp> | ||
240 | + </elementProp> | ||
241 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
242 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
243 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
244 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
245 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
246 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
247 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/suggestfeedback?callback=jQuery112406794760531637825_1505889296863&return_type=jsonp&client_secret=web&code=200&_=1505889296864</stringProp> | ||
248 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
249 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
250 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
251 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
252 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
253 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
254 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
255 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
256 | + </HTTPSamplerProxy> | ||
257 | + <hashTree> | ||
258 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
259 | + <collectionProp name="Asserion.test_strings"> | ||
260 | + <stringProp name="1450572480"></stringProp> | ||
261 | + </collectionProp> | ||
262 | + <stringProp name="TestPlan.comments"></stringProp> | ||
263 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
264 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
265 | + <intProp name="Assertion.test_type">16</intProp> | ||
266 | + </ResponseAssertion> | ||
267 | + <hashTree/> | ||
268 | + </hashTree> | ||
269 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_2" enabled="true"> | ||
270 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
271 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
272 | + <collectionProp name="Arguments.arguments"> | ||
273 | + <elementProp name="" elementType="HTTPArgument"> | ||
274 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
275 | + <stringProp name="Argument.value"></stringProp> | ||
276 | + <stringProp name="Argument.metadata">=</stringProp> | ||
277 | + </elementProp> | ||
278 | + </collectionProp> | ||
279 | + </elementProp> | ||
280 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
281 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
282 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
283 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
284 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
285 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
286 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/cart/cart/recommendProduct</stringProp> | ||
287 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
288 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
289 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
290 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
291 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
292 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
293 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
294 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
295 | + </HTTPSamplerProxy> | ||
296 | + <hashTree> | ||
297 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
298 | + <collectionProp name="Asserion.test_strings"> | ||
299 | + <stringProp name="1450572480"></stringProp> | ||
300 | + </collectionProp> | ||
301 | + <stringProp name="TestPlan.comments"></stringProp> | ||
302 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
303 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
304 | + <intProp name="Assertion.test_type">16</intProp> | ||
305 | + </ResponseAssertion> | ||
306 | + <hashTree/> | ||
307 | + </hashTree> | ||
308 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_3" enabled="true"> | ||
309 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
310 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
311 | + <collectionProp name="Arguments.arguments"> | ||
312 | + <elementProp name="" elementType="HTTPArgument"> | ||
313 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
314 | + <stringProp name="Argument.value"></stringProp> | ||
315 | + <stringProp name="Argument.metadata">=</stringProp> | ||
316 | + </elementProp> | ||
317 | + </collectionProp> | ||
318 | + </elementProp> | ||
319 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
320 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
321 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
322 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
323 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
324 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
325 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/common/recentReview?callback=jQuery112406794760531637825_1505889296865&limit=15&_=1505889296866</stringProp> | ||
326 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
327 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
328 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
329 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
330 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
331 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
332 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
333 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
334 | + </HTTPSamplerProxy> | ||
335 | + <hashTree> | ||
336 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
337 | + <collectionProp name="Asserion.test_strings"> | ||
338 | + <stringProp name="1450572480"></stringProp> | ||
339 | + </collectionProp> | ||
340 | + <stringProp name="TestPlan.comments"></stringProp> | ||
341 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
342 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
343 | + <intProp name="Assertion.test_type">16</intProp> | ||
344 | + </ResponseAssertion> | ||
345 | + <hashTree/> | ||
346 | + </hashTree> | ||
347 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_4" enabled="true"> | ||
348 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
349 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
350 | + <collectionProp name="Arguments.arguments"> | ||
351 | + <elementProp name="" elementType="HTTPArgument"> | ||
352 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
353 | + <stringProp name="Argument.value">pidList=535528</stringProp> | ||
354 | + <stringProp name="Argument.metadata">=</stringProp> | ||
355 | + </elementProp> | ||
356 | + </collectionProp> | ||
357 | + </elementProp> | ||
358 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
359 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
360 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
361 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
362 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
363 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
364 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/cart/cart/checkFav</stringProp> | ||
365 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
366 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
367 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
368 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
369 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
370 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
371 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
372 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
373 | + </HTTPSamplerProxy> | ||
374 | + <hashTree> | ||
375 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
376 | + <collectionProp name="Asserion.test_strings"> | ||
377 | + <stringProp name="1450572480"></stringProp> | ||
378 | + </collectionProp> | ||
379 | + <stringProp name="TestPlan.comments"></stringProp> | ||
380 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
381 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
382 | + <intProp name="Assertion.test_type">16</intProp> | ||
383 | + </ResponseAssertion> | ||
384 | + <hashTree/> | ||
385 | + </hashTree> | ||
386 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_5" enabled="true"> | ||
387 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
388 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
389 | + <collectionProp name="Arguments.arguments"> | ||
390 | + <elementProp name="" elementType="HTTPArgument"> | ||
391 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
392 | + <stringProp name="Argument.value"></stringProp> | ||
393 | + <stringProp name="Argument.metadata">=</stringProp> | ||
394 | + </elementProp> | ||
395 | + </collectionProp> | ||
396 | + </elementProp> | ||
397 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
398 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
399 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
400 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
401 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
402 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
403 | + <stringProp name="HTTPSampler.path">http://${HOST_PC}/passport/cert/headerTip?callback=jQuery112406794760531637825_1505889296867&_=1505889296868</stringProp> | ||
404 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
405 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
406 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
407 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
408 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
409 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
410 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
411 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
412 | + </HTTPSamplerProxy> | ||
413 | + <hashTree> | ||
414 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
415 | + <collectionProp name="Asserion.test_strings"> | ||
416 | + <stringProp name="1450572480"></stringProp> | ||
417 | + </collectionProp> | ||
418 | + <stringProp name="TestPlan.comments"></stringProp> | ||
419 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
420 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
421 | + <intProp name="Assertion.test_type">16</intProp> | ||
422 | + </ResponseAssertion> | ||
423 | + <hashTree/> | ||
424 | + </hashTree> | ||
425 | + </hashTree> | ||
426 | + <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | ||
427 | + <stringProp name="TestPlan.comments"></stringProp> | ||
428 | + <doubleProp> | ||
429 | + <name>throughput</name> | ||
430 | + <value>360000</value> | ||
431 | + <savedValue>0.0</savedValue> | ||
432 | + </doubleProp> | ||
433 | + <intProp name="calcMode">2</intProp> | ||
434 | + </ConstantThroughputTimer> | ||
435 | + <hashTree/> | ||
436 | + </hashTree> | ||
437 | + <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true"> | ||
438 | + <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> | ||
439 | + <collectionProp name="Arguments.arguments"> | ||
440 | + <elementProp name="graphiteMetricsSender" elementType="Argument"> | ||
441 | + <stringProp name="Argument.name">graphiteMetricsSender</stringProp> | ||
442 | + <stringProp name="Argument.value">org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender</stringProp> | ||
443 | + <stringProp name="Argument.metadata">=</stringProp> | ||
444 | + </elementProp> | ||
445 | + <elementProp name="graphiteHost" elementType="Argument"> | ||
446 | + <stringProp name="Argument.name">graphiteHost</stringProp> | ||
447 | + <stringProp name="Argument.value">192.168.104.43</stringProp> | ||
448 | + <stringProp name="Argument.metadata">=</stringProp> | ||
449 | + </elementProp> | ||
450 | + <elementProp name="graphitePort" elementType="Argument"> | ||
451 | + <stringProp name="Argument.name">graphitePort</stringProp> | ||
452 | + <stringProp name="Argument.value">2003</stringProp> | ||
453 | + <stringProp name="Argument.metadata">=</stringProp> | ||
454 | + </elementProp> | ||
455 | + <elementProp name="rootMetricsPrefix" elementType="Argument"> | ||
456 | + <stringProp name="Argument.name">rootMetricsPrefix</stringProp> | ||
457 | + <stringProp name="Argument.value">${__machineIP()}.</stringProp> | ||
458 | + <stringProp name="Argument.metadata">=</stringProp> | ||
459 | + </elementProp> | ||
460 | + <elementProp name="summaryOnly" elementType="Argument"> | ||
461 | + <stringProp name="Argument.name">summaryOnly</stringProp> | ||
462 | + <stringProp name="Argument.value">false</stringProp> | ||
463 | + <stringProp name="Argument.metadata">=</stringProp> | ||
464 | + </elementProp> | ||
465 | + <elementProp name="samplersList" elementType="Argument"> | ||
466 | + <stringProp name="Argument.name">samplersList</stringProp> | ||
467 | + <stringProp name="Argument.value">tc_.*</stringProp> | ||
468 | + <stringProp name="Argument.metadata">=</stringProp> | ||
469 | + </elementProp> | ||
470 | + <elementProp name="useRegexpForSamplersList" elementType="Argument"> | ||
471 | + <stringProp name="Argument.name">useRegexpForSamplersList</stringProp> | ||
472 | + <stringProp name="Argument.value">true</stringProp> | ||
473 | + <stringProp name="Argument.metadata">=</stringProp> | ||
474 | + </elementProp> | ||
475 | + <elementProp name="percentiles" elementType="Argument"> | ||
476 | + <stringProp name="Argument.name">percentiles</stringProp> | ||
477 | + <stringProp name="Argument.value">90</stringProp> | ||
478 | + <stringProp name="Argument.metadata">=</stringProp> | ||
479 | + </elementProp> | ||
480 | + </collectionProp> | ||
481 | + </elementProp> | ||
482 | + <stringProp name="classname">org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient</stringProp> | ||
483 | + <stringProp name="TestPlan.comments"></stringProp> | ||
484 | + </BackendListener> | ||
485 | + <hashTree/> </hashTree> | ||
486 | + </hashTree> | ||
487 | +</jmeterTestPlan> |
-
Please register or login to post a comment