Merge branch '2014.11-develop' into 2015.11
[tine20] / tests / jmeter / searchAddressbook.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="2.1">
3   <hashTree>
4     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Testplan" enabled="true">
5       <stringProp name="TestPlan.comments"></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="Benutzer definierte Variablen" enabled="true">
9         <collectionProp name="Arguments.arguments"/>
10       </elementProp>
11       <stringProp name="TestPlan.user_define_classpath"></stringProp>
12     </TestPlan>
13     <hashTree>
14       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Tine 2.0 Gruppe" enabled="true">
15         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Schleifen-Controller (Loop Controller)" enabled="true">
16           <boolProp name="LoopController.continue_forever">false</boolProp>
17           <stringProp name="LoopController.loops">5</stringProp>
18         </elementProp>
19         <stringProp name="ThreadGroup.num_threads">10</stringProp>
20         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
21         <longProp name="ThreadGroup.start_time">1302633269000</longProp>
22         <longProp name="ThreadGroup.end_time">1302633269000</longProp>
23         <boolProp name="ThreadGroup.scheduler">false</boolProp>
24         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
25         <stringProp name="ThreadGroup.duration"></stringProp>
26         <stringProp name="ThreadGroup.delay"></stringProp>
27       </ThreadGroup>
28       <hashTree>
29         <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="Benutzer definierte Variablen" enabled="true">
30           <collectionProp name="Arguments.arguments">
31             <elementProp name="HOST" elementType="Argument">
32               <stringProp name="Argument.name">HOST</stringProp>
33               <stringProp name="Argument.value">localhost</stringProp>
34               <stringProp name="Argument.metadata">=</stringProp>
35             </elementProp>
36             <elementProp name="USER" elementType="Argument">
37               <stringProp name="Argument.name">USER</stringProp>
38               <stringProp name="Argument.value">user</stringProp>
39               <stringProp name="Argument.metadata">=</stringProp>
40             </elementProp>
41             <elementProp name="PASS" elementType="Argument">
42               <stringProp name="Argument.name">PASS</stringProp>
43               <stringProp name="Argument.value">pass</stringProp>
44               <stringProp name="Argument.metadata">=</stringProp>
45             </elementProp>
46           </collectionProp>
47         </Arguments>
48         <hashTree/>
49         <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Default Einstellungen" enabled="true">
50           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="Benutzer definierte Variablen" enabled="true">
51             <collectionProp name="Arguments.arguments"/>
52           </elementProp>
53           <stringProp name="HTTPSampler.domain">${HOST}</stringProp>
54           <stringProp name="HTTPSampler.port">80</stringProp>
55           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
56           <stringProp name="HTTPSampler.response_timeout"></stringProp>
57           <stringProp name="HTTPSampler.protocol">http</stringProp>
58           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
59           <stringProp name="HTTPSampler.path">tine20/index.php</stringProp>
60         </ConfigTestElement>
61         <hashTree/>
62         <CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
63           <collectionProp name="CookieManager.cookies"/>
64           <boolProp name="CookieManager.clearEachIteration">false</boolProp>
65           <stringProp name="CookieManager.policy">rfc2109</stringProp>
66         </CookieManager>
67         <hashTree/>
68         <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
69           <collectionProp name="HeaderManager.headers">
70             <elementProp name="" elementType="Header">
71               <stringProp name="Header.name">Content-Type</stringProp>
72               <stringProp name="Header.value">application/json</stringProp>
73             </elementProp>
74             <elementProp name="" elementType="Header">
75               <stringProp name="Header.name">X-Requested-With</stringProp>
76               <stringProp name="Header.value">XMLHttpRequest</stringProp>
77             </elementProp>
78             <elementProp name="" elementType="Header">
79               <stringProp name="Header.name">X-Tine20-Request-Type</stringProp>
80               <stringProp name="Header.value">JSON</stringProp>
81             </elementProp>
82           </collectionProp>
83         </HeaderManager>
84         <hashTree/>
85         <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="Login Request" enabled="true">
86           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="Benutzer definierte Variablen" enabled="true">
87             <collectionProp name="Arguments.arguments">
88               <elementProp name="" elementType="HTTPArgument">
89                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
90                 <stringProp name="Argument.value">{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;Tinebase.login&quot;,&quot;params&quot;:{&quot;username&quot;:&quot;${USER}&quot;,&quot;password&quot;:&quot;${PASS}&quot;},&quot;id&quot;:2}</stringProp>
91                 <stringProp name="Argument.metadata">=</stringProp>
92                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
93               </elementProp>
94             </collectionProp>
95           </elementProp>
96           <stringProp name="HTTPSampler.domain"></stringProp>
97           <stringProp name="HTTPSampler.port"></stringProp>
98           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
99           <stringProp name="HTTPSampler.response_timeout"></stringProp>
100           <stringProp name="HTTPSampler.protocol"></stringProp>
101           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
102           <stringProp name="HTTPSampler.path"></stringProp>
103           <stringProp name="HTTPSampler.method">POST</stringProp>
104           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
105           <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
106           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
107           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
108           <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
109           <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
110           <stringProp name="HTTPSampler.mimetype"></stringProp>
111           <boolProp name="HTTPSampler.monitor">false</boolProp>
112           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
113         </HTTPSampler>
114         <hashTree>
115           <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="JSON Key Extractor" enabled="true">
116             <stringProp name="RegexExtractor.useHeaders">false</stringProp>
117             <stringProp name="RegexExtractor.refname">JSONKEY</stringProp>
118             <stringProp name="RegexExtractor.regex">&quot;(jsonKey)&quot;\:&quot;(.*)&quot;,&quot;wel</stringProp>
119             <stringProp name="RegexExtractor.template">$2$</stringProp>
120             <stringProp name="RegexExtractor.default">NOT FOUND</stringProp>
121             <stringProp name="RegexExtractor.match_number">1</stringProp>
122           </RegexExtractor>
123           <hashTree/>
124         </hashTree>
125         <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
126           <collectionProp name="HeaderManager.headers">
127             <elementProp name="" elementType="Header">
128               <stringProp name="Header.name">X-Tine20-JsonKey</stringProp>
129               <stringProp name="Header.value">${JSONKEY}</stringProp>
130             </elementProp>
131           </collectionProp>
132         </HeaderManager>
133         <hashTree/>
134         <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="Search Contacts Request" enabled="true">
135           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="Benutzer definierte Variablen" enabled="true">
136             <collectionProp name="Arguments.arguments">
137               <elementProp name="" elementType="HTTPArgument">
138                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
139                 <stringProp name="Argument.value">{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;Addressbook.searchContacts&quot;,&quot;params&quot;:{&quot;filter&quot;:[{&quot;field&quot;:&quot;container_id&quot;,&quot;operator&quot;:&quot;equals&quot;,&quot;value&quot;:&quot;/&quot;}],&quot;paging&quot;:{&quot;sort&quot;:&quot;n_fileas&quot;,&quot;dir&quot;:&quot;ASC&quot;,&quot;start&quot;:0,&quot;limit&quot;:50}},&quot;id&quot;:6}</stringProp>
140                 <stringProp name="Argument.metadata">=</stringProp>
141                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
142               </elementProp>
143             </collectionProp>
144           </elementProp>
145           <stringProp name="HTTPSampler.domain"></stringProp>
146           <stringProp name="HTTPSampler.port"></stringProp>
147           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
148           <stringProp name="HTTPSampler.response_timeout"></stringProp>
149           <stringProp name="HTTPSampler.protocol"></stringProp>
150           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
151           <stringProp name="HTTPSampler.path"></stringProp>
152           <stringProp name="HTTPSampler.method">POST</stringProp>
153           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
154           <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
155           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
156           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
157           <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
158           <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
159           <stringProp name="HTTPSampler.mimetype"></stringProp>
160           <boolProp name="HTTPSampler.monitor">false</boolProp>
161           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
162         </HTTPSampler>
163         <hashTree/>
164         <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="Logout Request" enabled="true">
165           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="Benutzer definierte Variablen" enabled="true">
166             <collectionProp name="Arguments.arguments">
167               <elementProp name="" elementType="HTTPArgument">
168                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
169                 <stringProp name="Argument.value">{&quot;jsonrpc&quot;:&quot;2.0&quot;,&quot;method&quot;:&quot;Tinebase.logout&quot;,&quot;params&quot;:{},&quot;id&quot;:11}</stringProp>
170                 <stringProp name="Argument.metadata">=</stringProp>
171                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
172               </elementProp>
173             </collectionProp>
174           </elementProp>
175           <stringProp name="HTTPSampler.domain"></stringProp>
176           <stringProp name="HTTPSampler.port"></stringProp>
177           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
178           <stringProp name="HTTPSampler.response_timeout"></stringProp>
179           <stringProp name="HTTPSampler.protocol"></stringProp>
180           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
181           <stringProp name="HTTPSampler.path"></stringProp>
182           <stringProp name="HTTPSampler.method">POST</stringProp>
183           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
184           <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
185           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
186           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
187           <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
188           <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
189           <stringProp name="HTTPSampler.mimetype"></stringProp>
190           <boolProp name="HTTPSampler.monitor">false</boolProp>
191           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
192         </HTTPSampler>
193         <hashTree/>
194         <ResultCollector guiclass="GraphVisualizer" testclass="ResultCollector" testname="Ergebnisse" enabled="true">
195           <boolProp name="ResultCollector.error_logging">false</boolProp>
196           <objProp>
197             <name>saveConfig</name>
198             <value class="SampleSaveConfiguration">
199               <time>true</time>
200               <latency>true</latency>
201               <timestamp>true</timestamp>
202               <success>true</success>
203               <label>true</label>
204               <code>true</code>
205               <message>true</message>
206               <threadName>true</threadName>
207               <dataType>true</dataType>
208               <encoding>false</encoding>
209               <assertions>true</assertions>
210               <subresults>true</subresults>
211               <responseData>false</responseData>
212               <samplerData>false</samplerData>
213               <xml>true</xml>
214               <fieldNames>false</fieldNames>
215               <responseHeaders>false</responseHeaders>
216               <requestHeaders>false</requestHeaders>
217               <responseDataOnError>false</responseDataOnError>
218               <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
219               <assertionsResultsToSave>0</assertionsResultsToSave>
220               <bytes>true</bytes>
221             </value>
222           </objProp>
223           <stringProp name="filename"></stringProp>
224         </ResultCollector>
225         <hashTree/>
226         <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
227           <boolProp name="ResultCollector.error_logging">false</boolProp>
228           <objProp>
229             <name>saveConfig</name>
230             <value class="SampleSaveConfiguration">
231               <time>true</time>
232               <latency>true</latency>
233               <timestamp>true</timestamp>
234               <success>true</success>
235               <label>true</label>
236               <code>true</code>
237               <message>true</message>
238               <threadName>true</threadName>
239               <dataType>true</dataType>
240               <encoding>false</encoding>
241               <assertions>true</assertions>
242               <subresults>true</subresults>
243               <responseData>false</responseData>
244               <samplerData>false</samplerData>
245               <xml>true</xml>
246               <fieldNames>false</fieldNames>
247               <responseHeaders>false</responseHeaders>
248               <requestHeaders>false</requestHeaders>
249               <responseDataOnError>false</responseDataOnError>
250               <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
251               <assertionsResultsToSave>0</assertionsResultsToSave>
252               <bytes>true</bytes>
253             </value>
254           </objProp>
255           <stringProp name="filename"></stringProp>
256         </ResultCollector>
257         <hashTree/>
258         <ResultCollector guiclass="StatGraphVisualizer" testclass="ResultCollector" testname="Aggregate Graph" enabled="true">
259           <boolProp name="ResultCollector.error_logging">false</boolProp>
260           <objProp>
261             <name>saveConfig</name>
262             <value class="SampleSaveConfiguration">
263               <time>true</time>
264               <latency>true</latency>
265               <timestamp>true</timestamp>
266               <success>true</success>
267               <label>true</label>
268               <code>true</code>
269               <message>true</message>
270               <threadName>true</threadName>
271               <dataType>true</dataType>
272               <encoding>false</encoding>
273               <assertions>true</assertions>
274               <subresults>true</subresults>
275               <responseData>false</responseData>
276               <samplerData>false</samplerData>
277               <xml>true</xml>
278               <fieldNames>false</fieldNames>
279               <responseHeaders>false</responseHeaders>
280               <requestHeaders>false</requestHeaders>
281               <responseDataOnError>false</responseDataOnError>
282               <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
283               <assertionsResultsToSave>0</assertionsResultsToSave>
284               <bytes>true</bytes>
285             </value>
286           </objProp>
287           <stringProp name="filename"></stringProp>
288         </ResultCollector>
289         <hashTree/>
290       </hashTree>
291     </hashTree>
292   </hashTree>
293 </jmeterTestPlan>