XACML PDP Performance Test
[policy/engine.git] / TestSuite / Stability / src / main / resources / testplans / XacmlPdpTestPlan.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP Policy Engine
5   ================================================================================
6   Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
7   ================================================================================
8   Licensed under the Apache License, Version 2.0 (the "License");
9   you may not use this file except in compliance with the License.
10   You may obtain a copy of the License at
11   
12        http://www.apache.org/licenses/LICENSE-2.0
13   
14   Unless required by applicable law or agreed to in writing, software
15   distributed under the License is distributed on an "AS IS" BASIS,
16   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   See the License for the specific language governing permissions and
18   limitations under the License.
19   ============LICENSE_END=========================================================
20   -->
21 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.0 r1840935">
22   <hashTree>
23     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="PDPX Stability Test Plan" enabled="true">
24       <stringProp name="TestPlan.comments"></stringProp>
25       <boolProp name="TestPlan.functional_mode">false</boolProp>
26       <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
27       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
28       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
29         <collectionProp name="Arguments.arguments"/>
30       </elementProp>
31       <stringProp name="TestPlan.user_define_classpath"></stringProp>
32     </TestPlan>
33     <hashTree>
34       <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
35         <collectionProp name="HeaderManager.headers">
36           <elementProp name="" elementType="Header">
37             <stringProp name="Header.name">ClientAuth</stringProp>
38             <stringProp name="Header.value">cHl0aG9uOnRlc3Q=</stringProp>
39           </elementProp>
40           <elementProp name="" elementType="Header">
41             <stringProp name="Header.name">Authorization</stringProp>
42             <stringProp name="Header.value">Basic dGVzdHBkcDphbHBoYTEyMw==</stringProp>
43           </elementProp>
44           <elementProp name="" elementType="Header">
45             <stringProp name="Header.name">Environment</stringProp>
46             <stringProp name="Header.value">TEST</stringProp>
47           </elementProp>
48           <elementProp name="" elementType="Header">
49             <stringProp name="Header.name">Content-Type</stringProp>
50             <stringProp name="Header.value">application/json</stringProp>
51           </elementProp>
52         </collectionProp>
53       </HeaderManager>
54       <hashTree/>
55       <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
56         <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
57           <collectionProp name="Arguments.arguments"/>
58         </elementProp>
59         <stringProp name="HTTPSampler.domain">10.12.6.225</stringProp>
60         <stringProp name="HTTPSampler.port">8081</stringProp>
61         <stringProp name="HTTPSampler.protocol">https</stringProp>
62         <stringProp name="HTTPSampler.contentEncoding"></stringProp>
63         <stringProp name="HTTPSampler.path"></stringProp>
64         <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
65         <stringProp name="HTTPSampler.connect_timeout"></stringProp>
66         <stringProp name="HTTPSampler.response_timeout"></stringProp>
67       </ConfigTestElement>
68       <hashTree/>
69       <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
70         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
71         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
72           <boolProp name="LoopController.continue_forever">false</boolProp>
73           <stringProp name="LoopController.loops">1</stringProp>
74         </elementProp>
75         <stringProp name="ThreadGroup.num_threads">10</stringProp>
76         <stringProp name="ThreadGroup.ramp_time">10</stringProp>
77         <boolProp name="ThreadGroup.scheduler">false</boolProp>
78         <stringProp name="ThreadGroup.duration"></stringProp>
79         <stringProp name="ThreadGroup.delay"></stringProp>
80       </SetupThreadGroup>
81       <hashTree>
82         <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Create and Push Controller" enabled="true">
83           <boolProp name="LoopController.continue_forever">true</boolProp>
84           <stringProp name="LoopController.loops">1000</stringProp>
85         </LoopController>
86         <hashTree>
87           <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Transaction Controller" enabled="true">
88             <boolProp name="TransactionController.includeTimers">false</boolProp>
89             <boolProp name="TransactionController.parent">false</boolProp>
90           </TransactionController>
91           <hashTree>
92             <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="RequestNumber" enabled="true">
93               <stringProp name="CounterConfig.start">1</stringProp>
94               <stringProp name="CounterConfig.end"></stringProp>
95               <stringProp name="CounterConfig.incr">1</stringProp>
96               <stringProp name="CounterConfig.name">request_number</stringProp>
97               <stringProp name="CounterConfig.format">000</stringProp>
98               <boolProp name="CounterConfig.per_user">false</boolProp>
99             </CounterConfig>
100             <hashTree/>
101             <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Guard Policy" enabled="true">
102               <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
103               <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
104                 <collectionProp name="Arguments.arguments">
105                   <elementProp name="" elementType="HTTPArgument">
106                     <boolProp name="HTTPArgument.always_encode">false</boolProp>
107                     <stringProp name="Argument.value">{&#xd;
108     &quot;policyClass&quot;: &quot;Decision&quot;,&#xd;
109     &quot;policyName&quot;: &quot;Test.TestingGUARD${request_number}&quot;,&#xd;
110     &quot;policyDescription&quot;: &quot;Testing new YAML Guard Policy&quot;,&#xd;
111     &quot;onapName&quot;: &quot;PDPD&quot;,&#xd;
112     &quot;ruleProvider&quot;: &quot;GUARD_YAML&quot;,&#xd;
113     &quot;attributes&quot;: {&#xd;
114         &quot;MATCHING&quot;: {&#xd;
115             &quot;actor&quot;: &quot;testActor${request_number}&quot;,&#xd;
116             &quot;recipe&quot;: &quot;restart&quot;,&#xd;
117             &quot;targets&quot; : &quot;test&quot;,&#xd;
118             &quot;clname&quot; : &quot;test&quot;,&#xd;
119             &quot;limit&quot;: &quot;5&quot;,&#xd;
120             &quot;timeWindow&quot;: &quot;15&quot;,&#xd;
121             &quot;timeUnits&quot; : &quot;minute&quot;,&#xd;
122             &quot;guardActiveStart&quot;: &quot;05:00:00-05:00&quot;,&#xd;
123             &quot;guardActiveEnd&quot;: &quot;23:59:59-05:00&quot;&#xd;
124         }&#xd;
125     }&#xd;
126 }</stringProp>
127                     <stringProp name="Argument.metadata">=</stringProp>
128                   </elementProp>
129                 </collectionProp>
130               </elementProp>
131               <stringProp name="HTTPSampler.domain"></stringProp>
132               <stringProp name="HTTPSampler.port"></stringProp>
133               <stringProp name="HTTPSampler.protocol"></stringProp>
134               <stringProp name="HTTPSampler.contentEncoding"></stringProp>
135               <stringProp name="HTTPSampler.path">pdp/api/createPolicy</stringProp>
136               <stringProp name="HTTPSampler.method">PUT</stringProp>
137               <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
138               <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
139               <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
140               <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
141               <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
142               <stringProp name="HTTPSampler.connect_timeout"></stringProp>
143               <stringProp name="HTTPSampler.response_timeout"></stringProp>
144             </HTTPSamplerProxy>
145             <hashTree>
146               <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
147                 <boolProp name="ResultCollector.error_logging">false</boolProp>
148                 <objProp>
149                   <name>saveConfig</name>
150                   <value class="SampleSaveConfiguration">
151                     <time>true</time>
152                     <latency>true</latency>
153                     <timestamp>true</timestamp>
154                     <success>true</success>
155                     <label>true</label>
156                     <code>true</code>
157                     <message>true</message>
158                     <threadName>true</threadName>
159                     <dataType>true</dataType>
160                     <encoding>false</encoding>
161                     <assertions>true</assertions>
162                     <subresults>true</subresults>
163                     <responseData>false</responseData>
164                     <samplerData>false</samplerData>
165                     <xml>false</xml>
166                     <fieldNames>true</fieldNames>
167                     <responseHeaders>false</responseHeaders>
168                     <requestHeaders>false</requestHeaders>
169                     <responseDataOnError>false</responseDataOnError>
170                     <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
171                     <assertionsResultsToSave>0</assertionsResultsToSave>
172                     <bytes>true</bytes>
173                     <sentBytes>true</sentBytes>
174                     <threadCounts>true</threadCounts>
175                     <idleTime>true</idleTime>
176                     <connectTime>true</connectTime>
177                   </value>
178                 </objProp>
179                 <stringProp name="filename">createPolicy.jtl</stringProp>
180               </ResultCollector>
181               <hashTree/>
182             </hashTree>
183             <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Push Guard Policy" enabled="true">
184               <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
185               <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
186                 <collectionProp name="Arguments.arguments">
187                   <elementProp name="" elementType="HTTPArgument">
188                     <boolProp name="HTTPArgument.always_encode">false</boolProp>
189                     <stringProp name="Argument.value">{&#xd;
190   &quot;pdpGroup&quot;: &quot;default&quot;,&#xd;
191   &quot;policyName&quot;: &quot;Test.TestingGUARD${request_number}&quot;,&#xd;
192   &quot;policyType&quot;: &quot;Decision&quot;&#xd;
193 }</stringProp>
194                     <stringProp name="Argument.metadata">=</stringProp>
195                   </elementProp>
196                 </collectionProp>
197               </elementProp>
198               <stringProp name="HTTPSampler.domain"></stringProp>
199               <stringProp name="HTTPSampler.port"></stringProp>
200               <stringProp name="HTTPSampler.protocol"></stringProp>
201               <stringProp name="HTTPSampler.contentEncoding"></stringProp>
202               <stringProp name="HTTPSampler.path">pdp/api/pushPolicy</stringProp>
203               <stringProp name="HTTPSampler.method">PUT</stringProp>
204               <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
205               <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
206               <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
207               <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
208               <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
209               <stringProp name="HTTPSampler.connect_timeout"></stringProp>
210               <stringProp name="HTTPSampler.response_timeout"></stringProp>
211             </HTTPSamplerProxy>
212             <hashTree>
213               <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
214                 <boolProp name="ResultCollector.error_logging">false</boolProp>
215                 <objProp>
216                   <name>saveConfig</name>
217                   <value class="SampleSaveConfiguration">
218                     <time>true</time>
219                     <latency>true</latency>
220                     <timestamp>true</timestamp>
221                     <success>true</success>
222                     <label>true</label>
223                     <code>true</code>
224                     <message>true</message>
225                     <threadName>true</threadName>
226                     <dataType>true</dataType>
227                     <encoding>false</encoding>
228                     <assertions>true</assertions>
229                     <subresults>true</subresults>
230                     <responseData>false</responseData>
231                     <samplerData>false</samplerData>
232                     <xml>false</xml>
233                     <fieldNames>true</fieldNames>
234                     <responseHeaders>false</responseHeaders>
235                     <requestHeaders>false</requestHeaders>
236                     <responseDataOnError>false</responseDataOnError>
237                     <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
238                     <assertionsResultsToSave>0</assertionsResultsToSave>
239                     <bytes>true</bytes>
240                     <sentBytes>true</sentBytes>
241                     <threadCounts>true</threadCounts>
242                     <idleTime>true</idleTime>
243                     <connectTime>true</connectTime>
244                   </value>
245                 </objProp>
246                 <stringProp name="filename">pushPolicy.jtl</stringProp>
247               </ResultCollector>
248               <hashTree/>
249             </hashTree>
250           </hashTree>
251         </hashTree>
252       </hashTree>
253       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Execute Policy Thread Group Permit" enabled="true">
254         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
255         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
256           <boolProp name="LoopController.continue_forever">false</boolProp>
257           <stringProp name="LoopController.loops">1</stringProp>
258         </elementProp>
259         <stringProp name="ThreadGroup.num_threads">10</stringProp>
260         <stringProp name="ThreadGroup.ramp_time">10</stringProp>
261         <boolProp name="ThreadGroup.scheduler">false</boolProp>
262         <stringProp name="ThreadGroup.duration"></stringProp>
263         <stringProp name="ThreadGroup.delay"></stringProp>
264       </ThreadGroup>
265       <hashTree>
266         <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Get Decision Permit Controller" enabled="true">
267           <boolProp name="LoopController.continue_forever">true</boolProp>
268           <stringProp name="LoopController.loops">1000</stringProp>
269         </LoopController>
270         <hashTree>
271           <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Transaction Controller" enabled="true">
272             <boolProp name="TransactionController.includeTimers">false</boolProp>
273             <boolProp name="TransactionController.parent">false</boolProp>
274           </TransactionController>
275           <hashTree>
276             <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="RequestNumber" enabled="true">
277               <stringProp name="CounterConfig.start">1</stringProp>
278               <stringProp name="CounterConfig.end">10</stringProp>
279               <stringProp name="CounterConfig.incr">1</stringProp>
280               <stringProp name="CounterConfig.name">request_number</stringProp>
281               <stringProp name="CounterConfig.format">000</stringProp>
282               <boolProp name="CounterConfig.per_user">false</boolProp>
283             </CounterConfig>
284             <hashTree/>
285             <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Execute Guard Policy" enabled="true">
286               <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
287               <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
288                 <collectionProp name="Arguments.arguments">
289                   <elementProp name="" elementType="HTTPArgument">
290                     <boolProp name="HTTPArgument.always_encode">false</boolProp>
291                     <stringProp name="Argument.value">{&#xd;
292   &quot;decisionAttributes&quot;: {&#xd;
293         &quot;actor&quot;: &quot;testActor${request_number}&quot;,&#xd;
294         &quot;recipe&quot;: &quot;restart&quot;,&#xd;
295         &quot;target&quot;: &quot;test&quot;,&#xd;
296         &quot;clname&quot; : &quot;test&quot;&#xd;
297     },&#xd;
298   &quot;onapName&quot;: &quot;PDPD&quot;&#xd;
299 }</stringProp>
300                     <stringProp name="Argument.metadata">=</stringProp>
301                   </elementProp>
302                 </collectionProp>
303               </elementProp>
304               <stringProp name="HTTPSampler.domain"></stringProp>
305               <stringProp name="HTTPSampler.port"></stringProp>
306               <stringProp name="HTTPSampler.protocol"></stringProp>
307               <stringProp name="HTTPSampler.contentEncoding"></stringProp>
308               <stringProp name="HTTPSampler.path">pdp/api/getDecision</stringProp>
309               <stringProp name="HTTPSampler.method">POST</stringProp>
310               <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
311               <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
312               <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
313               <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
314               <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
315               <stringProp name="HTTPSampler.connect_timeout"></stringProp>
316               <stringProp name="HTTPSampler.response_timeout"></stringProp>
317             </HTTPSamplerProxy>
318             <hashTree>
319               <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
320                 <collectionProp name="Asserion.test_strings">
321                   <stringProp name="1966519771">&quot;decision&quot;:&quot;PERMIT&quot;</stringProp>
322                 </collectionProp>
323                 <stringProp name="Assertion.custom_message"></stringProp>
324                 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
325                 <boolProp name="Assertion.assume_success">false</boolProp>
326                 <intProp name="Assertion.test_type">2</intProp>
327               </ResponseAssertion>
328               <hashTree/>
329               <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
330                 <boolProp name="ResultCollector.error_logging">false</boolProp>
331                 <objProp>
332                   <name>saveConfig</name>
333                   <value class="SampleSaveConfiguration">
334                     <time>true</time>
335                     <latency>true</latency>
336                     <timestamp>true</timestamp>
337                     <success>true</success>
338                     <label>true</label>
339                     <code>true</code>
340                     <message>true</message>
341                     <threadName>true</threadName>
342                     <dataType>true</dataType>
343                     <encoding>false</encoding>
344                     <assertions>true</assertions>
345                     <subresults>true</subresults>
346                     <responseData>false</responseData>
347                     <samplerData>false</samplerData>
348                     <xml>false</xml>
349                     <fieldNames>true</fieldNames>
350                     <responseHeaders>false</responseHeaders>
351                     <requestHeaders>false</requestHeaders>
352                     <responseDataOnError>false</responseDataOnError>
353                     <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
354                     <assertionsResultsToSave>0</assertionsResultsToSave>
355                     <bytes>true</bytes>
356                     <sentBytes>true</sentBytes>
357                     <threadCounts>true</threadCounts>
358                     <idleTime>true</idleTime>
359                     <connectTime>true</connectTime>
360                   </value>
361                 </objProp>
362                 <stringProp name="filename">guardPermit.jtl</stringProp>
363               </ResultCollector>
364               <hashTree/>
365             </hashTree>
366           </hashTree>
367         </hashTree>
368       </hashTree>
369       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Execute Policy Thread Group Deny" enabled="true">
370         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
371         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
372           <boolProp name="LoopController.continue_forever">false</boolProp>
373           <stringProp name="LoopController.loops">1</stringProp>
374         </elementProp>
375         <stringProp name="ThreadGroup.num_threads">10</stringProp>
376         <stringProp name="ThreadGroup.ramp_time">10</stringProp>
377         <boolProp name="ThreadGroup.scheduler">false</boolProp>
378         <stringProp name="ThreadGroup.duration"></stringProp>
379         <stringProp name="ThreadGroup.delay"></stringProp>
380       </ThreadGroup>
381       <hashTree>
382         <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Get Decision Deny Controller" enabled="true">
383           <boolProp name="LoopController.continue_forever">true</boolProp>
384           <stringProp name="LoopController.loops">1000</stringProp>
385         </LoopController>
386         <hashTree>
387           <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Transaction Controller" enabled="true">
388             <boolProp name="TransactionController.includeTimers">false</boolProp>
389             <boolProp name="TransactionController.parent">false</boolProp>
390           </TransactionController>
391           <hashTree>
392             <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="RequestNumber" enabled="true">
393               <stringProp name="CounterConfig.start">11</stringProp>
394               <stringProp name="CounterConfig.end"></stringProp>
395               <stringProp name="CounterConfig.incr">1</stringProp>
396               <stringProp name="CounterConfig.name">request_number</stringProp>
397               <stringProp name="CounterConfig.format">000</stringProp>
398               <boolProp name="CounterConfig.per_user">false</boolProp>
399             </CounterConfig>
400             <hashTree/>
401             <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Execute Guard Policy" enabled="true">
402               <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
403               <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
404                 <collectionProp name="Arguments.arguments">
405                   <elementProp name="" elementType="HTTPArgument">
406                     <boolProp name="HTTPArgument.always_encode">false</boolProp>
407                     <stringProp name="Argument.value">{&#xd;
408   &quot;decisionAttributes&quot;: {&#xd;
409         &quot;actor&quot;: &quot;testActor${request_number}&quot;,&#xd;
410         &quot;recipe&quot;: &quot;restart&quot;,&#xd;
411         &quot;target&quot;: &quot;test&quot;,&#xd;
412         &quot;clname&quot; : &quot;test&quot;&#xd;
413     },&#xd;
414   &quot;onapName&quot;: &quot;test&quot;&#xd;
415 }</stringProp>
416                     <stringProp name="Argument.metadata">=</stringProp>
417                   </elementProp>
418                 </collectionProp>
419               </elementProp>
420               <stringProp name="HTTPSampler.domain"></stringProp>
421               <stringProp name="HTTPSampler.port"></stringProp>
422               <stringProp name="HTTPSampler.protocol"></stringProp>
423               <stringProp name="HTTPSampler.contentEncoding"></stringProp>
424               <stringProp name="HTTPSampler.path">pdp/api/getDecision</stringProp>
425               <stringProp name="HTTPSampler.method">POST</stringProp>
426               <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
427               <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
428               <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
429               <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
430               <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
431               <stringProp name="HTTPSampler.connect_timeout"></stringProp>
432               <stringProp name="HTTPSampler.response_timeout"></stringProp>
433             </HTTPSamplerProxy>
434             <hashTree>
435               <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
436                 <collectionProp name="Asserion.test_strings">
437                   <stringProp name="-1586691318">&quot;decision&quot;:&quot;DENY&quot;</stringProp>
438                 </collectionProp>
439                 <stringProp name="Assertion.custom_message"></stringProp>
440                 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
441                 <boolProp name="Assertion.assume_success">false</boolProp>
442                 <intProp name="Assertion.test_type">2</intProp>
443               </ResponseAssertion>
444               <hashTree/>
445               <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
446                 <boolProp name="ResultCollector.error_logging">false</boolProp>
447                 <objProp>
448                   <name>saveConfig</name>
449                   <value class="SampleSaveConfiguration">
450                     <time>true</time>
451                     <latency>true</latency>
452                     <timestamp>true</timestamp>
453                     <success>true</success>
454                     <label>true</label>
455                     <code>true</code>
456                     <message>true</message>
457                     <threadName>true</threadName>
458                     <dataType>true</dataType>
459                     <encoding>false</encoding>
460                     <assertions>true</assertions>
461                     <subresults>true</subresults>
462                     <responseData>false</responseData>
463                     <samplerData>false</samplerData>
464                     <xml>false</xml>
465                     <fieldNames>true</fieldNames>
466                     <responseHeaders>false</responseHeaders>
467                     <requestHeaders>false</requestHeaders>
468                     <responseDataOnError>false</responseDataOnError>
469                     <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
470                     <assertionsResultsToSave>0</assertionsResultsToSave>
471                     <bytes>true</bytes>
472                     <sentBytes>true</sentBytes>
473                     <threadCounts>true</threadCounts>
474                     <idleTime>true</idleTime>
475                     <connectTime>true</connectTime>
476                   </value>
477                 </objProp>
478                 <stringProp name="filename">guardDeny.jtl</stringProp>
479               </ResultCollector>
480               <hashTree/>
481             </hashTree>
482           </hashTree>
483         </hashTree>
484       </hashTree>
485       <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
486         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
487         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
488           <boolProp name="LoopController.continue_forever">false</boolProp>
489           <stringProp name="LoopController.loops">1</stringProp>
490         </elementProp>
491         <stringProp name="ThreadGroup.num_threads">1</stringProp>
492         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
493         <boolProp name="ThreadGroup.scheduler">false</boolProp>
494         <stringProp name="ThreadGroup.duration"></stringProp>
495         <stringProp name="ThreadGroup.delay"></stringProp>
496       </PostThreadGroup>
497       <hashTree>
498         <LoopController guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
499           <boolProp name="LoopController.continue_forever">true</boolProp>
500           <stringProp name="LoopController.loops">1000</stringProp>
501         </LoopController>
502         <hashTree>
503           <TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="Transaction Controller" enabled="true">
504             <boolProp name="TransactionController.includeTimers">false</boolProp>
505             <boolProp name="TransactionController.parent">false</boolProp>
506           </TransactionController>
507           <hashTree>
508             <CounterConfig guiclass="CounterConfigGui" testclass="CounterConfig" testname="RequestNumber" enabled="true">
509               <stringProp name="CounterConfig.start">1</stringProp>
510               <stringProp name="CounterConfig.end"></stringProp>
511               <stringProp name="CounterConfig.incr">1</stringProp>
512               <stringProp name="CounterConfig.name">request_number</stringProp>
513               <stringProp name="CounterConfig.format">000</stringProp>
514               <boolProp name="CounterConfig.per_user">false</boolProp>
515             </CounterConfig>
516             <hashTree/>
517             <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Guard Policy From PDP" enabled="true">
518               <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
519               <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
520                 <collectionProp name="Arguments.arguments">
521                   <elementProp name="" elementType="HTTPArgument">
522                     <boolProp name="HTTPArgument.always_encode">false</boolProp>
523                     <stringProp name="Argument.value">{&#xd;
524   &quot;pdpGroup&quot;: &quot;default&quot;,&#xd;
525   &quot;policyName&quot;: &quot;Test.TestingGUARD${request_number}&quot;,&#xd;
526   &quot;policyType&quot;: &quot;Decision&quot;,&#xd;
527   &quot;policyComponent&quot;: &quot;PDP&quot;,&#xd;
528   &quot;deleteCondition&quot;: &quot;All Versions&quot;&#xd;
529 }</stringProp>
530                     <stringProp name="Argument.metadata">=</stringProp>
531                   </elementProp>
532                 </collectionProp>
533               </elementProp>
534               <stringProp name="HTTPSampler.domain"></stringProp>
535               <stringProp name="HTTPSampler.port"></stringProp>
536               <stringProp name="HTTPSampler.protocol"></stringProp>
537               <stringProp name="HTTPSampler.contentEncoding"></stringProp>
538               <stringProp name="HTTPSampler.path">pdp/api/deletePolicy</stringProp>
539               <stringProp name="HTTPSampler.method">DELETE</stringProp>
540               <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
541               <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
542               <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
543               <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
544               <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
545               <stringProp name="HTTPSampler.connect_timeout"></stringProp>
546               <stringProp name="HTTPSampler.response_timeout"></stringProp>
547             </HTTPSamplerProxy>
548             <hashTree>
549               <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
550                 <boolProp name="ResultCollector.error_logging">false</boolProp>
551                 <objProp>
552                   <name>saveConfig</name>
553                   <value class="SampleSaveConfiguration">
554                     <time>true</time>
555                     <latency>true</latency>
556                     <timestamp>true</timestamp>
557                     <success>true</success>
558                     <label>true</label>
559                     <code>true</code>
560                     <message>true</message>
561                     <threadName>true</threadName>
562                     <dataType>true</dataType>
563                     <encoding>false</encoding>
564                     <assertions>true</assertions>
565                     <subresults>true</subresults>
566                     <responseData>false</responseData>
567                     <samplerData>false</samplerData>
568                     <xml>false</xml>
569                     <fieldNames>true</fieldNames>
570                     <responseHeaders>false</responseHeaders>
571                     <requestHeaders>false</requestHeaders>
572                     <responseDataOnError>false</responseDataOnError>
573                     <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
574                     <assertionsResultsToSave>0</assertionsResultsToSave>
575                     <bytes>true</bytes>
576                     <sentBytes>true</sentBytes>
577                     <threadCounts>true</threadCounts>
578                     <idleTime>true</idleTime>
579                     <connectTime>true</connectTime>
580                   </value>
581                 </objProp>
582                 <stringProp name="filename">deletePDP.jtl</stringProp>
583               </ResultCollector>
584               <hashTree/>
585             </hashTree>
586             <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Guard Policy From PAP" enabled="true">
587               <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
588               <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
589                 <collectionProp name="Arguments.arguments">
590                   <elementProp name="" elementType="HTTPArgument">
591                     <boolProp name="HTTPArgument.always_encode">false</boolProp>
592                     <stringProp name="Argument.value">{&#xd;
593   &quot;policyName&quot;: &quot;Test.TestingGUARD${request_number}&quot;,&#xd;
594   &quot;policyType&quot;: &quot;Decision&quot;,&#xd;
595   &quot;policyComponent&quot;: &quot;PAP&quot;,&#xd;
596   &quot;deleteCondition&quot;: &quot;All Versions&quot;&#xd;
597 }</stringProp>
598                     <stringProp name="Argument.metadata">=</stringProp>
599                   </elementProp>
600                 </collectionProp>
601               </elementProp>
602               <stringProp name="HTTPSampler.domain"></stringProp>
603               <stringProp name="HTTPSampler.port"></stringProp>
604               <stringProp name="HTTPSampler.protocol"></stringProp>
605               <stringProp name="HTTPSampler.contentEncoding"></stringProp>
606               <stringProp name="HTTPSampler.path">pdp/api/deletePolicy</stringProp>
607               <stringProp name="HTTPSampler.method">DELETE</stringProp>
608               <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
609               <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
610               <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
611               <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
612               <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
613               <stringProp name="HTTPSampler.connect_timeout"></stringProp>
614               <stringProp name="HTTPSampler.response_timeout"></stringProp>
615             </HTTPSamplerProxy>
616             <hashTree>
617               <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
618                 <boolProp name="ResultCollector.error_logging">false</boolProp>
619                 <objProp>
620                   <name>saveConfig</name>
621                   <value class="SampleSaveConfiguration">
622                     <time>true</time>
623                     <latency>true</latency>
624                     <timestamp>true</timestamp>
625                     <success>true</success>
626                     <label>true</label>
627                     <code>true</code>
628                     <message>true</message>
629                     <threadName>true</threadName>
630                     <dataType>true</dataType>
631                     <encoding>false</encoding>
632                     <assertions>true</assertions>
633                     <subresults>true</subresults>
634                     <responseData>false</responseData>
635                     <samplerData>false</samplerData>
636                     <xml>false</xml>
637                     <fieldNames>true</fieldNames>
638                     <responseHeaders>false</responseHeaders>
639                     <requestHeaders>false</requestHeaders>
640                     <responseDataOnError>false</responseDataOnError>
641                     <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
642                     <assertionsResultsToSave>0</assertionsResultsToSave>
643                     <bytes>true</bytes>
644                     <sentBytes>true</sentBytes>
645                     <threadCounts>true</threadCounts>
646                     <idleTime>true</idleTime>
647                     <connectTime>true</connectTime>
648                   </value>
649                 </objProp>
650                 <stringProp name="filename">deletePAP.jtl</stringProp>
651               </ResultCollector>
652               <hashTree/>
653             </hashTree>
654           </hashTree>
655         </hashTree>
656       </hashTree>
657       <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
658         <boolProp name="ResultCollector.error_logging">false</boolProp>
659         <objProp>
660           <name>saveConfig</name>
661           <value class="SampleSaveConfiguration">
662             <time>true</time>
663             <latency>true</latency>
664             <timestamp>true</timestamp>
665             <success>true</success>
666             <label>true</label>
667             <code>true</code>
668             <message>true</message>
669             <threadName>true</threadName>
670             <dataType>true</dataType>
671             <encoding>false</encoding>
672             <assertions>true</assertions>
673             <subresults>true</subresults>
674             <responseData>false</responseData>
675             <samplerData>false</samplerData>
676             <xml>false</xml>
677             <fieldNames>true</fieldNames>
678             <responseHeaders>false</responseHeaders>
679             <requestHeaders>false</requestHeaders>
680             <responseDataOnError>false</responseDataOnError>
681             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
682             <assertionsResultsToSave>0</assertionsResultsToSave>
683             <bytes>true</bytes>
684             <sentBytes>true</sentBytes>
685             <threadCounts>true</threadCounts>
686             <idleTime>true</idleTime>
687             <connectTime>true</connectTime>
688           </value>
689         </objProp>
690         <stringProp name="filename">summary</stringProp>
691         <boolProp name="useGroupName">true</boolProp>
692       </ResultCollector>
693       <hashTree/>
694       <ResultCollector guiclass="StatVisualizer" testclass="ResultCollector" testname="Aggregate Report" enabled="true">
695         <boolProp name="ResultCollector.error_logging">false</boolProp>
696         <objProp>
697           <name>saveConfig</name>
698           <value class="SampleSaveConfiguration">
699             <time>true</time>
700             <latency>true</latency>
701             <timestamp>true</timestamp>
702             <success>true</success>
703             <label>true</label>
704             <code>true</code>
705             <message>true</message>
706             <threadName>true</threadName>
707             <dataType>true</dataType>
708             <encoding>false</encoding>
709             <assertions>true</assertions>
710             <subresults>true</subresults>
711             <responseData>false</responseData>
712             <samplerData>false</samplerData>
713             <xml>false</xml>
714             <fieldNames>true</fieldNames>
715             <responseHeaders>false</responseHeaders>
716             <requestHeaders>false</requestHeaders>
717             <responseDataOnError>false</responseDataOnError>
718             <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
719             <assertionsResultsToSave>0</assertionsResultsToSave>
720             <bytes>true</bytes>
721             <sentBytes>true</sentBytes>
722             <threadCounts>true</threadCounts>
723             <idleTime>true</idleTime>
724             <connectTime>true</connectTime>
725           </value>
726         </objProp>
727         <stringProp name="filename">aggregate</stringProp>
728       </ResultCollector>
729       <hashTree/>
730     </hashTree>
731   </hashTree>
732 </jmeterTestPlan>