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