f7431261a25f17a27ff3effb04c9ab03a23b4b05
[pazpar2-moved-to-github.git] / perf / jmeter / pazpar2.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="Pazpar2" enabled="true">
5       <stringProp name="TestPlan.comments">pazpar2 test</stringProp>
6       <boolProp name="TestPlan.functional_mode">true</boolProp>
7       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
8       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" 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="user session" enabled="true">
15         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
16           <boolProp name="LoopController.continue_forever">false</boolProp>
17           <stringProp name="LoopController.loops">20</stringProp>
18         </elementProp>
19         <stringProp name="ThreadGroup.num_threads">20</stringProp>
20         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
21         <longProp name="ThreadGroup.start_time">1264411820000</longProp>
22         <longProp name="ThreadGroup.end_time">1264411820000</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         <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="init request" enabled="true">
30           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
31             <collectionProp name="Arguments.arguments">
32               <elementProp name="command" elementType="HTTPArgument">
33                 <boolProp name="HTTPArgument.always_encode">true</boolProp>
34                 <stringProp name="Argument.value">init</stringProp>
35                 <stringProp name="Argument.metadata">=</stringProp>
36                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
37                 <stringProp name="Argument.name">command</stringProp>
38               </elementProp>
39             </collectionProp>
40           </elementProp>
41           <stringProp name="HTTPSampler.domain"></stringProp>
42           <stringProp name="HTTPSampler.port"></stringProp>
43           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
44           <stringProp name="HTTPSampler.response_timeout"></stringProp>
45           <stringProp name="HTTPSampler.protocol"></stringProp>
46           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
47           <stringProp name="HTTPSampler.path"></stringProp>
48           <stringProp name="HTTPSampler.method">GET</stringProp>
49           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
50           <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
51           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
52           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
53           <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
54           <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
55           <stringProp name="HTTPSampler.mimetype"></stringProp>
56           <boolProp name="HTTPSampler.monitor">false</boolProp>
57           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
58         </HTTPSampler>
59         <hashTree>
60           <XPathExtractor guiclass="XPathExtractorGui" testclass="XPathExtractor" testname="session extract" enabled="true">
61             <stringProp name="XPathExtractor.default"></stringProp>
62             <stringProp name="XPathExtractor.refname">sessionID</stringProp>
63             <stringProp name="XPathExtractor.xpathQuery">/init/session</stringProp>
64             <boolProp name="XPathExtractor.tolerant">false</boolProp>
65             <boolProp name="XPathExtractor.namespace">true</boolProp>
66           </XPathExtractor>
67           <hashTree/>
68         </hashTree>
69         <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="search request" enabled="true">
70           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
71             <collectionProp name="Arguments.arguments">
72               <elementProp name="command" elementType="HTTPArgument">
73                 <boolProp name="HTTPArgument.always_encode">true</boolProp>
74                 <stringProp name="Argument.value">search</stringProp>
75                 <stringProp name="Argument.metadata">=</stringProp>
76                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
77                 <stringProp name="Argument.name">command</stringProp>
78               </elementProp>
79               <elementProp name="query" elementType="HTTPArgument">
80                 <boolProp name="HTTPArgument.always_encode">true</boolProp>
81                 <stringProp name="Argument.value">water</stringProp>
82                 <stringProp name="Argument.metadata">=</stringProp>
83                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
84                 <stringProp name="Argument.name">query</stringProp>
85               </elementProp>
86               <elementProp name="session" elementType="HTTPArgument">
87                 <boolProp name="HTTPArgument.always_encode">true</boolProp>
88                 <stringProp name="Argument.value">${sessionID}</stringProp>
89                 <stringProp name="Argument.metadata">=</stringProp>
90                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
91                 <stringProp name="Argument.name">session</stringProp>
92               </elementProp>
93             </collectionProp>
94           </elementProp>
95           <stringProp name="HTTPSampler.domain"></stringProp>
96           <stringProp name="HTTPSampler.port"></stringProp>
97           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
98           <stringProp name="HTTPSampler.response_timeout"></stringProp>
99           <stringProp name="HTTPSampler.protocol"></stringProp>
100           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
101           <stringProp name="HTTPSampler.path"></stringProp>
102           <stringProp name="HTTPSampler.method">GET</stringProp>
103           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
104           <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
105           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
106           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
107           <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
108           <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
109           <stringProp name="HTTPSampler.mimetype"></stringProp>
110           <boolProp name="HTTPSampler.monitor">false</boolProp>
111           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
112         </HTTPSampler>
113         <hashTree/>
114         <HTTPSampler guiclass="HttpTestSampleGui" testclass="HTTPSampler" testname="show request" enabled="true">
115           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
116             <collectionProp name="Arguments.arguments">
117               <elementProp name="command" elementType="HTTPArgument">
118                 <boolProp name="HTTPArgument.always_encode">true</boolProp>
119                 <stringProp name="Argument.value">show</stringProp>
120                 <stringProp name="Argument.metadata">=</stringProp>
121                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
122                 <stringProp name="Argument.name">command</stringProp>
123               </elementProp>
124               <elementProp name="session" elementType="HTTPArgument">
125                 <boolProp name="HTTPArgument.always_encode">true</boolProp>
126                 <stringProp name="Argument.value">${sessionID}</stringProp>
127                 <stringProp name="Argument.metadata">=</stringProp>
128                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
129                 <stringProp name="Argument.name">session</stringProp>
130               </elementProp>
131               <elementProp name="block" elementType="HTTPArgument">
132                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
133                 <stringProp name="Argument.value">1</stringProp>
134                 <stringProp name="Argument.metadata">=</stringProp>
135                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
136                 <stringProp name="Argument.name">block</stringProp>
137               </elementProp>
138             </collectionProp>
139           </elementProp>
140           <stringProp name="HTTPSampler.domain"></stringProp>
141           <stringProp name="HTTPSampler.port"></stringProp>
142           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
143           <stringProp name="HTTPSampler.response_timeout"></stringProp>
144           <stringProp name="HTTPSampler.protocol"></stringProp>
145           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
146           <stringProp name="HTTPSampler.path"></stringProp>
147           <stringProp name="HTTPSampler.method">GET</stringProp>
148           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
149           <boolProp name="HTTPSampler.auto_redirects">true</boolProp>
150           <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
151           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
152           <stringProp name="HTTPSampler.FILE_NAME"></stringProp>
153           <stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
154           <stringProp name="HTTPSampler.mimetype"></stringProp>
155           <boolProp name="HTTPSampler.monitor">false</boolProp>
156           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
157         </HTTPSampler>
158         <hashTree/>
159         <TestAction guiclass="TestActionGui" testclass="TestAction" testname="pause" enabled="true">
160           <intProp name="ActionProcessor.action">1</intProp>
161           <intProp name="ActionProcessor.target">0</intProp>
162           <stringProp name="ActionProcessor.duration">5000</stringProp>
163         </TestAction>
164         <hashTree/>
165         <ResultSaver guiclass="ResultSaverGui" testclass="ResultSaver" testname="dump to a file" enabled="true">
166           <stringProp name="FileSaver.filename">response</stringProp>
167           <boolProp name="FileSaver.errorsonly">true</boolProp>
168           <boolProp name="FileSaver.skipautonumber">false</boolProp>
169           <boolProp name="FileSaver.skipsuffix">false</boolProp>
170           <boolProp name="FileSaver.successonly">false</boolProp>
171         </ResultSaver>
172         <hashTree/>
173         <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="request settings" enabled="true">
174           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
175             <collectionProp name="Arguments.arguments"/>
176           </elementProp>
177           <stringProp name="HTTPSampler.domain">localhost</stringProp>
178           <stringProp name="HTTPSampler.port"></stringProp>
179           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
180           <stringProp name="HTTPSampler.response_timeout"></stringProp>
181           <stringProp name="HTTPSampler.protocol"></stringProp>
182           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
183           <stringProp name="HTTPSampler.path">/pazpar2/search.pz2</stringProp>
184         </ConfigTestElement>
185         <hashTree/>
186         <ResultCollector guiclass="GraphVisualizer" testclass="ResultCollector" testname="Graph Results" enabled="true">
187           <boolProp name="ResultCollector.error_logging">false</boolProp>
188           <objProp>
189             <name>saveConfig</name>
190             <value class="SampleSaveConfiguration">
191               <time>true</time>
192               <latency>true</latency>
193               <timestamp>true</timestamp>
194               <success>true</success>
195               <label>true</label>
196               <code>true</code>
197               <message>true</message>
198               <threadName>true</threadName>
199               <dataType>true</dataType>
200               <encoding>false</encoding>
201               <assertions>true</assertions>
202               <subresults>true</subresults>
203               <responseData>false</responseData>
204               <samplerData>false</samplerData>
205               <xml>true</xml>
206               <fieldNames>false</fieldNames>
207               <responseHeaders>false</responseHeaders>
208               <requestHeaders>false</requestHeaders>
209               <responseDataOnError>false</responseDataOnError>
210               <saveAssertionResultsFailureMessage>false</saveAssertionResultsFailureMessage>
211               <assertionsResultsToSave>0</assertionsResultsToSave>
212               <bytes>true</bytes>
213             </value>
214           </objProp>
215           <stringProp name="filename">/home/jakub/results.jmeter</stringProp>
216         </ResultCollector>
217         <hashTree/>
218       </hashTree>
219     </hashTree>
220   </hashTree>
221 </jmeterTestPlan>