hmm, added twice.
[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">false</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">10</stringProp>
18         </elementProp>
19         <stringProp name="ThreadGroup.num_threads">40</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">50</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 name="service" elementType="HTTPArgument">
177                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
178                 <stringProp name="Argument.value">perf</stringProp>
179                 <stringProp name="Argument.metadata">=</stringProp>
180                 <boolProp name="HTTPArgument.use_equals">true</boolProp>
181                 <stringProp name="Argument.name">service</stringProp>
182               </elementProp>
183             </collectionProp>
184           </elementProp>
185           <stringProp name="HTTPSampler.domain">satay</stringProp>
186           <stringProp name="HTTPSampler.port">8010</stringProp>
187           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
188           <stringProp name="HTTPSampler.response_timeout"></stringProp>
189           <stringProp name="HTTPSampler.protocol"></stringProp>
190           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
191           <stringProp name="HTTPSampler.path"></stringProp>
192         </ConfigTestElement>
193         <hashTree/>
194         <ResultCollector guiclass="GraphVisualizer" testclass="ResultCollector" testname="Graph Results" 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">results.jtl</stringProp>
224         </ResultCollector>
225         <hashTree/>
226       </hashTree>
227     </hashTree>
228   </hashTree>
229 </jmeterTestPlan>