Showing
1 changed file
with
390 additions
and
0 deletions
script/2017双十一H5/category2.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="商品列表2" enabled="true"> | ||
5 | + <stringProp name="TestPlan.comments">YohoPerformanceTest_ThisScriptIsGeneratedByYPT</stringProp> | ||
6 | + <boolProp name="TestPlan.functional_mode">false</boolProp> | ||
7 | + <boolProp name="TestPlan.serialize_threadgroups">false</boolProp> | ||
8 | + <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
9 | + <collectionProp name="Arguments.arguments"> | ||
10 | + </collectionProp> | ||
11 | + </elementProp> | ||
12 | + <stringProp name="TestPlan.user_define_classpath"></stringProp> | ||
13 | + </TestPlan> | ||
14 | + <hashTree> | ||
15 | + <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="header_h5_list" 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">list.m.yohobuy.com</stringProp> | ||
44 | + </elementProp> | ||
45 | + </collectionProp> | ||
46 | + <stringProp name="TestPlan.comments"></stringProp> | ||
47 | + </HeaderManager> | ||
48 | + <hashTree/> | ||
49 | + <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="cookie_空白" 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">izzue.yohobuy.com</stringProp> | ||
93 | + <stringProp name="Argument.metadata">=</stringProp> | ||
94 | + </elementProp> | ||
95 | + <elementProp name="ID_SHOP" elementType="Argument"> | ||
96 | + <stringProp name="Argument.name">ID_SHOP</stringProp> | ||
97 | + <stringProp name="Argument.value">1486</stringProp> | ||
98 | + <stringProp name="Argument.metadata">=</stringProp> | ||
99 | + </elementProp> | ||
100 | + <elementProp name="HOST_H5" elementType="Argument"> | ||
101 | + <stringProp name="Argument.name">HOST_H5</stringProp> | ||
102 | + <stringProp name="Argument.value">m.yohobuy.com</stringProp> | ||
103 | + <stringProp name="Argument.metadata">=</stringProp> | ||
104 | + </elementProp> | ||
105 | + <elementProp name="HOST_SEARCH_H5" elementType="Argument"> | ||
106 | + <stringProp name="Argument.name">HOST_SEARCH_H5</stringProp> | ||
107 | + <stringProp name="Argument.value">search.m.yohobuy.com</stringProp> | ||
108 | + <stringProp name="Argument.metadata">=</stringProp> | ||
109 | + </elementProp> | ||
110 | + <elementProp name="HOST_GUANG_H5" elementType="Argument"> | ||
111 | + <stringProp name="Argument.name">HOST_GUANG_H5</stringProp> | ||
112 | + <stringProp name="Argument.value">guang.m.yohobuy.com</stringProp> | ||
113 | + <stringProp name="Argument.metadata">=</stringProp> | ||
114 | + </elementProp> | ||
115 | + <elementProp name="HOST_LIST_H5" elementType="Argument"> | ||
116 | + <stringProp name="Argument.name">HOST_LIST_H5</stringProp> | ||
117 | + <stringProp name="Argument.value">list.m.yohobuy.com</stringProp> | ||
118 | + <stringProp name="Argument.metadata">=</stringProp> | ||
119 | + </elementProp> | ||
120 | + </collectionProp> | ||
121 | + <stringProp name="TestPlan.comments"></stringProp> </Arguments> | ||
122 | + <hashTree/> | ||
123 | + <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="data_uid_mobile_openid_test_1w" enabled="true"> | ||
124 | + <stringProp name="TestPlan.comments"></stringProp> | ||
125 | + <stringProp name="filename">/opt/jmeter/data/uid_mobile_openid_test.csv</stringProp> | ||
126 | + <stringProp name="fileEncoding">utf-8</stringProp> | ||
127 | + <stringProp name="variableNames">uid_test,mobile_test,open_id_test</stringProp> | ||
128 | + <stringProp name="delimiter">,</stringProp> | ||
129 | + <boolProp name="quotedData">false</boolProp> | ||
130 | + <boolProp name="recycle">true</boolProp> | ||
131 | + <boolProp name="stopThread">false</boolProp> | ||
132 | + <stringProp name="shareMode">shareMode.all</stringProp> | ||
133 | + </CSVDataSet> | ||
134 | + <hashTree/> | ||
135 | + <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="tg_商品列表h5" enabled="true"> | ||
136 | + <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> | ||
137 | + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="循环控制器" enabled="true"> | ||
138 | + <boolProp name="LoopController.continue_forever">false</boolProp> | ||
139 | + <intProp name="LoopController.loops">-1</intProp> | ||
140 | + </elementProp> | ||
141 | + <stringProp name="ThreadGroup.num_threads">100</stringProp> | ||
142 | + <stringProp name="ThreadGroup.ramp_time">10</stringProp> | ||
143 | + <longProp name="ThreadGroup.start_time">1488865571000</longProp> | ||
144 | + <longProp name="ThreadGroup.end_time">1488865571000</longProp> | ||
145 | + <boolProp name="ThreadGroup.scheduler">false</boolProp> | ||
146 | + <stringProp name="ThreadGroup.duration"></stringProp> | ||
147 | + <stringProp name="ThreadGroup.delay"></stringProp> | ||
148 | + <stringProp name="TestPlan.comments"></stringProp> | ||
149 | + </ThreadGroup> | ||
150 | + <hashTree> | ||
151 | +<OnceOnlyController guiclass="OnceOnlyControllerGui" testclass="OnceOnlyController" testname="登录一次" enabled="true"/> | ||
152 | + <hashTree> | ||
153 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_first" enabled="true"> | ||
154 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="用户定义的变量" enabled="true"> | ||
155 | + <collectionProp name="Arguments.arguments"/> | ||
156 | + </elementProp> | ||
157 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
158 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
159 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
160 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
161 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST_H5}/signin.html</stringProp> | ||
162 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
163 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
164 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
165 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
166 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
167 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
168 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
169 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
170 | + </HTTPSamplerProxy> | ||
171 | + <hashTree> | ||
172 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
173 | + <collectionProp name="Asserion.test_strings"/> | ||
174 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
175 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
176 | + <intProp name="Assertion.test_type">16</intProp> | ||
177 | + </ResponseAssertion> | ||
178 | + <hashTree/> | ||
179 | + </hashTree> | ||
180 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="pc_login" enabled="true"> | ||
181 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
182 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
183 | + <collectionProp name="Arguments.arguments"> | ||
184 | + <elementProp name="" elementType="HTTPArgument"> | ||
185 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
186 | + <stringProp name="Argument.value">areaCode=86&account=${mobile_test}&password=abc123&verifyCode=yoho4946abcdef%23%24%25%26!%40&isRemember=true&loginType=password&yohobuy=yoho4946abcdef%23%24%25%26!%40</stringProp> | ||
187 | + <stringProp name="Argument.metadata">=</stringProp> | ||
188 | + </elementProp> | ||
189 | + </collectionProp> | ||
190 | + </elementProp> | ||
191 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
192 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
193 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
194 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
195 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST_H5}/passport/login/auth</stringProp> | ||
196 | + <stringProp name="HTTPSampler.method">POST</stringProp> | ||
197 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
198 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
199 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
200 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
201 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
202 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
203 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
204 | + </HTTPSamplerProxy> | ||
205 | + <hashTree> | ||
206 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
207 | + <collectionProp name="Asserion.test_strings"> | ||
208 | + <stringProp name="723337899">"code":200</stringProp> | ||
209 | + </collectionProp> | ||
210 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
211 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
212 | + <intProp name="Assertion.test_type">16</intProp> | ||
213 | + </ResponseAssertion> | ||
214 | + <hashTree/> | ||
215 | + </hashTree> | ||
216 | + </hashTree> | ||
217 | + <com.blazemeter.jmeter.controller.ParallelSampler guiclass="com.blazemeter.jmeter.controller.ParallelControllerGui" testclass="com.blazemeter.jmeter.controller.ParallelSampler" testname="bzm - Parallel Controller" enabled="true"> | ||
218 | + <boolProp name="PARENT_SAMPLE">false</boolProp> | ||
219 | + </com.blazemeter.jmeter.controller.ParallelSampler> | ||
220 | + <hashTree> | ||
221 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="tc_商品列表h5" enabled="true"> | ||
222 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
223 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
224 | + <collectionProp name="Arguments.arguments"> | ||
225 | + <elementProp name="" elementType="HTTPArgument"> | ||
226 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
227 | + <stringProp name="Argument.value"></stringProp> | ||
228 | + <stringProp name="Argument.metadata">=</stringProp> | ||
229 | + </elementProp> | ||
230 | + </collectionProp> | ||
231 | + </elementProp> | ||
232 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
233 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
234 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
235 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
236 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
237 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
238 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST_H5}/?categoryId=5&firstProductSkn=51664336&gender=1,3&misort=16&msort=1&subCategoryId=61&title=卫衣</stringProp> | ||
239 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
240 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
241 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
242 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
243 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
244 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
245 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
246 | + <stringProp name="TestPlan.comments"></stringProp> | ||
247 | + </HTTPSamplerProxy> | ||
248 | + <hashTree> | ||
249 | + </hashTree> | ||
250 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_1" enabled="true"> | ||
251 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
252 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
253 | + <collectionProp name="Arguments.arguments"> | ||
254 | + <elementProp name="" elementType="HTTPArgument"> | ||
255 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
256 | + <stringProp name="Argument.value"></stringProp> | ||
257 | + <stringProp name="Argument.metadata">=</stringProp> | ||
258 | + </elementProp> | ||
259 | + </collectionProp> | ||
260 | + </elementProp> | ||
261 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
262 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
263 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
264 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
265 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
266 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
267 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST_H5}/cart/index/count</stringProp> | ||
268 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
269 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
270 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
271 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
272 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
273 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
274 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
275 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
276 | + </HTTPSamplerProxy> | ||
277 | + <hashTree> | ||
278 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
279 | + <collectionProp name="Asserion.test_strings"> | ||
280 | + <stringProp name="1450572480"></stringProp> | ||
281 | + </collectionProp> | ||
282 | + <stringProp name="TestPlan.comments"></stringProp> | ||
283 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
284 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
285 | + <intProp name="Assertion.test_type">16</intProp> | ||
286 | + </ResponseAssertion> | ||
287 | + <hashTree/> | ||
288 | + </hashTree> | ||
289 | + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="ajax_2" enabled="true"> | ||
290 | + <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> | ||
291 | + <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> | ||
292 | + <collectionProp name="Arguments.arguments"> | ||
293 | + <elementProp name="" elementType="HTTPArgument"> | ||
294 | + <boolProp name="HTTPArgument.always_encode">false</boolProp> | ||
295 | + <stringProp name="Argument.value"></stringProp> | ||
296 | + <stringProp name="Argument.metadata">=</stringProp> | ||
297 | + </elementProp> | ||
298 | + </collectionProp> | ||
299 | + </elementProp> | ||
300 | + <stringProp name="HTTPSampler.domain"></stringProp> | ||
301 | + <stringProp name="HTTPSampler.port"></stringProp> | ||
302 | + <stringProp name="HTTPSampler.connect_timeout"></stringProp> | ||
303 | + <stringProp name="HTTPSampler.response_timeout"></stringProp> | ||
304 | + <stringProp name="HTTPSampler.protocol"></stringProp> | ||
305 | + <stringProp name="HTTPSampler.contentEncoding"></stringProp> | ||
306 | + <stringProp name="HTTPSampler.path">http://${HOST_LIST_H5}/product/search/filter?gender=1%2C3&msort=1&misort=16</stringProp> | ||
307 | + <stringProp name="HTTPSampler.method">GET</stringProp> | ||
308 | + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> | ||
309 | + <boolProp name="HTTPSampler.auto_redirects">false</boolProp> | ||
310 | + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> | ||
311 | + <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> | ||
312 | + <boolProp name="HTTPSampler.monitor">false</boolProp> | ||
313 | + <stringProp name="HTTPSampler.embedded_url_re"></stringProp> | ||
314 | + <stringProp name="TestPlan.comments">务必以tc_开头,否则无法获取统计结果</stringProp> | ||
315 | + </HTTPSamplerProxy> | ||
316 | + <hashTree> | ||
317 | + <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="响应断言" enabled="true"> | ||
318 | + <collectionProp name="Asserion.test_strings"> | ||
319 | + <stringProp name="1450572480"></stringProp> | ||
320 | + </collectionProp> | ||
321 | + <stringProp name="TestPlan.comments"></stringProp> | ||
322 | + <stringProp name="Assertion.test_field">Assertion.response_data</stringProp> | ||
323 | + <boolProp name="Assertion.assume_success">false</boolProp> | ||
324 | + <intProp name="Assertion.test_type">16</intProp> | ||
325 | + </ResponseAssertion> | ||
326 | + <hashTree/> | ||
327 | + </hashTree> | ||
328 | + </hashTree> | ||
329 | + <ConstantThroughputTimer guiclass="TestBeanGUI" testclass="ConstantThroughputTimer" testname="固定TPM" enabled="true"> | ||
330 | + <stringProp name="TestPlan.comments"></stringProp> | ||
331 | + <doubleProp> | ||
332 | + <name>throughput</name> | ||
333 | + <value>60000</value> | ||
334 | + <savedValue>0.0</savedValue> | ||
335 | + </doubleProp> | ||
336 | + <intProp name="calcMode">2</intProp> | ||
337 | + </ConstantThroughputTimer> | ||
338 | + <hashTree/> | ||
339 | + </hashTree> | ||
340 | + <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" testname="influxdb_master" enabled="true"> | ||
341 | + <elementProp name="arguments" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> | ||
342 | + <collectionProp name="Arguments.arguments"> | ||
343 | + <elementProp name="graphiteMetricsSender" elementType="Argument"> | ||
344 | + <stringProp name="Argument.name">graphiteMetricsSender</stringProp> | ||
345 | + <stringProp name="Argument.value">org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender</stringProp> | ||
346 | + <stringProp name="Argument.metadata">=</stringProp> | ||
347 | + </elementProp> | ||
348 | + <elementProp name="graphiteHost" elementType="Argument"> | ||
349 | + <stringProp name="Argument.name">graphiteHost</stringProp> | ||
350 | + <stringProp name="Argument.value">192.168.104.43</stringProp> | ||
351 | + <stringProp name="Argument.metadata">=</stringProp> | ||
352 | + </elementProp> | ||
353 | + <elementProp name="graphitePort" elementType="Argument"> | ||
354 | + <stringProp name="Argument.name">graphitePort</stringProp> | ||
355 | + <stringProp name="Argument.value">2003</stringProp> | ||
356 | + <stringProp name="Argument.metadata">=</stringProp> | ||
357 | + </elementProp> | ||
358 | + <elementProp name="rootMetricsPrefix" elementType="Argument"> | ||
359 | + <stringProp name="Argument.name">rootMetricsPrefix</stringProp> | ||
360 | + <stringProp name="Argument.value">${__machineIP()}.</stringProp> | ||
361 | + <stringProp name="Argument.metadata">=</stringProp> | ||
362 | + </elementProp> | ||
363 | + <elementProp name="summaryOnly" elementType="Argument"> | ||
364 | + <stringProp name="Argument.name">summaryOnly</stringProp> | ||
365 | + <stringProp name="Argument.value">false</stringProp> | ||
366 | + <stringProp name="Argument.metadata">=</stringProp> | ||
367 | + </elementProp> | ||
368 | + <elementProp name="samplersList" elementType="Argument"> | ||
369 | + <stringProp name="Argument.name">samplersList</stringProp> | ||
370 | + <stringProp name="Argument.value">tc_.*</stringProp> | ||
371 | + <stringProp name="Argument.metadata">=</stringProp> | ||
372 | + </elementProp> | ||
373 | + <elementProp name="useRegexpForSamplersList" elementType="Argument"> | ||
374 | + <stringProp name="Argument.name">useRegexpForSamplersList</stringProp> | ||
375 | + <stringProp name="Argument.value">true</stringProp> | ||
376 | + <stringProp name="Argument.metadata">=</stringProp> | ||
377 | + </elementProp> | ||
378 | + <elementProp name="percentiles" elementType="Argument"> | ||
379 | + <stringProp name="Argument.name">percentiles</stringProp> | ||
380 | + <stringProp name="Argument.value">90</stringProp> | ||
381 | + <stringProp name="Argument.metadata">=</stringProp> | ||
382 | + </elementProp> | ||
383 | + </collectionProp> | ||
384 | + </elementProp> | ||
385 | + <stringProp name="classname">org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient</stringProp> | ||
386 | + <stringProp name="TestPlan.comments"></stringProp> | ||
387 | + </BackendListener> | ||
388 | + <hashTree/> </hashTree> | ||
389 | + </hashTree> | ||
390 | +</jmeterTestPlan> |
-
Please register or login to post a comment