7a957b0943652464da0b78c9cb03166e6d9fe488
[policy/drools-applications.git] / testsuites / stability / src / main / resources / s3p.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP
5   ================================================================================
6   Copyright (C) 2020-2021 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        http://www.apache.org/licenses/LICENSE-2.0
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17   ============LICENSE_END=========================================================
18   -->
19 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.1">
20   <hashTree>
21     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="PDP-D Stability" enabled="true">
22       <stringProp name="TestPlan.comments"></stringProp>
23       <boolProp name="TestPlan.functional_mode">false</boolProp>
24       <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
25       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
26       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
27         <collectionProp name="Arguments.arguments">
28           <elementProp name="API_HOST" elementType="Argument">
29             <stringProp name="Argument.name">API_HOST</stringProp>
30             <stringProp name="Argument.value">10.12.6.14</stringProp>
31             <stringProp name="Argument.metadata">=</stringProp>
32           </elementProp>
33           <elementProp name="API_PORT" elementType="Argument">
34             <stringProp name="Argument.name">API_PORT</stringProp>
35             <stringProp name="Argument.value">32191</stringProp>
36             <stringProp name="Argument.metadata">=</stringProp>
37           </elementProp>
38           <elementProp name="PAP_HOST" elementType="Argument">
39             <stringProp name="Argument.name">PAP_HOST</stringProp>
40             <stringProp name="Argument.value">10.12.6.14</stringProp>
41             <stringProp name="Argument.metadata">=</stringProp>
42           </elementProp>
43           <elementProp name="PAP_PORT" elementType="Argument">
44             <stringProp name="Argument.name">PAP_PORT</stringProp>
45             <stringProp name="Argument.value">32262</stringProp>
46             <stringProp name="Argument.metadata">=</stringProp>
47           </elementProp>
48           <elementProp name="DMAAP_HOST" elementType="Argument">
49             <stringProp name="Argument.name">DMAAP_HOST</stringProp>
50             <stringProp name="Argument.value">10.12.6.14</stringProp>
51             <stringProp name="Argument.metadata">=</stringProp>
52           </elementProp>
53           <elementProp name="DMAAP_PORT" elementType="Argument">
54             <stringProp name="Argument.name">DMAAP_PORT</stringProp>
55             <stringProp name="Argument.value">30226</stringProp>
56             <stringProp name="Argument.metadata">=</stringProp>
57           </elementProp>
58           <elementProp name="DROOLS_HOST" elementType="Argument">
59             <stringProp name="Argument.name">DROOLS_HOST</stringProp>
60             <stringProp name="Argument.value">10.12.6.14</stringProp>
61             <stringProp name="Argument.metadata">=</stringProp>
62           </elementProp>
63           <elementProp name="DROOLS_PORT" elementType="Argument">
64             <stringProp name="Argument.name">DROOLS_PORT</stringProp>
65             <stringProp name="Argument.value">32027</stringProp>
66             <stringProp name="Argument.metadata">=</stringProp>
67           </elementProp>
68           <elementProp name="duration" elementType="Argument">
69             <stringProp name="Argument.name">duration</stringProp>
70             <stringProp name="Argument.value">259200</stringProp>
71             <stringProp name="Argument.metadata">=</stringProp>
72           </elementProp>
73         </collectionProp>
74       </elementProp>
75       <stringProp name="TestPlan.user_define_classpath"></stringProp>
76     </TestPlan>
77     <hashTree>
78       <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
79         <collectionProp name="HeaderManager.headers">
80           <elementProp name="" elementType="Header">
81             <stringProp name="Header.name">Accept</stringProp>
82             <stringProp name="Header.value">application/json</stringProp>
83           </elementProp>
84           <elementProp name="" elementType="Header">
85             <stringProp name="Header.name">Content-Type</stringProp>
86             <stringProp name="Header.value">application/json</stringProp>
87           </elementProp>
88         </collectionProp>
89       </HeaderManager>
90       <hashTree/>
91       <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
92         <collectionProp name="AuthManager.auth_list">
93           <elementProp name="" elementType="Authorization">
94             <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
95             <stringProp name="Authorization.username">healthcheck</stringProp>
96             <stringProp name="Authorization.password">zb!XztG34</stringProp>
97             <stringProp name="Authorization.domain"></stringProp>
98             <stringProp name="Authorization.realm"></stringProp>
99           </elementProp>
100           <elementProp name="" elementType="Authorization">
101             <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
102             <stringProp name="Authorization.username">healthcheck</stringProp>
103             <stringProp name="Authorization.password">zb!XztG34</stringProp>
104             <stringProp name="Authorization.domain"></stringProp>
105             <stringProp name="Authorization.realm"></stringProp>
106           </elementProp>
107           <elementProp name="" elementType="Authorization">
108             <stringProp name="Authorization.url">https://${DROOLS_HOST}:${DROOLS_PORT}/policy/pdp/engine</stringProp>
109             <stringProp name="Authorization.username">demo@people.osaaf.org</stringProp>
110             <stringProp name="Authorization.password">demo123456!</stringProp>
111             <stringProp name="Authorization.domain"></stringProp>
112             <stringProp name="Authorization.realm"></stringProp>
113           </elementProp>
114         </collectionProp>
115         <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
116       </AuthManager>
117       <hashTree/>
118       <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
119         <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
120           <collectionProp name="Arguments.arguments"/>
121         </elementProp>
122         <stringProp name="HTTPSampler.domain"></stringProp>
123         <stringProp name="HTTPSampler.port">9696</stringProp>
124         <stringProp name="HTTPSampler.protocol">http</stringProp>
125         <stringProp name="HTTPSampler.contentEncoding"></stringProp>
126         <stringProp name="HTTPSampler.path"></stringProp>
127         <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
128         <stringProp name="HTTPSampler.connect_timeout"></stringProp>
129         <stringProp name="HTTPSampler.response_timeout"></stringProp>
130       </ConfigTestElement>
131       <hashTree/>
132       <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="Set up" enabled="true">
133         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
134         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
135           <boolProp name="LoopController.continue_forever">false</boolProp>
136           <intProp name="LoopController.loops">-1</intProp>
137         </elementProp>
138         <stringProp name="ThreadGroup.num_threads">1</stringProp>
139         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
140         <boolProp name="ThreadGroup.scheduler">false</boolProp>
141         <stringProp name="ThreadGroup.duration"></stringProp>
142         <stringProp name="ThreadGroup.delay"></stringProp>
143         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
144       </SetupThreadGroup>
145       <hashTree>
146         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="API" enabled="true"/>
147         <hashTree>
148           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API Healthcheck" enabled="true">
149             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
150               <collectionProp name="Arguments.arguments"/>
151             </elementProp>
152             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
153             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
154             <stringProp name="HTTPSampler.protocol">https</stringProp>
155             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
156             <stringProp name="HTTPSampler.path">/policy/api/v1/healthcheck</stringProp>
157             <stringProp name="HTTPSampler.method">GET</stringProp>
158             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
159             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
160             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
161             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
162             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
163             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
164             <stringProp name="HTTPSampler.response_timeout"></stringProp>
165           </HTTPSamplerProxy>
166           <hashTree>
167             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
168               <collectionProp name="Asserion.test_strings">
169                 <stringProp name="49586">200</stringProp>
170               </collectionProp>
171               <stringProp name="Assertion.custom_message"></stringProp>
172               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
173               <boolProp name="Assertion.assume_success">false</boolProp>
174               <intProp name="Assertion.test_type">8</intProp>
175             </ResponseAssertion>
176             <hashTree/>
177             <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
178               <stringProp name="JSON_PATH">$.healthy</stringProp>
179               <stringProp name="EXPECTED_VALUE">true</stringProp>
180               <boolProp name="JSONVALIDATION">true</boolProp>
181               <boolProp name="EXPECT_NULL">false</boolProp>
182               <boolProp name="INVERT">false</boolProp>
183               <boolProp name="ISREGEX">false</boolProp>
184             </JSONPathAssertion>
185             <hashTree/>
186           </hashTree>
187           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create vCPE Policy" enabled="true">
188             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
189             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
190               <collectionProp name="Arguments.arguments">
191                 <elementProp name="" elementType="HTTPArgument">
192                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
193                   <stringProp name="Argument.value">{&#xd;
194   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
195   &quot;topology_template&quot;: {&#xd;
196     &quot;policies&quot;: [&#xd;
197       {&#xd;
198         &quot;operational.restart&quot;: {&#xd;
199           &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
200           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
201           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
202           &quot;metadata&quot;: {&#xd;
203             &quot;policy-id&quot;: &quot;operational.restart&quot;&#xd;
204           },&#xd;
205           &quot;properties&quot;: {&#xd;
206             &quot;id&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
207             &quot;timeout&quot;: 60,&#xd;
208             &quot;abatement&quot;: false,&#xd;
209             &quot;trigger&quot;: &quot;unique-policy-id-1-restart&quot;,&#xd;
210             &quot;operations&quot;: [&#xd;
211               {&#xd;
212                 &quot;id&quot;: &quot;unique-policy-id-1-restart&quot;,&#xd;
213                 &quot;description&quot;: &quot;Restart the VM&quot;,&#xd;
214                 &quot;operation&quot;: {&#xd;
215                   &quot;actor&quot;: &quot;APPC&quot;,&#xd;
216                   &quot;operation&quot;: &quot;Restart&quot;,&#xd;
217                   &quot;target&quot;: {&#xd;
218                     &quot;targetType&quot;: &quot;VNF&quot;&#xd;
219                   }&#xd;
220                 },&#xd;
221                 &quot;timeout&quot;: 20,&#xd;
222                 &quot;retries&quot;: 0,&#xd;
223                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
224                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
225                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
226                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
227                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
228                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
229               }&#xd;
230             ],&#xd;
231             &quot;controllerName&quot;: &quot;usecases&quot;&#xd;
232           }&#xd;
233         }&#xd;
234       }&#xd;
235     ]&#xd;
236   }&#xd;
237 }</stringProp>
238                   <stringProp name="Argument.metadata">=</stringProp>
239                 </elementProp>
240               </collectionProp>
241             </elementProp>
242             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
243             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
244             <stringProp name="HTTPSampler.protocol">https</stringProp>
245             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
246             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
247             <stringProp name="HTTPSampler.method">POST</stringProp>
248             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
249             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
250             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
251             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
252             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
253             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
254             <stringProp name="HTTPSampler.response_timeout"></stringProp>
255           </HTTPSamplerProxy>
256           <hashTree>
257             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
258               <collectionProp name="Asserion.test_strings">
259                 <stringProp name="49586">200</stringProp>
260               </collectionProp>
261               <stringProp name="Assertion.custom_message"></stringProp>
262               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
263               <boolProp name="Assertion.assume_success">false</boolProp>
264               <intProp name="Assertion.test_type">8</intProp>
265             </ResponseAssertion>
266             <hashTree/>
267           </hashTree>
268           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create vCPE Fail Policy" enabled="true">
269             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
270             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
271               <collectionProp name="Arguments.arguments">
272                 <elementProp name="" elementType="HTTPArgument">
273                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
274                   <stringProp name="Argument.value">{&#xd;
275   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
276   &quot;topology_template&quot;: {&#xd;
277     &quot;policies&quot;: [&#xd;
278       {&#xd;
279         &quot;operational.restart.fail&quot;: {&#xd;
280           &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
281           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
282           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
283           &quot;metadata&quot;: {&#xd;
284             &quot;policy-id&quot;: &quot;operational.restart.fail&quot;&#xd;
285           },&#xd;
286           &quot;properties&quot;: {&#xd;
287             &quot;id&quot;: &quot;ControlLoop-vCPE-Fail&quot;,&#xd;
288             &quot;timeout&quot;: 60,&#xd;
289             &quot;abatement&quot;: false,&#xd;
290             &quot;trigger&quot;: &quot;unique-policy-id-1-restart&quot;,&#xd;
291             &quot;operations&quot;: [&#xd;
292               {&#xd;
293                 &quot;id&quot;: &quot;unique-policy-id-1-restart&quot;,&#xd;
294                 &quot;description&quot;: &quot;Restart the VM&quot;,&#xd;
295                 &quot;operation&quot;: {&#xd;
296                   &quot;actor&quot;: &quot;APPC&quot;,&#xd;
297                   &quot;operation&quot;: &quot;Restart&quot;,&#xd;
298                   &quot;target&quot;: {&#xd;
299                     &quot;targetType&quot;: &quot;VNF&quot;&#xd;
300                   }&#xd;
301                 },&#xd;
302                 &quot;timeout&quot;: 20,&#xd;
303                 &quot;retries&quot;: 0,&#xd;
304                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
305                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
306                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
307                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
308                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
309                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
310               }&#xd;
311             ],&#xd;
312             &quot;controllerName&quot;: &quot;usecases&quot;&#xd;
313           }&#xd;
314         }&#xd;
315       }&#xd;
316     ]&#xd;
317   }&#xd;
318 }</stringProp>
319                   <stringProp name="Argument.metadata">=</stringProp>
320                 </elementProp>
321               </collectionProp>
322             </elementProp>
323             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
324             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
325             <stringProp name="HTTPSampler.protocol">https</stringProp>
326             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
327             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
328             <stringProp name="HTTPSampler.method">POST</stringProp>
329             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
330             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
331             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
332             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
333             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
334             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
335             <stringProp name="HTTPSampler.response_timeout"></stringProp>
336           </HTTPSamplerProxy>
337           <hashTree>
338             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
339               <collectionProp name="Asserion.test_strings">
340                 <stringProp name="49586">200</stringProp>
341               </collectionProp>
342               <stringProp name="Assertion.custom_message"></stringProp>
343               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
344               <boolProp name="Assertion.assume_success">false</boolProp>
345               <intProp name="Assertion.test_type">8</intProp>
346             </ResponseAssertion>
347             <hashTree/>
348           </hashTree>
349           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create vFirewall Policy" enabled="true">
350             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
351             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
352               <collectionProp name="Arguments.arguments">
353                 <elementProp name="" elementType="HTTPArgument">
354                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
355                   <stringProp name="Argument.value">{&#xd;
356     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
357     &quot;topology_template&quot;: {&#xd;
358         &quot;policies&quot;: [&#xd;
359             {&#xd;
360                 &quot;operational.modifyconfig&quot;: {&#xd;
361                     &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
362                     &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
363                     &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
364                     &quot;metadata&quot;: {&#xd;
365                         &quot;policy-id&quot;: &quot;operational.modifyconfig&quot;&#xd;
366                     },&#xd;
367                     &quot;properties&quot;: {&#xd;
368                         &quot;id&quot;: &quot;ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a&quot;,&#xd;
369                         &quot;timeout&quot;: 60,&#xd;
370                         &quot;abatement&quot;: false,&#xd;
371                         &quot;trigger&quot;: &quot;unique-policy-id-1-modifyConfig&quot;,&#xd;
372                         &quot;operations&quot;: [&#xd;
373                             {&#xd;
374                                 &quot;id&quot;: &quot;unique-policy-id-1-modifyConfig&quot;,&#xd;
375                                 &quot;description&quot;: &quot;Modify the packet generator&quot;,&#xd;
376                                 &quot;operation&quot;: {&#xd;
377                                     &quot;actor&quot;: &quot;APPC&quot;,&#xd;
378                                     &quot;operation&quot;: &quot;ModifyConfig&quot;,&#xd;
379                                     &quot;target&quot;: {&#xd;
380                                         &quot;targetType&quot;: &quot;VNF&quot;,&#xd;
381                                         &quot;entityIds&quot;: {&#xd;
382                                             &quot;resourceID&quot;: &quot;bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38&quot;&#xd;
383                                         }&#xd;
384                                     },&#xd;
385                                     &quot;payload&quot;: {&#xd;
386                                         &quot;streams&quot;: &quot;{\&quot;active-streams\&quot;: 5 }&quot;&#xd;
387                                      }&#xd;
388                                 },&#xd;
389                                 &quot;timeout&quot;: 20,&#xd;
390                                 &quot;retries&quot;: 0,&#xd;
391                                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
392                                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
393                                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
394                                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
395                                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
396                                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
397                             }&#xd;
398                         ],&#xd;
399                         &quot;controllerName&quot;: &quot;usecases&quot;&#xd;
400                     }&#xd;
401                 }&#xd;
402             }&#xd;
403         ]&#xd;
404     }&#xd;
405 }</stringProp>
406                   <stringProp name="Argument.metadata">=</stringProp>
407                 </elementProp>
408               </collectionProp>
409             </elementProp>
410             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
411             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
412             <stringProp name="HTTPSampler.protocol">https</stringProp>
413             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
414             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
415             <stringProp name="HTTPSampler.method">POST</stringProp>
416             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
417             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
418             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
419             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
420             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
421             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
422             <stringProp name="HTTPSampler.response_timeout"></stringProp>
423           </HTTPSamplerProxy>
424           <hashTree>
425             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
426               <collectionProp name="Asserion.test_strings">
427                 <stringProp name="49586">200</stringProp>
428               </collectionProp>
429               <stringProp name="Assertion.custom_message"></stringProp>
430               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
431               <boolProp name="Assertion.assume_success">false</boolProp>
432               <intProp name="Assertion.test_type">8</intProp>
433             </ResponseAssertion>
434             <hashTree/>
435           </hashTree>
436           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create vDNS Policy" enabled="true">
437             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
438             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
439               <collectionProp name="Arguments.arguments">
440                 <elementProp name="" elementType="HTTPArgument">
441                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
442                   <stringProp name="Argument.value">{&#xd;
443     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
444     &quot;topology_template&quot;: {&#xd;
445         &quot;policies&quot;: [&#xd;
446             {&#xd;
447                 &quot;operational.scaleout&quot;: {&#xd;
448                     &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
449                     &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
450                     &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
451                     &quot;metadata&quot;: {&#xd;
452                         &quot;policy-id&quot;: &quot;operational.scaleout&quot;&#xd;
453                     },&#xd;
454                     &quot;properties&quot;: {&#xd;
455                         &quot;id&quot;: &quot;ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3&quot;,&#xd;
456                         &quot;timeout&quot;: 60,&#xd;
457                         &quot;abatement&quot;: false,&#xd;
458                         &quot;trigger&quot;: &quot;unique-policy-id-1-scale-up&quot;,&#xd;
459                         &quot;operations&quot;: [&#xd;
460                             {&#xd;
461                                 &quot;id&quot;: &quot;unique-policy-id-1-scale-up&quot;,&#xd;
462                                 &quot;description&quot;: &quot;Create a new VF Module&quot;,&#xd;
463                                 &quot;operation&quot;: {&#xd;
464                                     &quot;actor&quot;: &quot;SO&quot;,&#xd;
465                                     &quot;operation&quot;: &quot;VF Module Create&quot;,&#xd;
466                                     &quot;target&quot;: {&#xd;
467                                         &quot;targetType&quot;: &quot;VFMODULE&quot;,&#xd;
468                                         &quot;entityIds&quot;: {&#xd;
469                                             &quot;modelInvariantId&quot;: &quot;e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e&quot;,&#xd;
470                                             &quot;modelVersionId&quot;: &quot;94b18b1d-cc91-4f43-911a-e6348665f292&quot;,&#xd;
471                                             &quot;modelName&quot;: &quot;VfwclVfwsnkBbefb8ce2bde..base_vfw..module-0&quot;,&#xd;
472                                             &quot;modelVersion&quot;: &quot;1&quot;,&#xd;
473                                             &quot;modelCustomizationId&quot;: &quot;47958575-138f-452a-8c8d-d89b595f8164&quot;&#xd;
474                                         }&#xd;
475                                     },&#xd;
476                                     &quot;payload&quot;: {&#xd;
477                                         &quot;requestParameters&quot;: &quot;{\&quot;usePreload\&quot;:true,\&quot;userParams\&quot;:[]}&quot;,&#xd;
478                                         &quot;configurationParameters&quot;: &quot;[{\&quot;ip-addr\&quot;:\&quot;$.vf-module-topology.vf-module-parameters.param[9]\&quot;,\&quot;oam-ip-addr\&quot;:\&quot;$.vf-module-topology.vf-module-parameters.param[16]\&quot;,\&quot;enabled\&quot;:\&quot;$.vf-module-topology.vf-module-parameters.param[23]\&quot;}]&quot;&#xd;
479                                     }&#xd;
480                                 },&#xd;
481                                 &quot;timeout&quot;: 20,&#xd;
482                                 &quot;retries&quot;: 0,&#xd;
483                                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
484                                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
485                                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
486                                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
487                                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
488                                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
489                             }&#xd;
490                         ],&#xd;
491                         &quot;controllerName&quot;: &quot;usecases&quot;&#xd;
492                     }&#xd;
493                 }&#xd;
494             }&#xd;
495         ]&#xd;
496     }&#xd;
497 }</stringProp>
498                   <stringProp name="Argument.metadata">=</stringProp>
499                 </elementProp>
500               </collectionProp>
501             </elementProp>
502             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
503             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
504             <stringProp name="HTTPSampler.protocol">https</stringProp>
505             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
506             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
507             <stringProp name="HTTPSampler.method">POST</stringProp>
508             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
509             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
510             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
511             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
512             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
513             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
514             <stringProp name="HTTPSampler.response_timeout"></stringProp>
515           </HTTPSamplerProxy>
516           <hashTree>
517             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
518               <collectionProp name="Asserion.test_strings">
519                 <stringProp name="49586">200</stringProp>
520               </collectionProp>
521               <stringProp name="Assertion.custom_message"></stringProp>
522               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
523               <boolProp name="Assertion.assume_success">false</boolProp>
524               <intProp name="Assertion.test_type">8</intProp>
525             </ResponseAssertion>
526             <hashTree/>
527           </hashTree>
528           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create vDNS Fail Policy" enabled="true">
529             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
530             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
531               <collectionProp name="Arguments.arguments">
532                 <elementProp name="" elementType="HTTPArgument">
533                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
534                   <stringProp name="Argument.value">{&#xd;
535     &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
536     &quot;topology_template&quot;: {&#xd;
537         &quot;policies&quot;: [&#xd;
538             {&#xd;
539                 &quot;operational.scaleout.fail&quot;: {&#xd;
540                     &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
541                     &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
542                     &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
543                     &quot;metadata&quot;: {&#xd;
544                         &quot;policy-id&quot;: &quot;operational.scaleout.fail&quot;&#xd;
545                     },&#xd;
546                     &quot;properties&quot;: {&#xd;
547                         &quot;id&quot;: &quot;ControlLoop-vDNS-Fail&quot;,&#xd;
548                         &quot;timeout&quot;: 60,&#xd;
549                         &quot;abatement&quot;: false,&#xd;
550                         &quot;trigger&quot;: &quot;unique-policy-id-1-scale-up&quot;,&#xd;
551                         &quot;operations&quot;: [&#xd;
552                             {&#xd;
553                                 &quot;id&quot;: &quot;unique-policy-id-1-scale-up&quot;,&#xd;
554                                 &quot;description&quot;: &quot;Create a new VF Module&quot;,&#xd;
555                                 &quot;operation&quot;: {&#xd;
556                                     &quot;actor&quot;: &quot;SO&quot;,&#xd;
557                                     &quot;operation&quot;: &quot;VF Module Create&quot;,&#xd;
558                                     &quot;target&quot;: {&#xd;
559                                         &quot;targetType&quot;: &quot;VFMODULE&quot;,&#xd;
560                                         &quot;entityIds&quot;: {&#xd;
561                                             &quot;modelInvariantId&quot;: &quot;e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e&quot;,&#xd;
562                                             &quot;modelVersionId&quot;: &quot;94b18b1d-cc91-4f43-911a-e6348665f292&quot;,&#xd;
563                                             &quot;modelName&quot;: &quot;VfwclVfwsnkBbefb8ce2bde..base_vfw..module-0&quot;,&#xd;
564                                             &quot;modelVersion&quot;: &quot;1&quot;,&#xd;
565                                             &quot;modelCustomizationId&quot;: &quot;47958575-138f-452a-8c8d-d89b595f8164&quot;&#xd;
566                                         }&#xd;
567                                     },&#xd;
568                                     &quot;payload&quot;: {&#xd;
569                                         &quot;requestParameters&quot;: &quot;{\&quot;usePreload\&quot;:true,\&quot;userParams\&quot;:[]}&quot;,&#xd;
570                                         &quot;configurationParameters&quot;: &quot;[{\&quot;ip-addr\&quot;:\&quot;$.vf-module-topology.vf-module-parameters.param[9]\&quot;,\&quot;oam-ip-addr\&quot;:\&quot;$.vf-module-topology.vf-module-parameters.param[16]\&quot;,\&quot;enabled\&quot;:\&quot;$.vf-module-topology.vf-module-parameters.param[23]\&quot;}]&quot;&#xd;
571                                     }&#xd;
572                                 },&#xd;
573                                 &quot;timeout&quot;: 20,&#xd;
574                                 &quot;retries&quot;: 0,&#xd;
575                                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
576                                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
577                                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
578                                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
579                                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
580                                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
581                             }&#xd;
582                         ],&#xd;
583                         &quot;controllerName&quot;: &quot;usecases&quot;&#xd;
584                     }&#xd;
585                 }&#xd;
586             }&#xd;
587         ]&#xd;
588     }&#xd;
589 }</stringProp>
590                   <stringProp name="Argument.metadata">=</stringProp>
591                 </elementProp>
592               </collectionProp>
593             </elementProp>
594             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
595             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
596             <stringProp name="HTTPSampler.protocol">https</stringProp>
597             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
598             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
599             <stringProp name="HTTPSampler.method">POST</stringProp>
600             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
601             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
602             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
603             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
604             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
605             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
606             <stringProp name="HTTPSampler.response_timeout"></stringProp>
607           </HTTPSamplerProxy>
608           <hashTree>
609             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
610               <collectionProp name="Asserion.test_strings">
611                 <stringProp name="49586">200</stringProp>
612               </collectionProp>
613               <stringProp name="Assertion.custom_message"></stringProp>
614               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
615               <boolProp name="Assertion.assume_success">false</boolProp>
616               <intProp name="Assertion.test_type">8</intProp>
617             </ResponseAssertion>
618             <hashTree/>
619           </hashTree>
620         </hashTree>
621         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="PAP" enabled="true"/>
622         <hashTree>
623           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PAP Healthcheck" enabled="true">
624             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
625               <collectionProp name="Arguments.arguments"/>
626             </elementProp>
627             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
628             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
629             <stringProp name="HTTPSampler.protocol">https</stringProp>
630             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
631             <stringProp name="HTTPSampler.path">/policy/pap/v1/healthcheck</stringProp>
632             <stringProp name="HTTPSampler.method">GET</stringProp>
633             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
634             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
635             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
636             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
637             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
638             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
639             <stringProp name="HTTPSampler.response_timeout"></stringProp>
640           </HTTPSamplerProxy>
641           <hashTree>
642             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
643               <collectionProp name="Asserion.test_strings">
644                 <stringProp name="49586">200</stringProp>
645               </collectionProp>
646               <stringProp name="Assertion.custom_message"></stringProp>
647               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
648               <boolProp name="Assertion.assume_success">false</boolProp>
649               <intProp name="Assertion.test_type">8</intProp>
650             </ResponseAssertion>
651             <hashTree/>
652             <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
653               <stringProp name="JSON_PATH">$.healthy</stringProp>
654               <stringProp name="EXPECTED_VALUE">true</stringProp>
655               <boolProp name="JSONVALIDATION">true</boolProp>
656               <boolProp name="EXPECT_NULL">false</boolProp>
657               <boolProp name="INVERT">false</boolProp>
658               <boolProp name="ISREGEX">false</boolProp>
659             </JSONPathAssertion>
660             <hashTree/>
661           </hashTree>
662           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy vCPE Policy" enabled="true">
663             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
664             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
665               <collectionProp name="Arguments.arguments">
666                 <elementProp name="" elementType="HTTPArgument">
667                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
668                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;operational.restart&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
669                   <stringProp name="Argument.metadata">=</stringProp>
670                 </elementProp>
671               </collectionProp>
672             </elementProp>
673             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
674             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
675             <stringProp name="HTTPSampler.protocol">https</stringProp>
676             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
677             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
678             <stringProp name="HTTPSampler.method">POST</stringProp>
679             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
680             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
681             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
682             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
683             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
684             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
685             <stringProp name="HTTPSampler.response_timeout"></stringProp>
686           </HTTPSamplerProxy>
687           <hashTree>
688             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
689               <collectionProp name="Asserion.test_strings">
690                 <stringProp name="49588">202</stringProp>
691               </collectionProp>
692               <stringProp name="Assertion.custom_message"></stringProp>
693               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
694               <boolProp name="Assertion.assume_success">false</boolProp>
695               <intProp name="Assertion.test_type">8</intProp>
696             </ResponseAssertion>
697             <hashTree/>
698           </hashTree>
699           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy vCPE Fail Policy" enabled="true">
700             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
701             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
702               <collectionProp name="Arguments.arguments">
703                 <elementProp name="" elementType="HTTPArgument">
704                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
705                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;operational.restart.fail&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
706                   <stringProp name="Argument.metadata">=</stringProp>
707                 </elementProp>
708               </collectionProp>
709             </elementProp>
710             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
711             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
712             <stringProp name="HTTPSampler.protocol">https</stringProp>
713             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
714             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
715             <stringProp name="HTTPSampler.method">POST</stringProp>
716             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
717             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
718             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
719             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
720             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
721             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
722             <stringProp name="HTTPSampler.response_timeout"></stringProp>
723           </HTTPSamplerProxy>
724           <hashTree>
725             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
726               <collectionProp name="Asserion.test_strings">
727                 <stringProp name="49588">202</stringProp>
728               </collectionProp>
729               <stringProp name="Assertion.custom_message"></stringProp>
730               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
731               <boolProp name="Assertion.assume_success">false</boolProp>
732               <intProp name="Assertion.test_type">8</intProp>
733             </ResponseAssertion>
734             <hashTree/>
735           </hashTree>
736           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy vFirewall Policy" enabled="true">
737             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
738             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
739               <collectionProp name="Arguments.arguments">
740                 <elementProp name="" elementType="HTTPArgument">
741                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
742                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;operational.modifyconfig&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
743                   <stringProp name="Argument.metadata">=</stringProp>
744                 </elementProp>
745               </collectionProp>
746             </elementProp>
747             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
748             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
749             <stringProp name="HTTPSampler.protocol">https</stringProp>
750             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
751             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
752             <stringProp name="HTTPSampler.method">POST</stringProp>
753             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
754             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
755             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
756             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
757             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
758             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
759             <stringProp name="HTTPSampler.response_timeout"></stringProp>
760           </HTTPSamplerProxy>
761           <hashTree>
762             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
763               <collectionProp name="Asserion.test_strings">
764                 <stringProp name="49588">202</stringProp>
765               </collectionProp>
766               <stringProp name="Assertion.custom_message"></stringProp>
767               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
768               <boolProp name="Assertion.assume_success">false</boolProp>
769               <intProp name="Assertion.test_type">8</intProp>
770             </ResponseAssertion>
771             <hashTree/>
772           </hashTree>
773           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy vDNS Policy" enabled="true">
774             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
775             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
776               <collectionProp name="Arguments.arguments">
777                 <elementProp name="" elementType="HTTPArgument">
778                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
779                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;operational.scaleout&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
780                   <stringProp name="Argument.metadata">=</stringProp>
781                 </elementProp>
782               </collectionProp>
783             </elementProp>
784             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
785             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
786             <stringProp name="HTTPSampler.protocol">https</stringProp>
787             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
788             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
789             <stringProp name="HTTPSampler.method">POST</stringProp>
790             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
791             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
792             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
793             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
794             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
795             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
796             <stringProp name="HTTPSampler.response_timeout"></stringProp>
797           </HTTPSamplerProxy>
798           <hashTree>
799             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
800               <collectionProp name="Asserion.test_strings">
801                 <stringProp name="49588">202</stringProp>
802               </collectionProp>
803               <stringProp name="Assertion.custom_message"></stringProp>
804               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
805               <boolProp name="Assertion.assume_success">false</boolProp>
806               <intProp name="Assertion.test_type">8</intProp>
807             </ResponseAssertion>
808             <hashTree/>
809           </hashTree>
810           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy vDNS Fail Policy" enabled="true">
811             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
812             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
813               <collectionProp name="Arguments.arguments">
814                 <elementProp name="" elementType="HTTPArgument">
815                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
816                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;operational.scaleout.fail&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
817                   <stringProp name="Argument.metadata">=</stringProp>
818                 </elementProp>
819               </collectionProp>
820             </elementProp>
821             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
822             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
823             <stringProp name="HTTPSampler.protocol">https</stringProp>
824             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
825             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
826             <stringProp name="HTTPSampler.method">POST</stringProp>
827             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
828             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
829             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
830             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
831             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
832             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
833             <stringProp name="HTTPSampler.response_timeout"></stringProp>
834           </HTTPSamplerProxy>
835           <hashTree>
836             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
837               <collectionProp name="Asserion.test_strings">
838                 <stringProp name="49588">202</stringProp>
839               </collectionProp>
840               <stringProp name="Assertion.custom_message"></stringProp>
841               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
842               <boolProp name="Assertion.assume_success">false</boolProp>
843               <intProp name="Assertion.test_type">8</intProp>
844             </ResponseAssertion>
845             <hashTree/>
846           </hashTree>
847         </hashTree>
848         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY-PDP-PAP " enabled="true">
849           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
850             <collectionProp name="Arguments.arguments"/>
851           </elementProp>
852           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
853           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
854           <stringProp name="HTTPSampler.protocol">https</stringProp>
855           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
856           <stringProp name="HTTPSampler.path">events/POLICY-PDP-PAP/${__time()}/1?timeout=2000</stringProp>
857           <stringProp name="HTTPSampler.method">GET</stringProp>
858           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
859           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
860           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
861           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
862           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
863           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
864           <stringProp name="HTTPSampler.response_timeout"></stringProp>
865         </HTTPSamplerProxy>
866         <hashTree>
867           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
868             <collectionProp name="Asserion.test_strings">
869               <stringProp name="49586">200</stringProp>
870             </collectionProp>
871             <stringProp name="Assertion.custom_message"></stringProp>
872             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
873             <boolProp name="Assertion.assume_success">false</boolProp>
874             <intProp name="Assertion.test_type">8</intProp>
875           </ResponseAssertion>
876           <hashTree/>
877         </hashTree>
878         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain vCPE success POLICY-CL-MGT" enabled="true">
879           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
880             <collectionProp name="Arguments.arguments"/>
881           </elementProp>
882           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
883           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
884           <stringProp name="HTTPSampler.protocol">https</stringProp>
885           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
886           <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/vcpesuccess/1?timeout=20000</stringProp>
887           <stringProp name="HTTPSampler.method">GET</stringProp>
888           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
889           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
890           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
891           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
892           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
893           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
894           <stringProp name="HTTPSampler.response_timeout"></stringProp>
895         </HTTPSamplerProxy>
896         <hashTree>
897           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
898             <collectionProp name="Asserion.test_strings">
899               <stringProp name="49586">200</stringProp>
900             </collectionProp>
901             <stringProp name="Assertion.custom_message"></stringProp>
902             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
903             <boolProp name="Assertion.assume_success">false</boolProp>
904             <intProp name="Assertion.test_type">8</intProp>
905           </ResponseAssertion>
906           <hashTree/>
907         </hashTree>
908         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain vCPE success APPC-LCM-READ" enabled="true">
909           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
910             <collectionProp name="Arguments.arguments"/>
911           </elementProp>
912           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
913           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
914           <stringProp name="HTTPSampler.protocol">https</stringProp>
915           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
916           <stringProp name="HTTPSampler.path">events/APPC-LCM-READ/vcpesuccess/1?timeout=20000</stringProp>
917           <stringProp name="HTTPSampler.method">GET</stringProp>
918           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
919           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
920           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
921           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
922           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
923           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
924           <stringProp name="HTTPSampler.response_timeout"></stringProp>
925         </HTTPSamplerProxy>
926         <hashTree>
927           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
928             <collectionProp name="Asserion.test_strings">
929               <stringProp name="49586">200</stringProp>
930             </collectionProp>
931             <stringProp name="Assertion.custom_message"></stringProp>
932             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
933             <boolProp name="Assertion.assume_success">false</boolProp>
934             <intProp name="Assertion.test_type">8</intProp>
935           </ResponseAssertion>
936           <hashTree/>
937         </hashTree>
938         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain vCPE failure POLICY-CL-MGT" enabled="true">
939           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
940             <collectionProp name="Arguments.arguments"/>
941           </elementProp>
942           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
943           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
944           <stringProp name="HTTPSampler.protocol">https</stringProp>
945           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
946           <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/vcpefailure/1?timeout=20000</stringProp>
947           <stringProp name="HTTPSampler.method">GET</stringProp>
948           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
949           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
950           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
951           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
952           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
953           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
954           <stringProp name="HTTPSampler.response_timeout"></stringProp>
955         </HTTPSamplerProxy>
956         <hashTree>
957           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
958             <collectionProp name="Asserion.test_strings">
959               <stringProp name="49586">200</stringProp>
960             </collectionProp>
961             <stringProp name="Assertion.custom_message"></stringProp>
962             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
963             <boolProp name="Assertion.assume_success">false</boolProp>
964             <intProp name="Assertion.test_type">8</intProp>
965           </ResponseAssertion>
966           <hashTree/>
967         </hashTree>
968         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain vCPE failure APPC-LCM-READ" enabled="true">
969           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
970             <collectionProp name="Arguments.arguments"/>
971           </elementProp>
972           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
973           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
974           <stringProp name="HTTPSampler.protocol">https</stringProp>
975           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
976           <stringProp name="HTTPSampler.path">events/APPC-LCM-READ/vcpefailure/1?timeout=20000</stringProp>
977           <stringProp name="HTTPSampler.method">GET</stringProp>
978           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
979           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
980           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
981           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
982           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
983           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
984           <stringProp name="HTTPSampler.response_timeout"></stringProp>
985         </HTTPSamplerProxy>
986         <hashTree>
987           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
988             <collectionProp name="Asserion.test_strings">
989               <stringProp name="49586">200</stringProp>
990             </collectionProp>
991             <stringProp name="Assertion.custom_message"></stringProp>
992             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
993             <boolProp name="Assertion.assume_success">false</boolProp>
994             <intProp name="Assertion.test_type">8</intProp>
995           </ResponseAssertion>
996           <hashTree/>
997         </hashTree>
998         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PDP-D" enabled="true">
999           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1000             <collectionProp name="Arguments.arguments"/>
1001           </elementProp>
1002           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1003           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1004           <stringProp name="HTTPSampler.protocol">https</stringProp>
1005           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1006           <stringProp name="HTTPSampler.path">policy/pdp/engine/controllers/usecases/drools/facts</stringProp>
1007           <stringProp name="HTTPSampler.method">GET</stringProp>
1008           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1009           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1010           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1011           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1012           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1013           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1014           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1015         </HTTPSamplerProxy>
1016         <hashTree>
1017           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1018             <collectionProp name="Asserion.test_strings">
1019               <stringProp name="49586">200</stringProp>
1020             </collectionProp>
1021             <stringProp name="Assertion.custom_message"></stringProp>
1022             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1023             <boolProp name="Assertion.assume_success">false</boolProp>
1024             <intProp name="Assertion.test_type">8</intProp>
1025           </ResponseAssertion>
1026           <hashTree/>
1027           <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
1028             <stringProp name="JSON_PATH">$.usecases</stringProp>
1029             <stringProp name="EXPECTED_VALUE">10</stringProp>
1030             <boolProp name="JSONVALIDATION">true</boolProp>
1031             <boolProp name="EXPECT_NULL">false</boolProp>
1032             <boolProp name="INVERT">false</boolProp>
1033             <boolProp name="ISREGEX">false</boolProp>
1034           </JSONPathAssertion>
1035           <hashTree/>
1036         </hashTree>
1037       </hashTree>
1038       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="vCPE Success" enabled="true">
1039         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
1040         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1041           <boolProp name="LoopController.continue_forever">false</boolProp>
1042           <intProp name="LoopController.loops">-1</intProp>
1043         </elementProp>
1044         <stringProp name="ThreadGroup.num_threads">1</stringProp>
1045         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1046         <boolProp name="ThreadGroup.scheduler">true</boolProp>
1047         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
1048         <stringProp name="ThreadGroup.delay">11</stringProp>
1049         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1050       </ThreadGroup>
1051       <hashTree>
1052         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
1053           <collectionProp name="UserParameters.names">
1054             <stringProp name="-308835287">consumerGroup</stringProp>
1055           </collectionProp>
1056           <collectionProp name="UserParameters.thread_values">
1057             <collectionProp name="-1571164782">
1058               <stringProp name="-2075285407">vcpesuccess</stringProp>
1059             </collectionProp>
1060           </collectionProp>
1061           <boolProp name="UserParameters.per_iteration">false</boolProp>
1062           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
1063         </UserParameters>
1064         <hashTree/>
1065         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
1066           <collectionProp name="UserParameters.names">
1067             <stringProp name="693933066">requestId</stringProp>
1068           </collectionProp>
1069           <collectionProp name="UserParameters.thread_values">
1070             <collectionProp name="681405977">
1071               <stringProp name="118040362">${__UUID()}</stringProp>
1072             </collectionProp>
1073           </collectionProp>
1074           <boolProp name="UserParameters.per_iteration">true</boolProp>
1075           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
1076         </UserParameters>
1077         <hashTree/>
1078         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
1079           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1080           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1081             <collectionProp name="Arguments.arguments">
1082               <elementProp name="" elementType="HTTPArgument">
1083                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1084                 <stringProp name="Argument.value">{&#xd;
1085   &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
1086   &quot;closedLoopAlarmStart&quot;: 1463679805324,&#xd;
1087   &quot;closedLoopEventClient&quot;: &quot;DCAE_INSTANCE_ID.dcae-tca&quot;,&#xd;
1088   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
1089   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
1090   &quot;target_type&quot;: &quot;VNF&quot;,&#xd;
1091   &quot;target&quot;: &quot;generic-vnf.vnf-id&quot;,&#xd;
1092   &quot;AAI&quot;: {&#xd;
1093     &quot;vserver.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
1094     &quot;vserver.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
1095     &quot;generic-vnf.vnf-id&quot;: &quot;vCPE_Infrastructure_vGMUX_demo_app&quot;&#xd;
1096   },&#xd;
1097   &quot;from&quot;: &quot;DCAE&quot;,&#xd;
1098   &quot;version&quot;: &quot;1.0.2&quot;&#xd;
1099 }</stringProp>
1100                 <stringProp name="Argument.metadata">=</stringProp>
1101               </elementProp>
1102             </collectionProp>
1103           </elementProp>
1104           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1105           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1106           <stringProp name="HTTPSampler.protocol">https</stringProp>
1107           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1108           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
1109           <stringProp name="HTTPSampler.method">PUT</stringProp>
1110           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1111           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1112           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1113           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1114           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1115           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1116           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1117         </HTTPSamplerProxy>
1118         <hashTree>
1119           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1120             <collectionProp name="HeaderManager.headers">
1121               <elementProp name="" elementType="Header">
1122                 <stringProp name="Header.name">Content-Type</stringProp>
1123                 <stringProp name="Header.value">text/plain</stringProp>
1124               </elementProp>
1125             </collectionProp>
1126           </HeaderManager>
1127           <hashTree/>
1128         </hashTree>
1129         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1130           <stringProp name="scriptLanguage">groovy</stringProp>
1131           <stringProp name="parameters"></stringProp>
1132           <stringProp name="filename"></stringProp>
1133           <stringProp name="cacheKey">true</stringProp>
1134           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
1135         </JSR223Sampler>
1136         <hashTree/>
1137         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="APPCL Restart Loop Controller" enabled="true">
1138           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 10)}</stringProp>
1139         </WhileController>
1140         <hashTree>
1141           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[APPC-LCM-READ]: Restart" enabled="true">
1142             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1143               <collectionProp name="Arguments.arguments">
1144                 <elementProp name="filter" elementType="HTTPArgument">
1145                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1146                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;request-id&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;rpc-name&quot;, &quot;value&quot;:&quot;restart&quot; }]}</stringProp>
1147                   <stringProp name="Argument.metadata">=</stringProp>
1148                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1149                   <stringProp name="Argument.name">filter</stringProp>
1150                 </elementProp>
1151               </collectionProp>
1152             </elementProp>
1153             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1154             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1155             <stringProp name="HTTPSampler.protocol">https</stringProp>
1156             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1157             <stringProp name="HTTPSampler.path">events/APPC-LCM-READ/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1158             <stringProp name="HTTPSampler.method">GET</stringProp>
1159             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1160             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1161             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1162             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1163             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1164             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1165             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1166           </HTTPSamplerProxy>
1167           <hashTree>
1168             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1169               <collectionProp name="Asserion.test_strings">
1170                 <stringProp name="2914">[]</stringProp>
1171               </collectionProp>
1172               <stringProp name="Assertion.custom_message"></stringProp>
1173               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1174               <boolProp name="Assertion.assume_success">false</boolProp>
1175               <intProp name="Assertion.test_type">12</intProp>
1176             </ResponseAssertion>
1177             <hashTree/>
1178             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="request-id extractor" enabled="true">
1179               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1180               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1181               <stringProp name="RegexExtractor.regex">\\&quot;request-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1182               <stringProp name="RegexExtractor.template">$1$</stringProp>
1183               <stringProp name="RegexExtractor.default">none</stringProp>
1184               <stringProp name="RegexExtractor.match_number"></stringProp>
1185             </RegexExtractor>
1186             <hashTree/>
1187             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="correlation-id extractor" enabled="true">
1188               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1189               <stringProp name="RegexExtractor.refname">correlationId</stringProp>
1190               <stringProp name="RegexExtractor.regex">correlation-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1191               <stringProp name="RegexExtractor.template">$1$</stringProp>
1192               <stringProp name="RegexExtractor.default">none</stringProp>
1193               <stringProp name="RegexExtractor.match_number"></stringProp>
1194             </RegexExtractor>
1195             <hashTree/>
1196             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="sub-request-id extractor" enabled="true">
1197               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1198               <stringProp name="RegexExtractor.refname">subRequestId</stringProp>
1199               <stringProp name="RegexExtractor.regex">sub-request-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1200               <stringProp name="RegexExtractor.template">$1$</stringProp>
1201               <stringProp name="RegexExtractor.default">none</stringProp>
1202               <stringProp name="RegexExtractor.match_number"></stringProp>
1203             </RegexExtractor>
1204             <hashTree/>
1205             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1206               <stringProp name="scriptLanguage">groovy</stringProp>
1207               <stringProp name="parameters"></stringProp>
1208               <stringProp name="filename"></stringProp>
1209               <stringProp name="cacheKey">true</stringProp>
1210               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1211 String requestId =  vars.get(&quot;requestId&quot;);
1212 String correlationId =  vars.get(&quot;correlationId&quot;);
1213 String subRequestId =  vars.get(&quot;subRequestId&quot;);
1214 String counter =  vars.get(&quot;counter&quot;);
1215
1216 String transaction = &quot;none&quot;;
1217
1218 log.info (&quot;The requestId id is &quot; + requestId);
1219 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1220 log.info (&quot;The correlation id is &quot; + correlationId);
1221 log.info (&quot;The subrequest id is &quot; + subRequestId);
1222 log.info (&quot;The counter is &quot; + counter);       
1223
1224 if (    requestId == requestIdOnset ) {
1225         if (    correlationId == &quot;none&quot; || subRequestId == &quot;none&quot; ) {
1226                 transaction = &quot;FINAL&quot;;
1227                 log.info (&quot;Final Failure Transaction&quot;);
1228                 AssertionResult.setFailureMessage(&quot;Missing correlationId or subRequestId&quot;);
1229                 AssertionResult.setFailure(true);
1230         } else {
1231                 transaction = &quot;FINAL&quot;;
1232                 vars.put(&quot;transaction&quot;, &quot;FINAL&quot;);
1233                 log.info (&quot;Final Success Transaction&quot;);
1234         }
1235 }
1236
1237 int counterTemp = Integer.parseInt(counter) +1;
1238 if (transaction == &quot;FINAL&quot;) {
1239         counterTemp = 99;
1240 } else if (counterTemp &gt;= 10) {
1241         AssertionResult.setFailureMessage(&quot;vCPE Success APPCL Failure, reached maximum number of 10 attempts &quot;);
1242         AssertionResult.setFailure(true);               
1243 }
1244
1245 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));
1246
1247 </stringProp>
1248             </JSR223Assertion>
1249             <hashTree/>
1250           </hashTree>
1251         </hashTree>
1252         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="APPC[APPC-LCM-READ]: SUCCESS" enabled="true">
1253           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1254           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1255             <collectionProp name="Arguments.arguments">
1256               <elementProp name="" elementType="HTTPArgument">
1257                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1258                 <stringProp name="Argument.value">{&#xd;
1259   &quot;body&quot;: {&#xd;
1260     &quot;output&quot;: {&#xd;
1261       &quot;common-header&quot;: {&#xd;
1262         &quot;timestamp&quot;: &quot;2020-05-05T15:56:34.845Z&quot;,&#xd;
1263         &quot;api-ver&quot;: &quot;2.00&quot;,&#xd;
1264         &quot;originator-id&quot;: &quot;${requestId}&quot;,&#xd;
1265         &quot;request-id&quot;: &quot;${requestId}&quot;,&#xd;
1266         &quot;sub-request-id&quot;: &quot;${subRequestId}&quot;,&#xd;
1267         &quot;flags&quot;: {}&#xd;
1268       },&#xd;
1269       &quot;status&quot;: {&#xd;
1270         &quot;code&quot;: 400,&#xd;
1271         &quot;message&quot;: &quot;Restart Successful&quot;&#xd;
1272       }&#xd;
1273     }&#xd;
1274   },&#xd;
1275   &quot;version&quot;: &quot;2.0&quot;,&#xd;
1276   &quot;rpc-name&quot;: &quot;restart&quot;,&#xd;
1277   &quot;correlation-id&quot;: &quot;${correlationId}&quot;,&#xd;
1278   &quot;type&quot;: &quot;response&quot;&#xd;
1279 }&#xd;
1280 </stringProp>
1281                 <stringProp name="Argument.metadata">=</stringProp>
1282               </elementProp>
1283             </collectionProp>
1284           </elementProp>
1285           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1286           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1287           <stringProp name="HTTPSampler.protocol">https</stringProp>
1288           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1289           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/APPC-LCM-WRITE/events</stringProp>
1290           <stringProp name="HTTPSampler.method">PUT</stringProp>
1291           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1292           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1293           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1294           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1295           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1296           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1297           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1298         </HTTPSamplerProxy>
1299         <hashTree>
1300           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1301             <collectionProp name="HeaderManager.headers">
1302               <elementProp name="" elementType="Header">
1303                 <stringProp name="Header.name">Content-Type</stringProp>
1304                 <stringProp name="Header.value">text/plain</stringProp>
1305               </elementProp>
1306             </collectionProp>
1307           </HeaderManager>
1308           <hashTree/>
1309         </hashTree>
1310         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1311           <stringProp name="scriptLanguage">groovy</stringProp>
1312           <stringProp name="parameters"></stringProp>
1313           <stringProp name="filename"></stringProp>
1314           <stringProp name="cacheKey">true</stringProp>
1315           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
1316         </JSR223Sampler>
1317         <hashTree/>
1318         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1319           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 60)}</stringProp>
1320         </WhileController>
1321         <hashTree>
1322           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_SUCCESS" enabled="true">
1323             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1324               <collectionProp name="Arguments.arguments">
1325                 <elementProp name="filter" elementType="HTTPArgument">
1326                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1327                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;requestId&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;notification&quot;, &quot;value&quot;:&quot;FINAL: SUCCESS&quot; }]}</stringProp>
1328                   <stringProp name="Argument.metadata">=</stringProp>
1329                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1330                   <stringProp name="Argument.name">filter</stringProp>
1331                 </elementProp>
1332               </collectionProp>
1333             </elementProp>
1334             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1335             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1336             <stringProp name="HTTPSampler.protocol">https</stringProp>
1337             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1338             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1339             <stringProp name="HTTPSampler.method">GET</stringProp>
1340             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1341             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1342             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1343             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1344             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1345             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1346             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1347           </HTTPSamplerProxy>
1348           <hashTree>
1349             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1350               <collectionProp name="Asserion.test_strings">
1351                 <stringProp name="2914">[]</stringProp>
1352               </collectionProp>
1353               <stringProp name="Assertion.custom_message"></stringProp>
1354               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1355               <boolProp name="Assertion.assume_success">false</boolProp>
1356               <intProp name="Assertion.test_type">12</intProp>
1357             </ResponseAssertion>
1358             <hashTree/>
1359             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
1360               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1361               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1362               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1363               <stringProp name="RegexExtractor.template">$1$</stringProp>
1364               <stringProp name="RegexExtractor.default">none</stringProp>
1365               <stringProp name="RegexExtractor.match_number"></stringProp>
1366             </RegexExtractor>
1367             <hashTree/>
1368             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
1369               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1370               <stringProp name="RegexExtractor.refname">notification</stringProp>
1371               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
1372               <stringProp name="RegexExtractor.template">$1$</stringProp>
1373               <stringProp name="RegexExtractor.default">none</stringProp>
1374               <stringProp name="RegexExtractor.match_number"></stringProp>
1375             </RegexExtractor>
1376             <hashTree/>
1377             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1378               <stringProp name="scriptLanguage">groovy</stringProp>
1379               <stringProp name="parameters"></stringProp>
1380               <stringProp name="filename"></stringProp>
1381               <stringProp name="cacheKey">true</stringProp>
1382               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1383 String requestId =  vars.get(&quot;requestId&quot;);
1384 String notification =  vars.get(&quot;notification&quot;);
1385 String counter =  vars.get(&quot;counter&quot;);
1386
1387 String transaction = &quot;none&quot;;
1388
1389 log.info (&quot;The requestId id is &quot; + requestId);
1390 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1391 log.info (&quot;The notification is &quot; + notification);
1392 log.info (&quot;The transaction is &quot; + transaction);
1393 log.info (&quot;The counter is &quot; + counter);
1394
1395 if (    requestId == requestIdOnset ) {
1396         if ( notification == &quot;SUCCESS&quot; ) {
1397                 transaction = &quot;FINAL&quot;;
1398                 log.info (&quot;Final Success Transaction&quot;);
1399                 log.info (&quot;The notification is SUCCESS&quot;);
1400         } else if ( notification == &quot;FAILURE&quot; ) {
1401                 transaction = &quot;FINAL&quot;;
1402                 log.info (&quot;Final Failure Transaction&quot;);
1403                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
1404                 AssertionResult.setFailure(true);
1405         } 
1406 }
1407
1408 int counterTemp = Integer.parseInt(counter) +1;
1409 if (transaction == &quot;FINAL&quot;) {
1410         counterTemp = 99;
1411 } else if (counterTemp &gt;= 60) {
1412         AssertionResult.setFailureMessage(&quot;vCPE Success POLICYCL Failure, reached maximum number of attempts &quot;);
1413         AssertionResult.setFailure(true);               
1414 }
1415
1416 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));</stringProp>
1417             </JSR223Assertion>
1418             <hashTree/>
1419           </hashTree>
1420         </hashTree>
1421       </hashTree>
1422       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="vCPE Failure" enabled="true">
1423         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
1424         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1425           <boolProp name="LoopController.continue_forever">false</boolProp>
1426           <intProp name="LoopController.loops">-1</intProp>
1427         </elementProp>
1428         <stringProp name="ThreadGroup.num_threads">1</stringProp>
1429         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1430         <boolProp name="ThreadGroup.scheduler">true</boolProp>
1431         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
1432         <stringProp name="ThreadGroup.delay">5</stringProp>
1433         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1434       </ThreadGroup>
1435       <hashTree>
1436         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
1437           <collectionProp name="UserParameters.names">
1438             <stringProp name="-308835287">consumerGroup</stringProp>
1439           </collectionProp>
1440           <collectionProp name="UserParameters.thread_values">
1441             <collectionProp name="-1129400645">
1442               <stringProp name="-1294689816">vcpefailure</stringProp>
1443             </collectionProp>
1444           </collectionProp>
1445           <boolProp name="UserParameters.per_iteration">false</boolProp>
1446           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
1447         </UserParameters>
1448         <hashTree/>
1449         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
1450           <collectionProp name="UserParameters.names">
1451             <stringProp name="693933066">requestId</stringProp>
1452           </collectionProp>
1453           <collectionProp name="UserParameters.thread_values">
1454             <collectionProp name="681405977">
1455               <stringProp name="118040362">${__UUID()}</stringProp>
1456             </collectionProp>
1457           </collectionProp>
1458           <boolProp name="UserParameters.per_iteration">true</boolProp>
1459           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
1460         </UserParameters>
1461         <hashTree/>
1462         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
1463           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1464           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1465             <collectionProp name="Arguments.arguments">
1466               <elementProp name="" elementType="HTTPArgument">
1467                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1468                 <stringProp name="Argument.value">{&#xd;
1469   &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-Fail&quot;,&#xd;
1470   &quot;closedLoopAlarmStart&quot;: 1463679805324,&#xd;
1471   &quot;closedLoopEventClient&quot;: &quot;DCAE_INSTANCE_ID.dcae-tca&quot;,&#xd;
1472   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
1473   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
1474   &quot;target_type&quot;: &quot;VNF&quot;,&#xd;
1475   &quot;target&quot;: &quot;generic-vnf.vnf-id&quot;,&#xd;
1476   &quot;AAI&quot;: {&#xd;
1477     &quot;vserver.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
1478     &quot;vserver.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
1479     &quot;generic-vnf.vnf-id&quot;: &quot;a_fail_vnf_id&quot;&#xd;
1480   },&#xd;
1481   &quot;from&quot;: &quot;DCAE&quot;,&#xd;
1482   &quot;version&quot;: &quot;1.0.2&quot;&#xd;
1483 }</stringProp>
1484                 <stringProp name="Argument.metadata">=</stringProp>
1485               </elementProp>
1486             </collectionProp>
1487           </elementProp>
1488           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1489           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1490           <stringProp name="HTTPSampler.protocol">https</stringProp>
1491           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1492           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
1493           <stringProp name="HTTPSampler.method">PUT</stringProp>
1494           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1495           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1496           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1497           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1498           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1499           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1500           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1501         </HTTPSamplerProxy>
1502         <hashTree>
1503           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1504             <collectionProp name="HeaderManager.headers">
1505               <elementProp name="" elementType="Header">
1506                 <stringProp name="Header.name">Content-Type</stringProp>
1507                 <stringProp name="Header.value">text/plain</stringProp>
1508               </elementProp>
1509             </collectionProp>
1510           </HeaderManager>
1511           <hashTree/>
1512         </hashTree>
1513         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1514           <stringProp name="scriptLanguage">groovy</stringProp>
1515           <stringProp name="parameters"></stringProp>
1516           <stringProp name="filename"></stringProp>
1517           <stringProp name="cacheKey">true</stringProp>
1518           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
1519         </JSR223Sampler>
1520         <hashTree/>
1521         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="APPCL Restart Loop Controller" enabled="true">
1522           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 10)}</stringProp>
1523         </WhileController>
1524         <hashTree>
1525           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[APPC-LCM-READ]: Restart" enabled="true">
1526             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1527               <collectionProp name="Arguments.arguments">
1528                 <elementProp name="filter" elementType="HTTPArgument">
1529                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1530                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;request-id&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;rpc-name&quot;, &quot;value&quot;:&quot;restart&quot; }]}</stringProp>
1531                   <stringProp name="Argument.metadata">=</stringProp>
1532                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1533                   <stringProp name="Argument.name">filter</stringProp>
1534                 </elementProp>
1535               </collectionProp>
1536             </elementProp>
1537             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1538             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1539             <stringProp name="HTTPSampler.protocol">https</stringProp>
1540             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1541             <stringProp name="HTTPSampler.path">events/APPC-LCM-READ/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1542             <stringProp name="HTTPSampler.method">GET</stringProp>
1543             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1544             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1545             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1546             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1547             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1548             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1549             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1550           </HTTPSamplerProxy>
1551           <hashTree>
1552             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1553               <collectionProp name="Asserion.test_strings">
1554                 <stringProp name="2914">[]</stringProp>
1555               </collectionProp>
1556               <stringProp name="Assertion.custom_message"></stringProp>
1557               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1558               <boolProp name="Assertion.assume_success">false</boolProp>
1559               <intProp name="Assertion.test_type">12</intProp>
1560             </ResponseAssertion>
1561             <hashTree/>
1562             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="request-id extractor" enabled="true">
1563               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1564               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1565               <stringProp name="RegexExtractor.regex">\\&quot;request-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1566               <stringProp name="RegexExtractor.template">$1$</stringProp>
1567               <stringProp name="RegexExtractor.default">none</stringProp>
1568               <stringProp name="RegexExtractor.match_number"></stringProp>
1569             </RegexExtractor>
1570             <hashTree/>
1571             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="correlation-id extractor" enabled="true">
1572               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1573               <stringProp name="RegexExtractor.refname">correlationId</stringProp>
1574               <stringProp name="RegexExtractor.regex">correlation-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1575               <stringProp name="RegexExtractor.template">$1$</stringProp>
1576               <stringProp name="RegexExtractor.default">none</stringProp>
1577               <stringProp name="RegexExtractor.match_number"></stringProp>
1578             </RegexExtractor>
1579             <hashTree/>
1580             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="sub-request-id extractor" enabled="true">
1581               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1582               <stringProp name="RegexExtractor.refname">subRequestId</stringProp>
1583               <stringProp name="RegexExtractor.regex">sub-request-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1584               <stringProp name="RegexExtractor.template">$1$</stringProp>
1585               <stringProp name="RegexExtractor.default">none</stringProp>
1586               <stringProp name="RegexExtractor.match_number"></stringProp>
1587             </RegexExtractor>
1588             <hashTree/>
1589             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1590               <stringProp name="scriptLanguage">groovy</stringProp>
1591               <stringProp name="parameters"></stringProp>
1592               <stringProp name="filename"></stringProp>
1593               <stringProp name="cacheKey">true</stringProp>
1594               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1595 String requestId =  vars.get(&quot;requestId&quot;);
1596 String correlationId =  vars.get(&quot;correlationId&quot;);
1597 String subRequestId =  vars.get(&quot;subRequestId&quot;);
1598 String counter =  vars.get(&quot;counter&quot;);
1599
1600 String transaction = &quot;none&quot;;
1601
1602 log.info (&quot;The requestId id is &quot; + requestId);
1603 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1604 log.info (&quot;The correlation id is &quot; + correlationId);
1605 log.info (&quot;The subrequest id is &quot; + subRequestId);
1606 log.info (&quot;The counter is &quot; + counter);       
1607
1608 if (    requestId == requestIdOnset ) {
1609         if (    correlationId == &quot;none&quot; || subRequestId == &quot;none&quot; ) {
1610                 transaction = &quot;FINAL&quot;;
1611                 log.info (&quot;Final Failure Transaction&quot;);
1612                 AssertionResult.setFailureMessage(&quot;Missing correlationId or subRequestId&quot;);
1613                 AssertionResult.setFailure(true);
1614         } else {
1615                 transaction = &quot;FINAL&quot;;
1616                 vars.put(&quot;transaction&quot;, &quot;FINAL&quot;);
1617                 log.info (&quot;Final Success Transaction&quot;);
1618         }
1619 }
1620
1621 int counterTemp = Integer.parseInt(counter) +1;
1622 if (transaction == &quot;FINAL&quot;) {
1623         counterTemp = 99;
1624 } else if (counterTemp &gt;= 10) {
1625         AssertionResult.setFailureMessage(&quot;vCPE Failure APPCL Failure, reached maximum number of 10 attempts &quot;);
1626         AssertionResult.setFailure(true);               
1627 }
1628
1629 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));
1630
1631 </stringProp>
1632             </JSR223Assertion>
1633             <hashTree/>
1634           </hashTree>
1635         </hashTree>
1636         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="APPC[APPC-LCM-READ]: FAILURE" enabled="true">
1637           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1638           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1639             <collectionProp name="Arguments.arguments">
1640               <elementProp name="" elementType="HTTPArgument">
1641                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1642                 <stringProp name="Argument.value">{&#xd;
1643   &quot;body&quot;: {&#xd;
1644     &quot;output&quot;: {&#xd;
1645       &quot;common-header&quot;: {&#xd;
1646         &quot;timestamp&quot;: &quot;2020-05-07T15:56:34.845Z&quot;,&#xd;
1647         &quot;api-ver&quot;: &quot;2.00&quot;,&#xd;
1648         &quot;originator-id&quot;: &quot;${requestId}&quot;,&#xd;
1649         &quot;request-id&quot;: &quot;${requestId}&quot;,&#xd;
1650         &quot;sub-request-id&quot;: &quot;${subRequestId}&quot;,&#xd;
1651         &quot;flags&quot;: {}&#xd;
1652       },&#xd;
1653       &quot;status&quot;: {&#xd;
1654         &quot;code&quot;: 450,&#xd;
1655         &quot;message&quot;: &quot;Restart Failed&quot;&#xd;
1656       }&#xd;
1657     }&#xd;
1658   },&#xd;
1659   &quot;version&quot;: &quot;2.0&quot;,&#xd;
1660   &quot;rpc-name&quot;: &quot;restart&quot;,&#xd;
1661   &quot;correlation-id&quot;: &quot;${correlationId}&quot;,&#xd;
1662   &quot;type&quot;: &quot;response&quot;&#xd;
1663 }&#xd;
1664 </stringProp>
1665                 <stringProp name="Argument.metadata">=</stringProp>
1666               </elementProp>
1667             </collectionProp>
1668           </elementProp>
1669           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1670           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1671           <stringProp name="HTTPSampler.protocol">https</stringProp>
1672           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1673           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/APPC-LCM-WRITE/events</stringProp>
1674           <stringProp name="HTTPSampler.method">PUT</stringProp>
1675           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1676           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1677           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1678           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1679           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1680           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1681           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1682         </HTTPSamplerProxy>
1683         <hashTree>
1684           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1685             <collectionProp name="HeaderManager.headers">
1686               <elementProp name="" elementType="Header">
1687                 <stringProp name="Header.name">Content-Type</stringProp>
1688                 <stringProp name="Header.value">text/plain</stringProp>
1689               </elementProp>
1690             </collectionProp>
1691           </HeaderManager>
1692           <hashTree/>
1693         </hashTree>
1694         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1695           <stringProp name="scriptLanguage">groovy</stringProp>
1696           <stringProp name="parameters"></stringProp>
1697           <stringProp name="filename"></stringProp>
1698           <stringProp name="cacheKey">true</stringProp>
1699           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
1700         </JSR223Sampler>
1701         <hashTree/>
1702         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1703           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 60)}</stringProp>
1704         </WhileController>
1705         <hashTree>
1706           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_FAILURE" enabled="true">
1707             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1708               <collectionProp name="Arguments.arguments">
1709                 <elementProp name="filter" elementType="HTTPArgument">
1710                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1711                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;requestId&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;notification&quot;, &quot;value&quot;:&quot;FINAL: FAILURE&quot; }]}</stringProp>
1712                   <stringProp name="Argument.metadata">=</stringProp>
1713                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1714                   <stringProp name="Argument.name">filter</stringProp>
1715                 </elementProp>
1716               </collectionProp>
1717             </elementProp>
1718             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1719             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1720             <stringProp name="HTTPSampler.protocol">https</stringProp>
1721             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1722             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1723             <stringProp name="HTTPSampler.method">GET</stringProp>
1724             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1725             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1726             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1727             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1728             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1729             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1730             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1731           </HTTPSamplerProxy>
1732           <hashTree>
1733             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1734               <collectionProp name="Asserion.test_strings">
1735                 <stringProp name="2914">[]</stringProp>
1736               </collectionProp>
1737               <stringProp name="Assertion.custom_message"></stringProp>
1738               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1739               <boolProp name="Assertion.assume_success">false</boolProp>
1740               <intProp name="Assertion.test_type">12</intProp>
1741             </ResponseAssertion>
1742             <hashTree/>
1743             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
1744               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1745               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1746               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1747               <stringProp name="RegexExtractor.template">$1$</stringProp>
1748               <stringProp name="RegexExtractor.default">none</stringProp>
1749               <stringProp name="RegexExtractor.match_number"></stringProp>
1750             </RegexExtractor>
1751             <hashTree/>
1752             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
1753               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1754               <stringProp name="RegexExtractor.refname">notification</stringProp>
1755               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
1756               <stringProp name="RegexExtractor.template">$1$</stringProp>
1757               <stringProp name="RegexExtractor.default">none</stringProp>
1758               <stringProp name="RegexExtractor.match_number"></stringProp>
1759             </RegexExtractor>
1760             <hashTree/>
1761             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1762               <stringProp name="scriptLanguage">groovy</stringProp>
1763               <stringProp name="parameters"></stringProp>
1764               <stringProp name="filename"></stringProp>
1765               <stringProp name="cacheKey">true</stringProp>
1766               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1767 String requestId =  vars.get(&quot;requestId&quot;);
1768 String notification =  vars.get(&quot;notification&quot;);
1769 String counter =  vars.get(&quot;counter&quot;);
1770
1771 String transaction = &quot;none&quot;;
1772
1773 log.info (&quot;The requestId id is &quot; + requestId);
1774 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1775 log.info (&quot;The notification is &quot; + notification);
1776 log.info (&quot;The transaction is &quot; + transaction);
1777 log.info (&quot;The counter is &quot; + counter);
1778
1779 if (    requestId == requestIdOnset ) {
1780         if ( notification == &quot;SUCCESS&quot; ) {
1781                 transaction = &quot;FINAL&quot;;
1782                 log.info (&quot;Final Success Transaction&quot;);
1783                 AssertionResult.setFailureMessage(&quot;Unexpected SUCCESS notification&quot;);
1784                 AssertionResult.setFailure(true);
1785         } else if ( notification == &quot;FAILURE&quot; ) {
1786                 transaction = &quot;FINAL&quot;;
1787                 log.info (&quot;Final Failure Transaction&quot;);
1788         } 
1789 }
1790
1791 int counterTemp = Integer.parseInt(counter) +1;
1792 if (transaction == &quot;FINAL&quot;) {
1793         counterTemp = 99;
1794 } else if (counterTemp &gt;= 60) {
1795         AssertionResult.setFailureMessage(&quot;vCPE Failure POLICYCL Failure, reached maximum number of 10 attempts &quot;);
1796         AssertionResult.setFailure(true);               
1797 }
1798
1799 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));</stringProp>
1800             </JSR223Assertion>
1801             <hashTree/>
1802           </hashTree>
1803         </hashTree>
1804       </hashTree>
1805       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="vDNS Success" enabled="true">
1806         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
1807         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1808           <boolProp name="LoopController.continue_forever">false</boolProp>
1809           <intProp name="LoopController.loops">-1</intProp>
1810         </elementProp>
1811         <stringProp name="ThreadGroup.num_threads">1</stringProp>
1812         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1813         <boolProp name="ThreadGroup.scheduler">true</boolProp>
1814         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
1815         <stringProp name="ThreadGroup.delay">10</stringProp>
1816         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1817       </ThreadGroup>
1818       <hashTree>
1819         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
1820           <collectionProp name="UserParameters.names">
1821             <stringProp name="-308835287">consumerGroup</stringProp>
1822           </collectionProp>
1823           <collectionProp name="UserParameters.thread_values">
1824             <collectionProp name="-2069404111">
1825               <stringProp name="-27349072">vdnssuccess</stringProp>
1826             </collectionProp>
1827           </collectionProp>
1828           <boolProp name="UserParameters.per_iteration">false</boolProp>
1829           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
1830         </UserParameters>
1831         <hashTree/>
1832         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
1833           <collectionProp name="UserParameters.names">
1834             <stringProp name="693933066">requestId</stringProp>
1835           </collectionProp>
1836           <collectionProp name="UserParameters.thread_values">
1837             <collectionProp name="681405977">
1838               <stringProp name="118040362">${__UUID()}</stringProp>
1839             </collectionProp>
1840           </collectionProp>
1841           <boolProp name="UserParameters.per_iteration">true</boolProp>
1842           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
1843         </UserParameters>
1844         <hashTree/>
1845         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
1846           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1847           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1848             <collectionProp name="Arguments.arguments">
1849               <elementProp name="" elementType="HTTPArgument">
1850                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1851                 <stringProp name="Argument.value">{&#xd;
1852   &quot;closedLoopControlName&quot;: &quot;ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3&quot;,&#xd;
1853   &quot;closedLoopAlarmStart&quot;: 1463679805324,&#xd;
1854   &quot;closedLoopEventClient&quot;: &quot;microservice.stringmatcher&quot;,&#xd;
1855   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
1856   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
1857   &quot;target_type&quot;: &quot;VNF&quot;,&#xd;
1858   &quot;target&quot;: &quot;vserver.vserver-name&quot;,&#xd;
1859   &quot;AAI&quot;: {&#xd;
1860     &quot;vserver.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
1861     &quot;vserver.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
1862     &quot;vserver.vserver-name&quot;: &quot;OzVServer&quot;&#xd;
1863   },&#xd;
1864   &quot;from&quot;: &quot;DCAE&quot;,&#xd;
1865   &quot;version&quot;: &quot;1.0.2&quot;&#xd;
1866 }</stringProp>
1867                 <stringProp name="Argument.metadata">=</stringProp>
1868               </elementProp>
1869             </collectionProp>
1870           </elementProp>
1871           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1872           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1873           <stringProp name="HTTPSampler.protocol">https</stringProp>
1874           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1875           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
1876           <stringProp name="HTTPSampler.method">PUT</stringProp>
1877           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1878           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1879           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1880           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1881           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1882           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1883           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1884         </HTTPSamplerProxy>
1885         <hashTree>
1886           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1887             <collectionProp name="HeaderManager.headers">
1888               <elementProp name="" elementType="Header">
1889                 <stringProp name="Header.name">Content-Type</stringProp>
1890                 <stringProp name="Header.value">text/plain</stringProp>
1891               </elementProp>
1892             </collectionProp>
1893           </HeaderManager>
1894           <hashTree/>
1895         </hashTree>
1896         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1897           <stringProp name="scriptLanguage">groovy</stringProp>
1898           <stringProp name="parameters"></stringProp>
1899           <stringProp name="filename"></stringProp>
1900           <stringProp name="cacheKey">true</stringProp>
1901           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);
1902 vars.put(&quot;transaction&quot;, &quot;none&quot;);</stringProp>
1903         </JSR223Sampler>
1904         <hashTree/>
1905         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1906           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 60)}</stringProp>
1907         </WhileController>
1908         <hashTree>
1909           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_SUCCESS" enabled="true">
1910             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1911               <collectionProp name="Arguments.arguments">
1912                 <elementProp name="filter" elementType="HTTPArgument">
1913                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1914                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;requestId&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;notification&quot;, &quot;value&quot;:&quot;FINAL: SUCCESS&quot; }]}</stringProp>
1915                   <stringProp name="Argument.metadata">=</stringProp>
1916                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1917                   <stringProp name="Argument.name">filter</stringProp>
1918                 </elementProp>
1919               </collectionProp>
1920             </elementProp>
1921             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1922             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1923             <stringProp name="HTTPSampler.protocol">https</stringProp>
1924             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1925             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=20000&amp;limit=1</stringProp>
1926             <stringProp name="HTTPSampler.method">GET</stringProp>
1927             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1928             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1929             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1930             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1931             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1932             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1933             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1934           </HTTPSamplerProxy>
1935           <hashTree>
1936             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1937               <collectionProp name="Asserion.test_strings">
1938                 <stringProp name="2914">[]</stringProp>
1939               </collectionProp>
1940               <stringProp name="Assertion.custom_message"></stringProp>
1941               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1942               <boolProp name="Assertion.assume_success">false</boolProp>
1943               <intProp name="Assertion.test_type">12</intProp>
1944             </ResponseAssertion>
1945             <hashTree/>
1946             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
1947               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1948               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1949               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1950               <stringProp name="RegexExtractor.template">$1$</stringProp>
1951               <stringProp name="RegexExtractor.default">none</stringProp>
1952               <stringProp name="RegexExtractor.match_number"></stringProp>
1953             </RegexExtractor>
1954             <hashTree/>
1955             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
1956               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1957               <stringProp name="RegexExtractor.refname">notification</stringProp>
1958               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
1959               <stringProp name="RegexExtractor.template">$1$</stringProp>
1960               <stringProp name="RegexExtractor.default">none</stringProp>
1961               <stringProp name="RegexExtractor.match_number"></stringProp>
1962             </RegexExtractor>
1963             <hashTree/>
1964             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1965               <stringProp name="scriptLanguage">groovy</stringProp>
1966               <stringProp name="parameters"></stringProp>
1967               <stringProp name="filename"></stringProp>
1968               <stringProp name="cacheKey">true</stringProp>
1969               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1970 String requestId =  vars.get(&quot;requestId&quot;);
1971 String notification =  vars.get(&quot;notification&quot;);
1972 String counter =  vars.get(&quot;counter&quot;);
1973
1974 String transaction = &quot;none&quot;;
1975
1976 log.info (&quot;The requestId id is &quot; + requestId);
1977 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1978 log.info (&quot;The notification is &quot; + notification);
1979 log.info (&quot;The transaction is &quot; + transaction);
1980 log.info (&quot;The counter is &quot; + counter);
1981
1982 if (    requestId == requestIdOnset ) {
1983         if ( notification == &quot;SUCCESS&quot; ) {
1984                 transaction = &quot;FINAL&quot;;
1985                 log.info (&quot;Final Success Transaction&quot;);
1986                 log.info (&quot;The notification is SUCCESS&quot;);
1987         } else if ( notification == &quot;FAILURE&quot; ) {
1988                 transaction = &quot;FINAL&quot;;
1989                 log.info (&quot;Final Failure Transaction&quot;);
1990                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
1991                 AssertionResult.setFailure(true);
1992         } 
1993 }
1994
1995 int counterTemp = Integer.parseInt(counter) +1;
1996 if (transaction == &quot;FINAL&quot;) {
1997         counterTemp = 99;
1998 } else if (counterTemp &gt;= 60) {
1999         AssertionResult.setFailureMessage(&quot;vDNS Success POLICYCL Failure, reached maximum number of attempts &quot;);
2000         AssertionResult.setFailure(true);               
2001 }
2002
2003 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));</stringProp>
2004             </JSR223Assertion>
2005             <hashTree/>
2006           </hashTree>
2007         </hashTree>
2008       </hashTree>
2009       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="vDNS Failure" enabled="true">
2010         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
2011         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
2012           <boolProp name="LoopController.continue_forever">false</boolProp>
2013           <intProp name="LoopController.loops">-1</intProp>
2014         </elementProp>
2015         <stringProp name="ThreadGroup.num_threads">1</stringProp>
2016         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
2017         <boolProp name="ThreadGroup.scheduler">true</boolProp>
2018         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
2019         <stringProp name="ThreadGroup.delay">15</stringProp>
2020         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
2021       </ThreadGroup>
2022       <hashTree>
2023         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
2024           <collectionProp name="UserParameters.names">
2025             <stringProp name="-308835287">consumerGroup</stringProp>
2026           </collectionProp>
2027           <collectionProp name="UserParameters.thread_values">
2028             <collectionProp name="877384373">
2029               <stringProp name="753246519">vdnsfailure</stringProp>
2030             </collectionProp>
2031           </collectionProp>
2032           <boolProp name="UserParameters.per_iteration">false</boolProp>
2033           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
2034         </UserParameters>
2035         <hashTree/>
2036         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
2037           <collectionProp name="UserParameters.names">
2038             <stringProp name="693933066">requestId</stringProp>
2039           </collectionProp>
2040           <collectionProp name="UserParameters.thread_values">
2041             <collectionProp name="681405977">
2042               <stringProp name="118040362">${__UUID()}</stringProp>
2043             </collectionProp>
2044           </collectionProp>
2045           <boolProp name="UserParameters.per_iteration">true</boolProp>
2046           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
2047         </UserParameters>
2048         <hashTree/>
2049         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
2050           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2051           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2052             <collectionProp name="Arguments.arguments">
2053               <elementProp name="" elementType="HTTPArgument">
2054                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2055                 <stringProp name="Argument.value">{&#xd;
2056   &quot;closedLoopControlName&quot;: &quot;ControlLoop-vDNS-Fail&quot;,&#xd;
2057   &quot;closedLoopAlarmStart&quot;: 1463679805324,&#xd;
2058   &quot;closedLoopEventClient&quot;: &quot;microservice.stringmatcher&quot;,&#xd;
2059   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
2060   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
2061   &quot;target_type&quot;: &quot;VNF&quot;,&#xd;
2062   &quot;target&quot;: &quot;vserver.vserver-name&quot;,&#xd;
2063   &quot;AAI&quot;: {&#xd;
2064     &quot;vserver.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
2065     &quot;vserver.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
2066     &quot;vserver.vserver-name&quot;: &quot;AAA&quot;&#xd;
2067   },&#xd;
2068   &quot;from&quot;: &quot;DCAE&quot;,&#xd;
2069   &quot;version&quot;: &quot;1.0.2&quot;&#xd;
2070 }</stringProp>
2071                 <stringProp name="Argument.metadata">=</stringProp>
2072               </elementProp>
2073             </collectionProp>
2074           </elementProp>
2075           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
2076           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
2077           <stringProp name="HTTPSampler.protocol">https</stringProp>
2078           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2079           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
2080           <stringProp name="HTTPSampler.method">PUT</stringProp>
2081           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2082           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2083           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2084           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2085           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2086           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2087           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2088         </HTTPSamplerProxy>
2089         <hashTree>
2090           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
2091             <collectionProp name="HeaderManager.headers">
2092               <elementProp name="" elementType="Header">
2093                 <stringProp name="Header.name">Content-Type</stringProp>
2094                 <stringProp name="Header.value">text/plain</stringProp>
2095               </elementProp>
2096             </collectionProp>
2097           </HeaderManager>
2098           <hashTree/>
2099         </hashTree>
2100         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
2101           <stringProp name="scriptLanguage">groovy</stringProp>
2102           <stringProp name="parameters"></stringProp>
2103           <stringProp name="filename"></stringProp>
2104           <stringProp name="cacheKey">true</stringProp>
2105           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);
2106 vars.put(&quot;transaction&quot;, &quot;none&quot;);</stringProp>
2107         </JSR223Sampler>
2108         <hashTree/>
2109         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Failure Controller" enabled="true">
2110           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 60)}</stringProp>
2111         </WhileController>
2112         <hashTree>
2113           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_FAILURE" enabled="true">
2114             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2115               <collectionProp name="Arguments.arguments">
2116                 <elementProp name="filter" elementType="HTTPArgument">
2117                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
2118                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;requestId&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;notification&quot;, &quot;value&quot;:&quot;FINAL: SUCCESS&quot; }]}</stringProp>
2119                   <stringProp name="Argument.metadata">=</stringProp>
2120                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
2121                   <stringProp name="Argument.name">filter</stringProp>
2122                 </elementProp>
2123               </collectionProp>
2124             </elementProp>
2125             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
2126             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
2127             <stringProp name="HTTPSampler.protocol">https</stringProp>
2128             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2129             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=20000&amp;limit=1</stringProp>
2130             <stringProp name="HTTPSampler.method">GET</stringProp>
2131             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2132             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2133             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2134             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2135             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2136             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2137             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2138           </HTTPSamplerProxy>
2139           <hashTree>
2140             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
2141               <collectionProp name="Asserion.test_strings">
2142                 <stringProp name="2914">[]</stringProp>
2143               </collectionProp>
2144               <stringProp name="Assertion.custom_message"></stringProp>
2145               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2146               <boolProp name="Assertion.assume_success">false</boolProp>
2147               <intProp name="Assertion.test_type">12</intProp>
2148             </ResponseAssertion>
2149             <hashTree/>
2150             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
2151               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2152               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
2153               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
2154               <stringProp name="RegexExtractor.template">$1$</stringProp>
2155               <stringProp name="RegexExtractor.default">none</stringProp>
2156               <stringProp name="RegexExtractor.match_number"></stringProp>
2157             </RegexExtractor>
2158             <hashTree/>
2159             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
2160               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2161               <stringProp name="RegexExtractor.refname">notification</stringProp>
2162               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
2163               <stringProp name="RegexExtractor.template">$1$</stringProp>
2164               <stringProp name="RegexExtractor.default">none</stringProp>
2165               <stringProp name="RegexExtractor.match_number"></stringProp>
2166             </RegexExtractor>
2167             <hashTree/>
2168             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2169               <stringProp name="scriptLanguage">groovy</stringProp>
2170               <stringProp name="parameters"></stringProp>
2171               <stringProp name="filename"></stringProp>
2172               <stringProp name="cacheKey">true</stringProp>
2173               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
2174 String requestId =  vars.get(&quot;requestId&quot;);
2175 String notification =  vars.get(&quot;notification&quot;);
2176 String counter =  vars.get(&quot;counter&quot;);
2177
2178 String transaction = &quot;none&quot;;
2179
2180 log.info (&quot;The requestId id is &quot; + requestId);
2181 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
2182 log.info (&quot;The notification is &quot; + notification);
2183 log.info (&quot;The transaction is &quot; + transaction);
2184 log.info (&quot;The counter is &quot; + counter);
2185
2186 if (    requestId == requestIdOnset ) {
2187         if ( notification == &quot;SUCCESS&quot; ) {
2188                 transaction = &quot;FINAL&quot;;
2189                 log.info (&quot;Final Success Transaction&quot;);
2190                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
2191                 AssertionResult.setFailure(true);
2192         } else if ( notification == &quot;FAILURE&quot; ) {
2193                 transaction = &quot;FINAL&quot;;
2194                 log.info (&quot;Final Failure Transaction&quot;);
2195         } 
2196 }
2197
2198 int counterTemp = Integer.parseInt(counter) +1;
2199 if (transaction == &quot;FINAL&quot;) {
2200         counterTemp = 99;
2201 } else if (counterTemp &gt;= 60) {
2202         AssertionResult.setFailureMessage(&quot;vDNS Failure POLICYCL Failure, reached maximum number of attempts &quot;);
2203         AssertionResult.setFailure(true);               
2204 }
2205
2206 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));</stringProp>
2207             </JSR223Assertion>
2208             <hashTree/>
2209           </hashTree>
2210         </hashTree>
2211       </hashTree>
2212       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="vFW Success" enabled="true">
2213         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
2214         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
2215           <boolProp name="LoopController.continue_forever">false</boolProp>
2216           <intProp name="LoopController.loops">-1</intProp>
2217         </elementProp>
2218         <stringProp name="ThreadGroup.num_threads">1</stringProp>
2219         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
2220         <boolProp name="ThreadGroup.scheduler">true</boolProp>
2221         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
2222         <stringProp name="ThreadGroup.delay">20</stringProp>
2223         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
2224       </ThreadGroup>
2225       <hashTree>
2226         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
2227           <collectionProp name="UserParameters.names">
2228             <stringProp name="-308835287">consumerGroup</stringProp>
2229           </collectionProp>
2230           <collectionProp name="UserParameters.thread_values">
2231             <collectionProp name="-75926649">
2232               <stringProp name="-2021688740">vfwsuccess</stringProp>
2233             </collectionProp>
2234           </collectionProp>
2235           <boolProp name="UserParameters.per_iteration">false</boolProp>
2236           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
2237         </UserParameters>
2238         <hashTree/>
2239         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
2240           <collectionProp name="UserParameters.names">
2241             <stringProp name="693933066">requestId</stringProp>
2242           </collectionProp>
2243           <collectionProp name="UserParameters.thread_values">
2244             <collectionProp name="681405977">
2245               <stringProp name="118040362">${__UUID()}</stringProp>
2246             </collectionProp>
2247           </collectionProp>
2248           <boolProp name="UserParameters.per_iteration">true</boolProp>
2249           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
2250         </UserParameters>
2251         <hashTree/>
2252         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
2253           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2254           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2255             <collectionProp name="Arguments.arguments">
2256               <elementProp name="" elementType="HTTPArgument">
2257                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2258                 <stringProp name="Argument.value">{&#xd;
2259   &quot;closedLoopControlName&quot;: &quot;ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a&quot;,&#xd;
2260   &quot;closedLoopAlarmStart&quot;: 1463679805324,&#xd;
2261   &quot;closedLoopEventClient&quot;: &quot;microservice.stringmatcher&quot;,&#xd;
2262   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
2263   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
2264   &quot;target_type&quot;: &quot;VNF&quot;,&#xd;
2265   &quot;target&quot;: &quot;generic-vnf.vnf-name&quot;,&#xd;
2266   &quot;AAI&quot;: {&#xd;
2267     &quot;vserver.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
2268     &quot;vserver.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
2269     &quot;generic-vnf.vnf-name&quot;: &quot;fw0002vm002fw002&quot;,&#xd;
2270     &quot;vserver.vserver-name&quot;: &quot;OzVServer&quot;&#xd;
2271   },&#xd;
2272   &quot;from&quot;: &quot;DCAE&quot;,&#xd;
2273   &quot;version&quot;: &quot;1.0.2&quot;&#xd;
2274 }&#xd;
2275 </stringProp>
2276                 <stringProp name="Argument.metadata">=</stringProp>
2277               </elementProp>
2278             </collectionProp>
2279           </elementProp>
2280           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
2281           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
2282           <stringProp name="HTTPSampler.protocol">https</stringProp>
2283           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2284           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
2285           <stringProp name="HTTPSampler.method">PUT</stringProp>
2286           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2287           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2288           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2289           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2290           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2291           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2292           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2293         </HTTPSamplerProxy>
2294         <hashTree>
2295           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
2296             <collectionProp name="HeaderManager.headers">
2297               <elementProp name="" elementType="Header">
2298                 <stringProp name="Header.name">Content-Type</stringProp>
2299                 <stringProp name="Header.value">text/plain</stringProp>
2300               </elementProp>
2301             </collectionProp>
2302           </HeaderManager>
2303           <hashTree/>
2304         </hashTree>
2305         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
2306           <stringProp name="scriptLanguage">groovy</stringProp>
2307           <stringProp name="parameters"></stringProp>
2308           <stringProp name="filename"></stringProp>
2309           <stringProp name="cacheKey">true</stringProp>
2310           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
2311         </JSR223Sampler>
2312         <hashTree/>
2313         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="APPCL Restart Loop Controller" enabled="true">
2314           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 10)}</stringProp>
2315         </WhileController>
2316         <hashTree>
2317           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[APPC-CL]: Restart" enabled="true">
2318             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2319               <collectionProp name="Arguments.arguments">
2320                 <elementProp name="filter" elementType="HTTPArgument">
2321                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
2322                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;RequestID&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;Action&quot;, &quot;value&quot;:&quot;ModifyConfig&quot; }]}</stringProp>
2323                   <stringProp name="Argument.metadata">=</stringProp>
2324                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
2325                   <stringProp name="Argument.name">filter</stringProp>
2326                 </elementProp>
2327               </collectionProp>
2328             </elementProp>
2329             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
2330             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
2331             <stringProp name="HTTPSampler.protocol">https</stringProp>
2332             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2333             <stringProp name="HTTPSampler.path">events/APPC-CL/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
2334             <stringProp name="HTTPSampler.method">GET</stringProp>
2335             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2336             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2337             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2338             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2339             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2340             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2341             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2342           </HTTPSamplerProxy>
2343           <hashTree>
2344             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
2345               <collectionProp name="Asserion.test_strings">
2346                 <stringProp name="2914">[]</stringProp>
2347               </collectionProp>
2348               <stringProp name="Assertion.custom_message"></stringProp>
2349               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2350               <boolProp name="Assertion.assume_success">false</boolProp>
2351               <intProp name="Assertion.test_type">12</intProp>
2352             </ResponseAssertion>
2353             <hashTree/>
2354             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="RequestID extractor" enabled="true">
2355               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2356               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
2357               <stringProp name="RegexExtractor.regex">\\&quot;RequestID\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
2358               <stringProp name="RegexExtractor.template">$1$</stringProp>
2359               <stringProp name="RegexExtractor.default">none</stringProp>
2360               <stringProp name="RegexExtractor.match_number"></stringProp>
2361             </RegexExtractor>
2362             <hashTree/>
2363             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="SubRequestID extractor" enabled="true">
2364               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2365               <stringProp name="RegexExtractor.refname">subRequestId</stringProp>
2366               <stringProp name="RegexExtractor.regex">SubRequestID\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
2367               <stringProp name="RegexExtractor.template">$1$</stringProp>
2368               <stringProp name="RegexExtractor.default">none</stringProp>
2369               <stringProp name="RegexExtractor.match_number"></stringProp>
2370             </RegexExtractor>
2371             <hashTree/>
2372             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2373               <stringProp name="scriptLanguage">groovy</stringProp>
2374               <stringProp name="parameters"></stringProp>
2375               <stringProp name="filename"></stringProp>
2376               <stringProp name="cacheKey">true</stringProp>
2377               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
2378 String requestId =  vars.get(&quot;requestId&quot;);
2379 String subRequestId =  vars.get(&quot;subRequestId&quot;);
2380 String counter =  vars.get(&quot;counter&quot;);
2381
2382 String transaction = &quot;none&quot;;
2383
2384 log.info (&quot;The requestId id is &quot; + requestId);
2385 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
2386 log.info (&quot;The subrequest id is &quot; + subRequestId);
2387 log.info (&quot;The counter is &quot; + counter);       
2388
2389 if (    requestId == requestIdOnset ) {
2390         if (    subRequestId == &quot;none&quot; ) {
2391                 transaction = &quot;FINAL&quot;;
2392                 log.info (&quot;APPC ModifyConfig does not contain enough information&quot;);
2393                 AssertionResult.setFailureMessage(&quot;Missing subRequestId&quot;);
2394                 AssertionResult.setFailure(true);
2395         } else {
2396                 transaction = &quot;FINAL&quot;;
2397                 vars.put(&quot;transaction&quot;, &quot;FINAL&quot;);
2398                 log.info (&quot;Final Success Transaction&quot;);
2399         }
2400 }
2401
2402 int counterTemp = Integer.parseInt(counter) +1;
2403 if (transaction == &quot;FINAL&quot;) {
2404         counterTemp = 99;
2405 } else if (counterTemp &gt;= 10) {
2406         AssertionResult.setFailureMessage(&quot;vFW Success APPCCL Failure, reached maximum number of 10 attempts &quot;);
2407         AssertionResult.setFailure(true);               
2408 }
2409
2410 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));
2411
2412 </stringProp>
2413             </JSR223Assertion>
2414             <hashTree/>
2415           </hashTree>
2416         </hashTree>
2417         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="APPC[APPC-CL]: SUCCESS" enabled="true">
2418           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
2419           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
2420             <collectionProp name="Arguments.arguments">
2421               <elementProp name="" elementType="HTTPArgument">
2422                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
2423                 <stringProp name="Argument.value">{&#xd;
2424   &quot;CommonHeader&quot;: {&#xd;
2425     &quot;TimeStamp&quot;: 1506051879001,&#xd;
2426     &quot;APIver&quot;: &quot;1.01&quot;,&#xd;
2427     &quot;RequestID&quot;: &quot;${requestId}&quot;,&#xd;
2428     &quot;SubRequestID&quot;: &quot;${subRequestId}&quot;,&#xd;
2429     &quot;RequestTrack&quot;: [],&#xd;
2430     &quot;Flags&quot;: []&#xd;
2431   },&#xd;
2432   &quot;Status&quot;: {&#xd;
2433     &quot;Code&quot;: 400,&#xd;
2434     &quot;Value&quot;: &quot;SUCCESS&quot;&#xd;
2435   },&#xd;
2436   &quot;Payload&quot;: {&#xd;
2437     &quot;generic-vnf.vnf-id&quot;: &quot;f17face5-69cb-4c88-9e0b-7426db7edddd&quot;&#xd;
2438   }&#xd;
2439 }</stringProp>
2440                 <stringProp name="Argument.metadata">=</stringProp>
2441               </elementProp>
2442             </collectionProp>
2443           </elementProp>
2444           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
2445           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
2446           <stringProp name="HTTPSampler.protocol">https</stringProp>
2447           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2448           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/APPC-CL/events</stringProp>
2449           <stringProp name="HTTPSampler.method">PUT</stringProp>
2450           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2451           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2452           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2453           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2454           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2455           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2456           <stringProp name="HTTPSampler.response_timeout"></stringProp>
2457         </HTTPSamplerProxy>
2458         <hashTree>
2459           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
2460             <collectionProp name="HeaderManager.headers">
2461               <elementProp name="" elementType="Header">
2462                 <stringProp name="Header.name">Content-Type</stringProp>
2463                 <stringProp name="Header.value">text/plain</stringProp>
2464               </elementProp>
2465             </collectionProp>
2466           </HeaderManager>
2467           <hashTree/>
2468         </hashTree>
2469         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
2470           <stringProp name="scriptLanguage">groovy</stringProp>
2471           <stringProp name="parameters"></stringProp>
2472           <stringProp name="filename"></stringProp>
2473           <stringProp name="cacheKey">true</stringProp>
2474           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
2475         </JSR223Sampler>
2476         <hashTree/>
2477         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
2478           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 60)}</stringProp>
2479         </WhileController>
2480         <hashTree>
2481           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_SUCCESS" enabled="true">
2482             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2483               <collectionProp name="Arguments.arguments">
2484                 <elementProp name="filter" elementType="HTTPArgument">
2485                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
2486                   <stringProp name="Argument.value">{&quot;class&quot;:&quot;And&quot;, &quot;filters&quot;: [ { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;requestId&quot;, &quot;value&quot;:&quot;${requestId}&quot; }, { &quot;class&quot;:&quot;Equals&quot;, &quot;field&quot;:&quot;notification&quot;, &quot;value&quot;:&quot;FINAL: SUCCESS&quot; }]}</stringProp>
2487                   <stringProp name="Argument.metadata">=</stringProp>
2488                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
2489                   <stringProp name="Argument.name">filter</stringProp>
2490                 </elementProp>
2491               </collectionProp>
2492             </elementProp>
2493             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
2494             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
2495             <stringProp name="HTTPSampler.protocol">https</stringProp>
2496             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2497             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
2498             <stringProp name="HTTPSampler.method">GET</stringProp>
2499             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2500             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2501             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2502             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2503             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2504             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2505             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2506           </HTTPSamplerProxy>
2507           <hashTree>
2508             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
2509               <collectionProp name="Asserion.test_strings">
2510                 <stringProp name="2914">[]</stringProp>
2511               </collectionProp>
2512               <stringProp name="Assertion.custom_message"></stringProp>
2513               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2514               <boolProp name="Assertion.assume_success">false</boolProp>
2515               <intProp name="Assertion.test_type">12</intProp>
2516             </ResponseAssertion>
2517             <hashTree/>
2518             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
2519               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2520               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
2521               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
2522               <stringProp name="RegexExtractor.template">$1$</stringProp>
2523               <stringProp name="RegexExtractor.default">none</stringProp>
2524               <stringProp name="RegexExtractor.match_number"></stringProp>
2525             </RegexExtractor>
2526             <hashTree/>
2527             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
2528               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2529               <stringProp name="RegexExtractor.refname">notification</stringProp>
2530               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
2531               <stringProp name="RegexExtractor.template">$1$</stringProp>
2532               <stringProp name="RegexExtractor.default">none</stringProp>
2533               <stringProp name="RegexExtractor.match_number"></stringProp>
2534             </RegexExtractor>
2535             <hashTree/>
2536             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2537               <stringProp name="scriptLanguage">groovy</stringProp>
2538               <stringProp name="parameters"></stringProp>
2539               <stringProp name="filename"></stringProp>
2540               <stringProp name="cacheKey">true</stringProp>
2541               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
2542 String requestId =  vars.get(&quot;requestId&quot;);
2543 String notification =  vars.get(&quot;notification&quot;);
2544 String counter =  vars.get(&quot;counter&quot;);
2545
2546 String transaction = &quot;none&quot;;
2547
2548 log.info (&quot;The requestId id is &quot; + requestId);
2549 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
2550 log.info (&quot;The notification is &quot; + notification);
2551 log.info (&quot;The transaction is &quot; + transaction);
2552 log.info (&quot;The counter is &quot; + counter);
2553
2554 if (    requestId == requestIdOnset ) {
2555         if ( notification == &quot;SUCCESS&quot; ) {
2556                 transaction = &quot;FINAL&quot;;
2557                 log.info (&quot;Final Success Transaction&quot;);
2558                 log.info (&quot;The notification is SUCCESS&quot;);
2559         } else if ( notification == &quot;FAILURE&quot; ) {
2560                 transaction = &quot;FINAL&quot;;
2561                 log.info (&quot;Final Failure Transaction&quot;);
2562                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
2563                 AssertionResult.setFailure(true);
2564         } 
2565 }
2566
2567 int counterTemp = Integer.parseInt(counter) +1;
2568 if (transaction == &quot;FINAL&quot;) {
2569         counterTemp = 99;
2570 } else if (counterTemp &gt;= 60) {
2571         AssertionResult.setFailureMessage(&quot;vFW Success POLICYCL Failure, reached maximum number of attempts &quot;);
2572         AssertionResult.setFailure(true);               
2573 }
2574
2575 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));</stringProp>
2576             </JSR223Assertion>
2577             <hashTree/>
2578           </hashTree>
2579         </hashTree>
2580       </hashTree>
2581       <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="Tear down" enabled="true">
2582         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
2583         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
2584           <boolProp name="LoopController.continue_forever">false</boolProp>
2585           <stringProp name="LoopController.loops">1</stringProp>
2586         </elementProp>
2587         <stringProp name="ThreadGroup.num_threads">1</stringProp>
2588         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
2589         <boolProp name="ThreadGroup.scheduler">false</boolProp>
2590         <stringProp name="ThreadGroup.duration"></stringProp>
2591         <stringProp name="ThreadGroup.delay"></stringProp>
2592         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
2593       </PostThreadGroup>
2594       <hashTree>
2595         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="PAP" enabled="true"/>
2596         <hashTree>
2597           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy vCPE Policy" enabled="true">
2598             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2599               <collectionProp name="Arguments.arguments"/>
2600             </elementProp>
2601             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2602             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2603             <stringProp name="HTTPSampler.protocol">https</stringProp>
2604             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2605             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.restart/versions/1.0.0</stringProp>
2606             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2607             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2608             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2609             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2610             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2611             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2612             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2613             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2614           </HTTPSamplerProxy>
2615           <hashTree>
2616             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2617               <collectionProp name="Asserion.test_strings">
2618                 <stringProp name="49588">202</stringProp>
2619               </collectionProp>
2620               <stringProp name="Assertion.custom_message"></stringProp>
2621               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2622               <boolProp name="Assertion.assume_success">false</boolProp>
2623               <intProp name="Assertion.test_type">16</intProp>
2624             </ResponseAssertion>
2625             <hashTree/>
2626           </hashTree>
2627           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy vCPE Fail Policy" enabled="true">
2628             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2629               <collectionProp name="Arguments.arguments"/>
2630             </elementProp>
2631             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2632             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2633             <stringProp name="HTTPSampler.protocol">https</stringProp>
2634             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2635             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.restart.fail/versions/1.0.0</stringProp>
2636             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2637             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2638             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2639             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2640             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2641             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2642             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2643             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2644           </HTTPSamplerProxy>
2645           <hashTree>
2646             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2647               <collectionProp name="Asserion.test_strings">
2648                 <stringProp name="49588">202</stringProp>
2649               </collectionProp>
2650               <stringProp name="Assertion.custom_message"></stringProp>
2651               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2652               <boolProp name="Assertion.assume_success">false</boolProp>
2653               <intProp name="Assertion.test_type">16</intProp>
2654             </ResponseAssertion>
2655             <hashTree/>
2656           </hashTree>
2657           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy vFirewall Policy" enabled="true">
2658             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2659               <collectionProp name="Arguments.arguments"/>
2660             </elementProp>
2661             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2662             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2663             <stringProp name="HTTPSampler.protocol">https</stringProp>
2664             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2665             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.modifyconfig/versions/1.0.0</stringProp>
2666             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2667             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2668             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2669             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2670             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2671             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2672             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2673             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2674           </HTTPSamplerProxy>
2675           <hashTree>
2676             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2677               <collectionProp name="Asserion.test_strings">
2678                 <stringProp name="49588">202</stringProp>
2679               </collectionProp>
2680               <stringProp name="Assertion.custom_message"></stringProp>
2681               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2682               <boolProp name="Assertion.assume_success">false</boolProp>
2683               <intProp name="Assertion.test_type">16</intProp>
2684             </ResponseAssertion>
2685             <hashTree/>
2686           </hashTree>
2687           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy vDNS Policy" enabled="true">
2688             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2689               <collectionProp name="Arguments.arguments"/>
2690             </elementProp>
2691             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2692             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2693             <stringProp name="HTTPSampler.protocol">https</stringProp>
2694             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2695             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.scaleout/versions/1.0.0</stringProp>
2696             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2697             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2698             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2699             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2700             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2701             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2702             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2703             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2704           </HTTPSamplerProxy>
2705           <hashTree>
2706             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2707               <collectionProp name="Asserion.test_strings">
2708                 <stringProp name="49588">202</stringProp>
2709               </collectionProp>
2710               <stringProp name="Assertion.custom_message"></stringProp>
2711               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2712               <boolProp name="Assertion.assume_success">false</boolProp>
2713               <intProp name="Assertion.test_type">16</intProp>
2714             </ResponseAssertion>
2715             <hashTree/>
2716           </hashTree>
2717           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy vDNS Fail Policy" enabled="true">
2718             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2719               <collectionProp name="Arguments.arguments"/>
2720             </elementProp>
2721             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2722             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2723             <stringProp name="HTTPSampler.protocol">https</stringProp>
2724             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2725             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.scaleout.fail/versions/1.0.0</stringProp>
2726             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2727             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2728             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2729             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2730             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2731             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2732             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2733             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2734           </HTTPSamplerProxy>
2735           <hashTree>
2736             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2737               <collectionProp name="Asserion.test_strings">
2738                 <stringProp name="49588">202</stringProp>
2739               </collectionProp>
2740               <stringProp name="Assertion.custom_message"></stringProp>
2741               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2742               <boolProp name="Assertion.assume_success">false</boolProp>
2743               <intProp name="Assertion.test_type">16</intProp>
2744             </ResponseAssertion>
2745             <hashTree/>
2746           </hashTree>
2747         </hashTree>
2748         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="API" enabled="true"/>
2749         <hashTree>
2750           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete vCPE Policy" enabled="true">
2751             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2752               <collectionProp name="Arguments.arguments"/>
2753             </elementProp>
2754             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2755             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2756             <stringProp name="HTTPSampler.protocol">https</stringProp>
2757             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2758             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.restart/versions/1.0.0</stringProp>
2759             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2760             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2761             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2762             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2763             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2764             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2765             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2766             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2767           </HTTPSamplerProxy>
2768           <hashTree>
2769             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2770               <collectionProp name="Asserion.test_strings">
2771                 <stringProp name="49586">200</stringProp>
2772               </collectionProp>
2773               <stringProp name="Assertion.custom_message"></stringProp>
2774               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2775               <boolProp name="Assertion.assume_success">false</boolProp>
2776               <intProp name="Assertion.test_type">16</intProp>
2777             </ResponseAssertion>
2778             <hashTree/>
2779           </hashTree>
2780           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete vCPE Fail Policy" enabled="true">
2781             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2782               <collectionProp name="Arguments.arguments"/>
2783             </elementProp>
2784             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2785             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2786             <stringProp name="HTTPSampler.protocol">https</stringProp>
2787             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2788             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.restart.fail/versions/1.0.0</stringProp>
2789             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2790             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2791             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2792             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2793             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2794             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2795             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2796             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2797           </HTTPSamplerProxy>
2798           <hashTree>
2799             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2800               <collectionProp name="Asserion.test_strings">
2801                 <stringProp name="49586">200</stringProp>
2802               </collectionProp>
2803               <stringProp name="Assertion.custom_message"></stringProp>
2804               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2805               <boolProp name="Assertion.assume_success">false</boolProp>
2806               <intProp name="Assertion.test_type">16</intProp>
2807             </ResponseAssertion>
2808             <hashTree/>
2809           </hashTree>
2810           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete vFirewall Policy" enabled="true">
2811             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2812               <collectionProp name="Arguments.arguments"/>
2813             </elementProp>
2814             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2815             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2816             <stringProp name="HTTPSampler.protocol">https</stringProp>
2817             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2818             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.modifyconfig/versions/1.0.0</stringProp>
2819             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2820             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2821             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2822             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2823             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2824             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2825             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2826             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2827           </HTTPSamplerProxy>
2828           <hashTree>
2829             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2830               <collectionProp name="Asserion.test_strings">
2831                 <stringProp name="49586">200</stringProp>
2832               </collectionProp>
2833               <stringProp name="Assertion.custom_message"></stringProp>
2834               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2835               <boolProp name="Assertion.assume_success">false</boolProp>
2836               <intProp name="Assertion.test_type">16</intProp>
2837             </ResponseAssertion>
2838             <hashTree/>
2839           </hashTree>
2840           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete vDNS Policy" enabled="true">
2841             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2842               <collectionProp name="Arguments.arguments"/>
2843             </elementProp>
2844             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2845             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2846             <stringProp name="HTTPSampler.protocol">https</stringProp>
2847             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2848             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.scaleout/versions/1.0.0</stringProp>
2849             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2850             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2851             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2852             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2853             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2854             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2855             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2856             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2857           </HTTPSamplerProxy>
2858           <hashTree>
2859             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2860               <collectionProp name="Asserion.test_strings">
2861                 <stringProp name="49586">200</stringProp>
2862               </collectionProp>
2863               <stringProp name="Assertion.custom_message"></stringProp>
2864               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2865               <boolProp name="Assertion.assume_success">false</boolProp>
2866               <intProp name="Assertion.test_type">16</intProp>
2867             </ResponseAssertion>
2868             <hashTree/>
2869           </hashTree>
2870           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete vDNS Fail Policy" enabled="true">
2871             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2872               <collectionProp name="Arguments.arguments"/>
2873             </elementProp>
2874             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2875             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2876             <stringProp name="HTTPSampler.protocol">https</stringProp>
2877             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2878             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.scaleout.fail/versions/1.0.0</stringProp>
2879             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2880             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2881             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2882             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2883             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2884             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2885             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2886             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2887           </HTTPSamplerProxy>
2888           <hashTree>
2889             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2890               <collectionProp name="Asserion.test_strings">
2891                 <stringProp name="49586">200</stringProp>
2892               </collectionProp>
2893               <stringProp name="Assertion.custom_message"></stringProp>
2894               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2895               <boolProp name="Assertion.assume_success">false</boolProp>
2896               <intProp name="Assertion.test_type">16</intProp>
2897             </ResponseAssertion>
2898             <hashTree/>
2899           </hashTree>
2900         </hashTree>
2901       </hashTree>
2902     </hashTree>
2903   </hashTree>
2904 </jmeterTestPlan>