Update s3p jmeter jmx
[policy/drools-applications.git] / testsuites / stability / src / main / resources / s3p.jmx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.3">
3   <hashTree>
4     <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="PDP-D Stability" enabled="true">
5       <stringProp name="TestPlan.comments"></stringProp>
6       <boolProp name="TestPlan.functional_mode">false</boolProp>
7       <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
8       <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
9       <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
10         <collectionProp name="Arguments.arguments">
11           <elementProp name="API_HOST" elementType="Argument">
12             <stringProp name="Argument.name">API_HOST</stringProp>
13             <stringProp name="Argument.value">10.0.9.49</stringProp>
14             <stringProp name="Argument.metadata">=</stringProp>
15           </elementProp>
16           <elementProp name="API_PORT" elementType="Argument">
17             <stringProp name="Argument.name">API_PORT</stringProp>
18             <stringProp name="Argument.value">30852</stringProp>
19             <stringProp name="Argument.metadata">=</stringProp>
20           </elementProp>
21           <elementProp name="PAP_HOST" elementType="Argument">
22             <stringProp name="Argument.name">PAP_HOST</stringProp>
23             <stringProp name="Argument.value">10.0.9.49</stringProp>
24             <stringProp name="Argument.metadata">=</stringProp>
25           </elementProp>
26           <elementProp name="PAP_PORT" elementType="Argument">
27             <stringProp name="Argument.name">PAP_PORT</stringProp>
28             <stringProp name="Argument.value">30504</stringProp>
29             <stringProp name="Argument.metadata">=</stringProp>
30           </elementProp>
31           <elementProp name="DMAAP_HOST" elementType="Argument">
32             <stringProp name="Argument.name">DMAAP_HOST</stringProp>
33             <stringProp name="Argument.value">10.0.9.49</stringProp>
34             <stringProp name="Argument.metadata">=</stringProp>
35           </elementProp>
36           <elementProp name="DMAAP_PORT" elementType="Argument">
37             <stringProp name="Argument.name">DMAAP_PORT</stringProp>
38             <stringProp name="Argument.value">30226</stringProp>
39             <stringProp name="Argument.metadata">=</stringProp>
40           </elementProp>
41           <elementProp name="DROOLS_HOST" elementType="Argument">
42             <stringProp name="Argument.name">DROOLS_HOST</stringProp>
43             <stringProp name="Argument.value">10.0.9.49</stringProp>
44             <stringProp name="Argument.metadata">=</stringProp>
45           </elementProp>
46           <elementProp name="DROOLS_PORT" elementType="Argument">
47             <stringProp name="Argument.name">DROOLS_PORT</stringProp>
48             <stringProp name="Argument.value">31295</stringProp>
49             <stringProp name="Argument.metadata">=</stringProp>
50           </elementProp>
51           <elementProp name="duration" elementType="Argument">
52             <stringProp name="Argument.name">duration</stringProp>
53             <stringProp name="Argument.value">259200</stringProp>
54             <stringProp name="Argument.metadata">=</stringProp>
55           </elementProp>
56           <elementProp name="HTTP" elementType="Argument">
57             <stringProp name="Argument.name">HTTP</stringProp>
58             <stringProp name="Argument.value">https</stringProp>
59             <stringProp name="Argument.metadata">=</stringProp>
60           </elementProp>
61         </collectionProp>
62       </elementProp>
63       <stringProp name="TestPlan.user_define_classpath"></stringProp>
64     </TestPlan>
65     <hashTree>
66       <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
67         <collectionProp name="HeaderManager.headers">
68           <elementProp name="" elementType="Header">
69             <stringProp name="Header.name">Accept</stringProp>
70             <stringProp name="Header.value">application/json</stringProp>
71           </elementProp>
72           <elementProp name="" elementType="Header">
73             <stringProp name="Header.name">Content-Type</stringProp>
74             <stringProp name="Header.value">application/json</stringProp>
75           </elementProp>
76         </collectionProp>
77       </HeaderManager>
78       <hashTree/>
79       <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
80         <collectionProp name="AuthManager.auth_list">
81           <elementProp name="" elementType="Authorization">
82             <stringProp name="Authorization.url">${HTTP}://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
83             <stringProp name="Authorization.username">policyadmin</stringProp>
84             <stringProp name="Authorization.password">zb!XztG34</stringProp>
85             <stringProp name="Authorization.domain"></stringProp>
86             <stringProp name="Authorization.realm"></stringProp>
87           </elementProp>
88           <elementProp name="" elementType="Authorization">
89             <stringProp name="Authorization.url">${HTTP}://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
90             <stringProp name="Authorization.username">policyadmin</stringProp>
91             <stringProp name="Authorization.password">zb!XztG34</stringProp>
92             <stringProp name="Authorization.domain"></stringProp>
93             <stringProp name="Authorization.realm"></stringProp>
94           </elementProp>
95           <elementProp name="" elementType="Authorization">
96             <stringProp name="Authorization.url">${HTTP}://${DROOLS_HOST}:${DROOLS_PORT}/policy/pdp/engine</stringProp>
97             <stringProp name="Authorization.username">demo@people.osaaf.org</stringProp>
98             <stringProp name="Authorization.password">demo123456!</stringProp>
99             <stringProp name="Authorization.domain"></stringProp>
100             <stringProp name="Authorization.realm"></stringProp>
101           </elementProp>
102         </collectionProp>
103         <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
104       </AuthManager>
105       <hashTree/>
106       <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true">
107         <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
108           <collectionProp name="Arguments.arguments"/>
109         </elementProp>
110         <stringProp name="HTTPSampler.domain"></stringProp>
111         <stringProp name="HTTPSampler.port">9696</stringProp>
112         <stringProp name="HTTPSampler.protocol">http</stringProp>
113         <stringProp name="HTTPSampler.contentEncoding"></stringProp>
114         <stringProp name="HTTPSampler.path"></stringProp>
115         <stringProp name="HTTPSampler.concurrentPool">6</stringProp>
116         <stringProp name="HTTPSampler.connect_timeout"></stringProp>
117         <stringProp name="HTTPSampler.response_timeout"></stringProp>
118       </ConfigTestElement>
119       <hashTree/>
120       <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="Set up" enabled="true">
121         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
122         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
123           <boolProp name="LoopController.continue_forever">false</boolProp>
124           <stringProp name="LoopController.loops">1</stringProp>
125         </elementProp>
126         <stringProp name="ThreadGroup.num_threads">1</stringProp>
127         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
128         <boolProp name="ThreadGroup.scheduler">false</boolProp>
129         <stringProp name="ThreadGroup.duration"></stringProp>
130         <stringProp name="ThreadGroup.delay"></stringProp>
131         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
132       </SetupThreadGroup>
133       <hashTree>
134         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="API" enabled="true"/>
135         <hashTree>
136           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="API Healthcheck" enabled="true">
137             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
138               <collectionProp name="Arguments.arguments"/>
139             </elementProp>
140             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
141             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
142             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
143             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
144             <stringProp name="HTTPSampler.path">/policy/api/v1/healthcheck</stringProp>
145             <stringProp name="HTTPSampler.method">GET</stringProp>
146             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
147             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
148             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
149             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
150             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
151             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
152             <stringProp name="HTTPSampler.response_timeout"></stringProp>
153           </HTTPSamplerProxy>
154           <hashTree>
155             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
156               <collectionProp name="Asserion.test_strings">
157                 <stringProp name="49586">200</stringProp>
158               </collectionProp>
159               <stringProp name="Assertion.custom_message"></stringProp>
160               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
161               <boolProp name="Assertion.assume_success">false</boolProp>
162               <intProp name="Assertion.test_type">8</intProp>
163             </ResponseAssertion>
164             <hashTree/>
165             <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
166               <stringProp name="JSON_PATH">$.healthy</stringProp>
167               <stringProp name="EXPECTED_VALUE">true</stringProp>
168               <boolProp name="JSONVALIDATION">true</boolProp>
169               <boolProp name="EXPECT_NULL">false</boolProp>
170               <boolProp name="INVERT">false</boolProp>
171               <boolProp name="ISREGEX">false</boolProp>
172             </JSONPathAssertion>
173             <hashTree/>
174           </hashTree>
175           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create vCPE Policy" enabled="true">
176             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
177             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
178               <collectionProp name="Arguments.arguments">
179                 <elementProp name="" elementType="HTTPArgument">
180                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
181                   <stringProp name="Argument.value">{&#xd;
182   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
183   &quot;topology_template&quot;: {&#xd;
184     &quot;policies&quot;: [&#xd;
185       {&#xd;
186         &quot;operational.restart&quot;: {&#xd;
187           &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
188           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
189           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
190           &quot;metadata&quot;: {&#xd;
191             &quot;policy-id&quot;: &quot;operational.restart&quot;&#xd;
192           },&#xd;
193           &quot;properties&quot;: {&#xd;
194             &quot;id&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
195             &quot;timeout&quot;: 60,&#xd;
196             &quot;abatement&quot;: false,&#xd;
197             &quot;trigger&quot;: &quot;unique-policy-id-1-restart&quot;,&#xd;
198             &quot;operations&quot;: [&#xd;
199               {&#xd;
200                 &quot;id&quot;: &quot;unique-policy-id-1-restart&quot;,&#xd;
201                 &quot;description&quot;: &quot;Restart the VM&quot;,&#xd;
202                 &quot;operation&quot;: {&#xd;
203                   &quot;actor&quot;: &quot;APPC&quot;,&#xd;
204                   &quot;operation&quot;: &quot;Restart&quot;,&#xd;
205                   &quot;target&quot;: {&#xd;
206                     &quot;targetType&quot;: &quot;VNF&quot;&#xd;
207                   }&#xd;
208                 },&#xd;
209                 &quot;timeout&quot;: 20,&#xd;
210                 &quot;retries&quot;: 0,&#xd;
211                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
212                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
213                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
214                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
215                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
216                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
217               }&#xd;
218             ],&#xd;
219             &quot;controllerName&quot;: &quot;usecases&quot;&#xd;
220           }&#xd;
221         }&#xd;
222       }&#xd;
223     ]&#xd;
224   }&#xd;
225 }</stringProp>
226                   <stringProp name="Argument.metadata">=</stringProp>
227                 </elementProp>
228               </collectionProp>
229             </elementProp>
230             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
231             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
232             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
233             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
234             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
235             <stringProp name="HTTPSampler.method">POST</stringProp>
236             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
237             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
238             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
239             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
240             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
241             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
242             <stringProp name="HTTPSampler.response_timeout"></stringProp>
243           </HTTPSamplerProxy>
244           <hashTree>
245             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
246               <collectionProp name="Asserion.test_strings">
247                 <stringProp name="49586">200</stringProp>
248               </collectionProp>
249               <stringProp name="Assertion.custom_message"></stringProp>
250               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
251               <boolProp name="Assertion.assume_success">false</boolProp>
252               <intProp name="Assertion.test_type">8</intProp>
253             </ResponseAssertion>
254             <hashTree/>
255           </hashTree>
256           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create 5G SON O1 Policy" enabled="true">
257             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
258             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
259               <collectionProp name="Arguments.arguments">
260                 <elementProp name="" elementType="HTTPArgument">
261                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
262                   <stringProp name="Argument.value">{&#xd;
263   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
264   &quot;topology_template&quot;: {&#xd;
265     &quot;policies&quot;: [&#xd;
266       {&#xd;
267         &quot;op.5g.son.o1&quot;: {&#xd;
268           &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
269           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
270           &quot;name&quot;: &quot;op.5g.son.o1&quot;,&#xd;
271           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
272           &quot;metadata&quot;: {&#xd;
273             &quot;policy-id&quot;: &quot;op.5g.son.o1&quot;&#xd;
274           },&#xd;
275           &quot;properties&quot;: {&#xd;
276             &quot;id&quot;: &quot;ControlLoop-SONO1-fb41f388-a5f2-11e8-98d0-529269fb1459&quot;,&#xd;
277             &quot;timeout&quot;: 1200,&#xd;
278             &quot;abatement&quot;: false,&#xd;
279             &quot;trigger&quot;: &quot;modify-o1-config&quot;,&#xd;
280             &quot;operations&quot;: [&#xd;
281               {&#xd;
282                 &quot;id&quot;: &quot;modify-o1-config&quot;,&#xd;
283                 &quot;description&quot;: &quot;Control Loop Modify O1 Configuration&quot;,&#xd;
284                 &quot;operation&quot;: {&#xd;
285                   &quot;actor&quot;: &quot;SDNR&quot;,&#xd;
286                   &quot;operation&quot;: &quot;ModifyO1Config&quot;,&#xd;
287                   &quot;target&quot;: {&#xd;
288                     &quot;targetType&quot;: &quot;PNF&quot;&#xd;
289                   }&#xd;
290                 },&#xd;
291                 &quot;timeout&quot;: 60,&#xd;
292                 &quot;retries&quot;: 0,&#xd;
293                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
294                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
295                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
296                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
297                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
298                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
299               }&#xd;
300             ]&#xd;
301           }&#xd;
302         }&#xd;
303       }&#xd;
304     ]&#xd;
305   }&#xd;
306 }</stringProp>
307                   <stringProp name="Argument.metadata">=</stringProp>
308                 </elementProp>
309               </collectionProp>
310             </elementProp>
311             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
312             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
313             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
314             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
315             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
316             <stringProp name="HTTPSampler.method">POST</stringProp>
317             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
318             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
319             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
320             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
321             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
322             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
323             <stringProp name="HTTPSampler.response_timeout"></stringProp>
324           </HTTPSamplerProxy>
325           <hashTree>
326             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
327               <collectionProp name="Asserion.test_strings">
328                 <stringProp name="49586">200</stringProp>
329               </collectionProp>
330               <stringProp name="Assertion.custom_message"></stringProp>
331               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
332               <boolProp name="Assertion.assume_success">false</boolProp>
333               <intProp name="Assertion.test_type">8</intProp>
334             </ResponseAssertion>
335             <hashTree/>
336           </hashTree>
337           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create 5G SON A1 Policy" enabled="true">
338             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
339             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
340               <collectionProp name="Arguments.arguments">
341                 <elementProp name="" elementType="HTTPArgument">
342                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
343                   <stringProp name="Argument.value">{&#xd;
344   &quot;tosca_definitions_version&quot;: &quot;tosca_simple_yaml_1_1_0&quot;,&#xd;
345   &quot;topology_template&quot;: {&#xd;
346     &quot;policies&quot;: [&#xd;
347       {&#xd;
348         &quot;op.5g.son.a1&quot;: {&#xd;
349           &quot;type&quot;: &quot;onap.policies.controlloop.operational.common.Drools&quot;,&#xd;
350           &quot;type_version&quot;: &quot;1.0.0&quot;,&#xd;
351           &quot;name&quot;: &quot;op.5g.son.a1&quot;,&#xd;
352           &quot;version&quot;: &quot;1.0.0&quot;,&#xd;
353           &quot;metadata&quot;: {&#xd;
354             &quot;policy-id&quot;: &quot;op.5g.son.a1&quot;&#xd;
355           },&#xd;
356           &quot;properties&quot;: {&#xd;
357             &quot;id&quot;: &quot;ControlLoop-SONA1-7d4baf04-8875-4d1f-946d-06b874048b61&quot;,&#xd;
358             &quot;timeout&quot;: 1200,&#xd;
359             &quot;abatement&quot;: false,&#xd;
360             &quot;trigger&quot;: &quot;modify-a1-policy&quot;,&#xd;
361             &quot;operations&quot;: [&#xd;
362               {&#xd;
363                 &quot;id&quot;: &quot;modify-a1-policy&quot;,&#xd;
364                 &quot;description&quot;: &quot;Control Loop Modify A1 Policy&quot;,&#xd;
365                 &quot;operation&quot;: {&#xd;
366                   &quot;actor&quot;: &quot;SDNR&quot;,&#xd;
367                   &quot;operation&quot;: &quot;ModifyA1Policy&quot;,&#xd;
368                   &quot;target&quot;: {&#xd;
369                     &quot;targetType&quot;: &quot;PNF&quot;&#xd;
370                   }&#xd;
371                 },&#xd;
372                 &quot;timeout&quot;: 60,&#xd;
373                 &quot;retries&quot;: 0,&#xd;
374                 &quot;success&quot;: &quot;final_success&quot;,&#xd;
375                 &quot;failure&quot;: &quot;final_failure&quot;,&#xd;
376                 &quot;failure_timeout&quot;: &quot;final_failure_timeout&quot;,&#xd;
377                 &quot;failure_retries&quot;: &quot;final_failure_retries&quot;,&#xd;
378                 &quot;failure_exception&quot;: &quot;final_failure_exception&quot;,&#xd;
379                 &quot;failure_guard&quot;: &quot;final_failure_guard&quot;&#xd;
380               }&#xd;
381             ]&#xd;
382           }&#xd;
383         }&#xd;
384       }&#xd;
385     ]&#xd;
386   }&#xd;
387 }</stringProp>
388                   <stringProp name="Argument.metadata">=</stringProp>
389                 </elementProp>
390               </collectionProp>
391             </elementProp>
392             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
393             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
394             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
395             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
396             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies</stringProp>
397             <stringProp name="HTTPSampler.method">POST</stringProp>
398             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
399             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
400             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
401             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
402             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
403             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
404             <stringProp name="HTTPSampler.response_timeout"></stringProp>
405           </HTTPSamplerProxy>
406           <hashTree>
407             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
408               <collectionProp name="Asserion.test_strings">
409                 <stringProp name="49586">200</stringProp>
410               </collectionProp>
411               <stringProp name="Assertion.custom_message"></stringProp>
412               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
413               <boolProp name="Assertion.assume_success">false</boolProp>
414               <intProp name="Assertion.test_type">8</intProp>
415             </ResponseAssertion>
416             <hashTree/>
417           </hashTree>
418         </hashTree>
419         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="PAP" enabled="true"/>
420         <hashTree>
421           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PAP Healthcheck" enabled="true">
422             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
423               <collectionProp name="Arguments.arguments"/>
424             </elementProp>
425             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
426             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
427             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
428             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
429             <stringProp name="HTTPSampler.path">/policy/pap/v1/healthcheck</stringProp>
430             <stringProp name="HTTPSampler.method">GET</stringProp>
431             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
432             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
433             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
434             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
435             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
436             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
437             <stringProp name="HTTPSampler.response_timeout"></stringProp>
438           </HTTPSamplerProxy>
439           <hashTree>
440             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
441               <collectionProp name="Asserion.test_strings">
442                 <stringProp name="49586">200</stringProp>
443               </collectionProp>
444               <stringProp name="Assertion.custom_message"></stringProp>
445               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
446               <boolProp name="Assertion.assume_success">false</boolProp>
447               <intProp name="Assertion.test_type">8</intProp>
448             </ResponseAssertion>
449             <hashTree/>
450             <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
451               <stringProp name="JSON_PATH">$.healthy</stringProp>
452               <stringProp name="EXPECTED_VALUE">true</stringProp>
453               <boolProp name="JSONVALIDATION">true</boolProp>
454               <boolProp name="EXPECT_NULL">false</boolProp>
455               <boolProp name="INVERT">false</boolProp>
456               <boolProp name="ISREGEX">false</boolProp>
457             </JSONPathAssertion>
458             <hashTree/>
459           </hashTree>
460           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy vCPE Policy" enabled="true">
461             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
462             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
463               <collectionProp name="Arguments.arguments">
464                 <elementProp name="" elementType="HTTPArgument">
465                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
466                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;operational.restart&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
467                   <stringProp name="Argument.metadata">=</stringProp>
468                 </elementProp>
469               </collectionProp>
470             </elementProp>
471             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
472             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
473             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
474             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
475             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
476             <stringProp name="HTTPSampler.method">POST</stringProp>
477             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
478             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
479             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
480             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
481             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
482             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
483             <stringProp name="HTTPSampler.response_timeout"></stringProp>
484           </HTTPSamplerProxy>
485           <hashTree>
486             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
487               <collectionProp name="Asserion.test_strings">
488                 <stringProp name="49588">202</stringProp>
489               </collectionProp>
490               <stringProp name="Assertion.custom_message"></stringProp>
491               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
492               <boolProp name="Assertion.assume_success">false</boolProp>
493               <intProp name="Assertion.test_type">8</intProp>
494             </ResponseAssertion>
495             <hashTree/>
496           </hashTree>
497           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy 5G SON O1" enabled="true">
498             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
499             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
500               <collectionProp name="Arguments.arguments">
501                 <elementProp name="" elementType="HTTPArgument">
502                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
503                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;op.5g.son.o1&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
504                   <stringProp name="Argument.metadata">=</stringProp>
505                 </elementProp>
506               </collectionProp>
507             </elementProp>
508             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
509             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
510             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
511             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
512             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
513             <stringProp name="HTTPSampler.method">POST</stringProp>
514             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
515             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
516             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
517             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
518             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
519             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
520             <stringProp name="HTTPSampler.response_timeout"></stringProp>
521           </HTTPSamplerProxy>
522           <hashTree>
523             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
524               <collectionProp name="Asserion.test_strings">
525                 <stringProp name="49588">202</stringProp>
526               </collectionProp>
527               <stringProp name="Assertion.custom_message"></stringProp>
528               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
529               <boolProp name="Assertion.assume_success">false</boolProp>
530               <intProp name="Assertion.test_type">8</intProp>
531             </ResponseAssertion>
532             <hashTree/>
533           </hashTree>
534           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy 5G SON A1" enabled="true">
535             <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
536             <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
537               <collectionProp name="Arguments.arguments">
538                 <elementProp name="" elementType="HTTPArgument">
539                   <boolProp name="HTTPArgument.always_encode">false</boolProp>
540                   <stringProp name="Argument.value">{&quot;policies&quot;:[{&quot;policy-id&quot;:&quot;op.5g.son.a1&quot;, &quot;version&quot;: &quot;1.0.0&quot;}]}</stringProp>
541                   <stringProp name="Argument.metadata">=</stringProp>
542                 </elementProp>
543               </collectionProp>
544             </elementProp>
545             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
546             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
547             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
548             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
549             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
550             <stringProp name="HTTPSampler.method">POST</stringProp>
551             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
552             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
553             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
554             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
555             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
556             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
557             <stringProp name="HTTPSampler.response_timeout"></stringProp>
558           </HTTPSamplerProxy>
559           <hashTree>
560             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
561               <collectionProp name="Asserion.test_strings">
562                 <stringProp name="49588">202</stringProp>
563               </collectionProp>
564               <stringProp name="Assertion.custom_message"></stringProp>
565               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
566               <boolProp name="Assertion.assume_success">false</boolProp>
567               <intProp name="Assertion.test_type">8</intProp>
568             </ResponseAssertion>
569             <hashTree/>
570           </hashTree>
571         </hashTree>
572         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY-PDP-PAP " enabled="true">
573           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
574             <collectionProp name="Arguments.arguments"/>
575           </elementProp>
576           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
577           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
578           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
579           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
580           <stringProp name="HTTPSampler.path">events/POLICY-PDP-PAP/${__time()}/1?timeout=2000</stringProp>
581           <stringProp name="HTTPSampler.method">GET</stringProp>
582           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
583           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
584           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
585           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
586           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
587           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
588           <stringProp name="HTTPSampler.response_timeout"></stringProp>
589         </HTTPSamplerProxy>
590         <hashTree>
591           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
592             <collectionProp name="Asserion.test_strings">
593               <stringProp name="49586">200</stringProp>
594             </collectionProp>
595             <stringProp name="Assertion.custom_message"></stringProp>
596             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
597             <boolProp name="Assertion.assume_success">false</boolProp>
598             <intProp name="Assertion.test_type">8</intProp>
599           </ResponseAssertion>
600           <hashTree/>
601         </hashTree>
602         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain vCPE success APPC-LCM-READ" enabled="true">
603           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
604             <collectionProp name="Arguments.arguments"/>
605           </elementProp>
606           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
607           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
608           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
609           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
610           <stringProp name="HTTPSampler.path">events/APPC-LCM-READ/vcpesuccess/1?timeout=5000</stringProp>
611           <stringProp name="HTTPSampler.method">GET</stringProp>
612           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
613           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
614           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
615           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
616           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
617           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
618           <stringProp name="HTTPSampler.response_timeout"></stringProp>
619         </HTTPSamplerProxy>
620         <hashTree>
621           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
622             <collectionProp name="Asserion.test_strings">
623               <stringProp name="49586">200</stringProp>
624             </collectionProp>
625             <stringProp name="Assertion.custom_message"></stringProp>
626             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
627             <boolProp name="Assertion.assume_success">false</boolProp>
628             <intProp name="Assertion.test_type">8</intProp>
629           </ResponseAssertion>
630           <hashTree/>
631         </hashTree>
632         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain vCPE success POLICY-CL-MGT" enabled="true">
633           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
634             <collectionProp name="Arguments.arguments"/>
635           </elementProp>
636           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
637           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
638           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
639           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
640           <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/vcpesuccess/1?timeout=5000</stringProp>
641           <stringProp name="HTTPSampler.method">GET</stringProp>
642           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
643           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
644           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
645           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
646           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
647           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
648           <stringProp name="HTTPSampler.response_timeout"></stringProp>
649         </HTTPSamplerProxy>
650         <hashTree>
651           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
652             <collectionProp name="Asserion.test_strings">
653               <stringProp name="49586">200</stringProp>
654             </collectionProp>
655             <stringProp name="Assertion.custom_message"></stringProp>
656             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
657             <boolProp name="Assertion.assume_success">false</boolProp>
658             <intProp name="Assertion.test_type">8</intProp>
659           </ResponseAssertion>
660           <hashTree/>
661         </hashTree>
662         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON 01 SDNR-CL" enabled="true">
663           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
664             <collectionProp name="Arguments.arguments"/>
665           </elementProp>
666           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
667           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
668           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
669           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
670           <stringProp name="HTTPSampler.path">events/SDNR-CL/sonO1/1?timeout=5000</stringProp>
671           <stringProp name="HTTPSampler.method">GET</stringProp>
672           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
673           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
674           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
675           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
676           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
677           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
678           <stringProp name="HTTPSampler.response_timeout"></stringProp>
679         </HTTPSamplerProxy>
680         <hashTree>
681           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
682             <collectionProp name="Asserion.test_strings">
683               <stringProp name="49586">200</stringProp>
684             </collectionProp>
685             <stringProp name="Assertion.custom_message"></stringProp>
686             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
687             <boolProp name="Assertion.assume_success">false</boolProp>
688             <intProp name="Assertion.test_type">8</intProp>
689           </ResponseAssertion>
690           <hashTree/>
691         </hashTree>
692         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON 01 SDNR-CL-RSP" enabled="true">
693           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
694             <collectionProp name="Arguments.arguments"/>
695           </elementProp>
696           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
697           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
698           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
699           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
700           <stringProp name="HTTPSampler.path">events/SDNR-CL-RSP/sonO1/1?timeout=5000</stringProp>
701           <stringProp name="HTTPSampler.method">GET</stringProp>
702           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
703           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
704           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
705           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
706           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
707           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
708           <stringProp name="HTTPSampler.response_timeout"></stringProp>
709         </HTTPSamplerProxy>
710         <hashTree>
711           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
712             <collectionProp name="Asserion.test_strings">
713               <stringProp name="49586">200</stringProp>
714             </collectionProp>
715             <stringProp name="Assertion.custom_message"></stringProp>
716             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
717             <boolProp name="Assertion.assume_success">false</boolProp>
718             <intProp name="Assertion.test_type">8</intProp>
719           </ResponseAssertion>
720           <hashTree/>
721         </hashTree>
722         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON 01 DCAE_CL_RSP" enabled="true">
723           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
724             <collectionProp name="Arguments.arguments"/>
725           </elementProp>
726           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
727           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
728           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
729           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
730           <stringProp name="HTTPSampler.path">events/DCAE_CL_RSP/son01/1?timeout=5000</stringProp>
731           <stringProp name="HTTPSampler.method">GET</stringProp>
732           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
733           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
734           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
735           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
736           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
737           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
738           <stringProp name="HTTPSampler.response_timeout"></stringProp>
739         </HTTPSamplerProxy>
740         <hashTree>
741           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
742             <collectionProp name="Asserion.test_strings">
743               <stringProp name="49586">200</stringProp>
744             </collectionProp>
745             <stringProp name="Assertion.custom_message"></stringProp>
746             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
747             <boolProp name="Assertion.assume_success">false</boolProp>
748             <intProp name="Assertion.test_type">8</intProp>
749           </ResponseAssertion>
750           <hashTree/>
751         </hashTree>
752         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON A1 SDNR-CL" enabled="true">
753           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
754             <collectionProp name="Arguments.arguments"/>
755           </elementProp>
756           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
757           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
758           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
759           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
760           <stringProp name="HTTPSampler.path">events/SDNR-CL/sonA1/1?timeout=5000</stringProp>
761           <stringProp name="HTTPSampler.method">GET</stringProp>
762           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
763           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
764           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
765           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
766           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
767           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
768           <stringProp name="HTTPSampler.response_timeout"></stringProp>
769         </HTTPSamplerProxy>
770         <hashTree>
771           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
772             <collectionProp name="Asserion.test_strings">
773               <stringProp name="49586">200</stringProp>
774             </collectionProp>
775             <stringProp name="Assertion.custom_message"></stringProp>
776             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
777             <boolProp name="Assertion.assume_success">false</boolProp>
778             <intProp name="Assertion.test_type">8</intProp>
779           </ResponseAssertion>
780           <hashTree/>
781         </hashTree>
782         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON A1 SDNR-CL-RSP" enabled="true">
783           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
784             <collectionProp name="Arguments.arguments"/>
785           </elementProp>
786           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
787           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
788           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
789           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
790           <stringProp name="HTTPSampler.path">events/SDNR-CL-RSP/sonA1/1?timeout=5000</stringProp>
791           <stringProp name="HTTPSampler.method">GET</stringProp>
792           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
793           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
794           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
795           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
796           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
797           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
798           <stringProp name="HTTPSampler.response_timeout"></stringProp>
799         </HTTPSamplerProxy>
800         <hashTree>
801           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
802             <collectionProp name="Asserion.test_strings">
803               <stringProp name="49586">200</stringProp>
804             </collectionProp>
805             <stringProp name="Assertion.custom_message"></stringProp>
806             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
807             <boolProp name="Assertion.assume_success">false</boolProp>
808             <intProp name="Assertion.test_type">8</intProp>
809           </ResponseAssertion>
810           <hashTree/>
811         </hashTree>
812         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON A1 DCAE_CL_RSP" enabled="true">
813           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
814             <collectionProp name="Arguments.arguments"/>
815           </elementProp>
816           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
817           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
818           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
819           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
820           <stringProp name="HTTPSampler.path">events/DCAE_CL_RSP/sonA1/1?timeout=5000</stringProp>
821           <stringProp name="HTTPSampler.method">GET</stringProp>
822           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
823           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
824           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
825           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
826           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
827           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
828           <stringProp name="HTTPSampler.response_timeout"></stringProp>
829         </HTTPSamplerProxy>
830         <hashTree>
831           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
832             <collectionProp name="Asserion.test_strings">
833               <stringProp name="49586">200</stringProp>
834             </collectionProp>
835             <stringProp name="Assertion.custom_message"></stringProp>
836             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
837             <boolProp name="Assertion.assume_success">false</boolProp>
838             <intProp name="Assertion.test_type">8</intProp>
839           </ResponseAssertion>
840           <hashTree/>
841         </hashTree>
842         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON A1 POLICY-CL-MGT" enabled="true">
843           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
844             <collectionProp name="Arguments.arguments"/>
845           </elementProp>
846           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
847           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
848           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
849           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
850           <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/sonA1/1?timeout=5000</stringProp>
851           <stringProp name="HTTPSampler.method">GET</stringProp>
852           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
853           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
854           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
855           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
856           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
857           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
858           <stringProp name="HTTPSampler.response_timeout"></stringProp>
859         </HTTPSamplerProxy>
860         <hashTree>
861           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
862             <collectionProp name="Asserion.test_strings">
863               <stringProp name="49586">200</stringProp>
864             </collectionProp>
865             <stringProp name="Assertion.custom_message"></stringProp>
866             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
867             <boolProp name="Assertion.assume_success">false</boolProp>
868             <intProp name="Assertion.test_type">8</intProp>
869           </ResponseAssertion>
870           <hashTree/>
871         </hashTree>
872         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Drain SON A1 POLICY-CL-MGT" enabled="true">
873           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
874             <collectionProp name="Arguments.arguments"/>
875           </elementProp>
876           <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
877           <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
878           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
879           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
880           <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/sonA1/1?timeout=5000</stringProp>
881           <stringProp name="HTTPSampler.method">GET</stringProp>
882           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
883           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
884           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
885           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
886           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
887           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
888           <stringProp name="HTTPSampler.response_timeout"></stringProp>
889         </HTTPSamplerProxy>
890         <hashTree>
891           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
892             <collectionProp name="Asserion.test_strings">
893               <stringProp name="49586">200</stringProp>
894             </collectionProp>
895             <stringProp name="Assertion.custom_message"></stringProp>
896             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
897             <boolProp name="Assertion.assume_success">false</boolProp>
898             <intProp name="Assertion.test_type">8</intProp>
899           </ResponseAssertion>
900           <hashTree/>
901         </hashTree>
902         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="PDP-D" enabled="true">
903           <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
904             <collectionProp name="Arguments.arguments"/>
905           </elementProp>
906           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
907           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
908           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
909           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
910           <stringProp name="HTTPSampler.path">policy/pdp/engine/controllers/usecases/drools/facts</stringProp>
911           <stringProp name="HTTPSampler.method">GET</stringProp>
912           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
913           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
914           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
915           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
916           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
917           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
918           <stringProp name="HTTPSampler.response_timeout"></stringProp>
919         </HTTPSamplerProxy>
920         <hashTree>
921           <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
922             <collectionProp name="Asserion.test_strings">
923               <stringProp name="49586">200</stringProp>
924             </collectionProp>
925             <stringProp name="Assertion.custom_message"></stringProp>
926             <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
927             <boolProp name="Assertion.assume_success">false</boolProp>
928             <intProp name="Assertion.test_type">8</intProp>
929           </ResponseAssertion>
930           <hashTree/>
931           <JSONPathAssertion guiclass="JSONPathAssertionGui" testclass="JSONPathAssertion" testname="JSON Assertion" enabled="true">
932             <stringProp name="JSON_PATH">$.usecases</stringProp>
933             <stringProp name="EXPECTED_VALUE">7</stringProp>
934             <boolProp name="JSONVALIDATION">true</boolProp>
935             <boolProp name="EXPECT_NULL">false</boolProp>
936             <boolProp name="INVERT">false</boolProp>
937             <boolProp name="ISREGEX">false</boolProp>
938           </JSONPathAssertion>
939           <hashTree/>
940         </hashTree>
941       </hashTree>
942       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="vCPE Success" enabled="true">
943         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
944         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
945           <boolProp name="LoopController.continue_forever">false</boolProp>
946           <intProp name="LoopController.loops">-1</intProp>
947         </elementProp>
948         <stringProp name="ThreadGroup.num_threads">1</stringProp>
949         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
950         <boolProp name="ThreadGroup.scheduler">true</boolProp>
951         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
952         <stringProp name="ThreadGroup.delay">11</stringProp>
953         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
954       </ThreadGroup>
955       <hashTree>
956         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
957           <collectionProp name="UserParameters.names">
958             <stringProp name="-308835287">consumerGroup</stringProp>
959           </collectionProp>
960           <collectionProp name="UserParameters.thread_values">
961             <collectionProp name="-1571164782">
962               <stringProp name="-2075285407">vcpesuccess</stringProp>
963             </collectionProp>
964           </collectionProp>
965           <boolProp name="UserParameters.per_iteration">false</boolProp>
966           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
967         </UserParameters>
968         <hashTree/>
969         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
970           <collectionProp name="UserParameters.names">
971             <stringProp name="693933066">requestId</stringProp>
972           </collectionProp>
973           <collectionProp name="UserParameters.thread_values">
974             <collectionProp name="681405977">
975               <stringProp name="118040362">${__UUID()}</stringProp>
976             </collectionProp>
977           </collectionProp>
978           <boolProp name="UserParameters.per_iteration">true</boolProp>
979           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
980         </UserParameters>
981         <hashTree/>
982         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
983           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
984           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
985             <collectionProp name="Arguments.arguments">
986               <elementProp name="" elementType="HTTPArgument">
987                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
988                 <stringProp name="Argument.value">{&#xd;
989   &quot;closedLoopControlName&quot;: &quot;ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e&quot;,&#xd;
990   &quot;closedLoopAlarmStart&quot;: 1463679805324,&#xd;
991   &quot;closedLoopEventClient&quot;: &quot;DCAE_INSTANCE_ID.dcae-tca&quot;,&#xd;
992   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
993   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
994   &quot;target_type&quot;: &quot;VNF&quot;,&#xd;
995   &quot;target&quot;: &quot;generic-vnf.vnf-id&quot;,&#xd;
996   &quot;AAI&quot;: {&#xd;
997     &quot;vserver.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
998     &quot;vserver.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
999     &quot;generic-vnf.vnf-id&quot;: &quot;vCPE_Infrastructure_vGMUX_demo_app&quot;&#xd;
1000   },&#xd;
1001   &quot;from&quot;: &quot;DCAE&quot;,&#xd;
1002   &quot;version&quot;: &quot;1.0.2&quot;&#xd;
1003 }</stringProp>
1004                 <stringProp name="Argument.metadata">=</stringProp>
1005               </elementProp>
1006             </collectionProp>
1007           </elementProp>
1008           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1009           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1010           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1011           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1012           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
1013           <stringProp name="HTTPSampler.method">PUT</stringProp>
1014           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1015           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1016           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1017           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1018           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1019           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1020           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1021         </HTTPSamplerProxy>
1022         <hashTree>
1023           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1024             <collectionProp name="HeaderManager.headers">
1025               <elementProp name="" elementType="Header">
1026                 <stringProp name="Header.name">Content-Type</stringProp>
1027                 <stringProp name="Header.value">text/plain</stringProp>
1028               </elementProp>
1029             </collectionProp>
1030           </HeaderManager>
1031           <hashTree/>
1032         </hashTree>
1033         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1034           <stringProp name="scriptLanguage">groovy</stringProp>
1035           <stringProp name="parameters"></stringProp>
1036           <stringProp name="filename"></stringProp>
1037           <stringProp name="cacheKey">true</stringProp>
1038           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
1039         </JSR223Sampler>
1040         <hashTree/>
1041         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="APPCL Restart Loop Controller" enabled="true">
1042           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 10)}</stringProp>
1043         </WhileController>
1044         <hashTree>
1045           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[APPC-LCM-READ]: Restart" enabled="true">
1046             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1047               <collectionProp name="Arguments.arguments">
1048                 <elementProp name="filter" elementType="HTTPArgument">
1049                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1050                   <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>
1051                   <stringProp name="Argument.metadata">=</stringProp>
1052                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1053                   <stringProp name="Argument.name">filter</stringProp>
1054                 </elementProp>
1055               </collectionProp>
1056             </elementProp>
1057             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1058             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1059             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1060             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1061             <stringProp name="HTTPSampler.path">events/APPC-LCM-READ/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1062             <stringProp name="HTTPSampler.method">GET</stringProp>
1063             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1064             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1065             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1066             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1067             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1068             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1069             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1070           </HTTPSamplerProxy>
1071           <hashTree>
1072             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1073               <collectionProp name="Asserion.test_strings">
1074                 <stringProp name="2914">[]</stringProp>
1075               </collectionProp>
1076               <stringProp name="Assertion.custom_message"></stringProp>
1077               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1078               <boolProp name="Assertion.assume_success">false</boolProp>
1079               <intProp name="Assertion.test_type">12</intProp>
1080             </ResponseAssertion>
1081             <hashTree/>
1082             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="request-id extractor" enabled="true">
1083               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1084               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1085               <stringProp name="RegexExtractor.regex">\\&quot;request-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1086               <stringProp name="RegexExtractor.template">$1$</stringProp>
1087               <stringProp name="RegexExtractor.default">none</stringProp>
1088               <stringProp name="RegexExtractor.match_number"></stringProp>
1089             </RegexExtractor>
1090             <hashTree/>
1091             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="correlation-id extractor" enabled="true">
1092               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1093               <stringProp name="RegexExtractor.refname">correlationId</stringProp>
1094               <stringProp name="RegexExtractor.regex">correlation-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1095               <stringProp name="RegexExtractor.template">$1$</stringProp>
1096               <stringProp name="RegexExtractor.default">none</stringProp>
1097               <stringProp name="RegexExtractor.match_number"></stringProp>
1098             </RegexExtractor>
1099             <hashTree/>
1100             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="sub-request-id extractor" enabled="true">
1101               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1102               <stringProp name="RegexExtractor.refname">subRequestId</stringProp>
1103               <stringProp name="RegexExtractor.regex">sub-request-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1104               <stringProp name="RegexExtractor.template">$1$</stringProp>
1105               <stringProp name="RegexExtractor.default">none</stringProp>
1106               <stringProp name="RegexExtractor.match_number"></stringProp>
1107             </RegexExtractor>
1108             <hashTree/>
1109             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1110               <stringProp name="scriptLanguage">groovy</stringProp>
1111               <stringProp name="parameters"></stringProp>
1112               <stringProp name="filename"></stringProp>
1113               <stringProp name="cacheKey">true</stringProp>
1114               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1115 String requestId =  vars.get(&quot;requestId&quot;);
1116 String correlationId =  vars.get(&quot;correlationId&quot;);
1117 String subRequestId =  vars.get(&quot;subRequestId&quot;);
1118 String counter =  vars.get(&quot;counter&quot;);
1119
1120 String transaction = &quot;none&quot;;
1121
1122 log.info (&quot;The requestId id is &quot; + requestId);
1123 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1124 log.info (&quot;The correlation id is &quot; + correlationId);
1125 log.info (&quot;The subrequest id is &quot; + subRequestId);
1126 log.info (&quot;The counter is &quot; + counter);       
1127
1128 if (    requestId == requestIdOnset ) {
1129         if (    correlationId == &quot;none&quot; || subRequestId == &quot;none&quot; ) {
1130                 transaction = &quot;FINAL&quot;;
1131                 log.info (&quot;Final Failure Transaction&quot;);
1132                 AssertionResult.setFailureMessage(&quot;Missing correlationId or subRequestId&quot;);
1133                 AssertionResult.setFailure(true);
1134         } else {
1135                 transaction = &quot;FINAL&quot;;
1136                 vars.put(&quot;transaction&quot;, &quot;FINAL&quot;);
1137                 log.info (&quot;Final Success Transaction&quot;);
1138         }
1139 }
1140
1141 int counterTemp = Integer.parseInt(counter) +1;
1142 if (transaction == &quot;FINAL&quot;) {
1143         counterTemp = 99;
1144 } else if (counterTemp &gt;= 10) {
1145         AssertionResult.setFailureMessage(&quot;vCPE Success APPCL Failure, reached maximum number of 10 attempts &quot;);
1146         AssertionResult.setFailure(true);               
1147 }
1148
1149 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));
1150
1151 </stringProp>
1152             </JSR223Assertion>
1153             <hashTree/>
1154           </hashTree>
1155         </hashTree>
1156         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="APPC[APPC-LCM-READ]: SUCCESS" enabled="true">
1157           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1158           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1159             <collectionProp name="Arguments.arguments">
1160               <elementProp name="" elementType="HTTPArgument">
1161                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1162                 <stringProp name="Argument.value">{&#xd;
1163   &quot;body&quot;: {&#xd;
1164     &quot;output&quot;: {&#xd;
1165       &quot;common-header&quot;: {&#xd;
1166         &quot;timestamp&quot;: &quot;2020-05-05T15:56:34.845Z&quot;,&#xd;
1167         &quot;api-ver&quot;: &quot;2.00&quot;,&#xd;
1168         &quot;originator-id&quot;: &quot;${requestId}&quot;,&#xd;
1169         &quot;request-id&quot;: &quot;${requestId}&quot;,&#xd;
1170         &quot;sub-request-id&quot;: &quot;${subRequestId}&quot;,&#xd;
1171         &quot;flags&quot;: {}&#xd;
1172       },&#xd;
1173       &quot;status&quot;: {&#xd;
1174         &quot;code&quot;: 400,&#xd;
1175         &quot;message&quot;: &quot;Restart Successful&quot;&#xd;
1176       }&#xd;
1177     }&#xd;
1178   },&#xd;
1179   &quot;version&quot;: &quot;2.0&quot;,&#xd;
1180   &quot;rpc-name&quot;: &quot;restart&quot;,&#xd;
1181   &quot;correlation-id&quot;: &quot;${correlationId}&quot;,&#xd;
1182   &quot;type&quot;: &quot;response&quot;&#xd;
1183 }&#xd;
1184 </stringProp>
1185                 <stringProp name="Argument.metadata">=</stringProp>
1186               </elementProp>
1187             </collectionProp>
1188           </elementProp>
1189           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1190           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1191           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1192           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1193           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/APPC-LCM-WRITE/events</stringProp>
1194           <stringProp name="HTTPSampler.method">PUT</stringProp>
1195           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1196           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1197           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1198           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1199           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1200           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1201           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1202         </HTTPSamplerProxy>
1203         <hashTree>
1204           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1205             <collectionProp name="HeaderManager.headers">
1206               <elementProp name="" elementType="Header">
1207                 <stringProp name="Header.name">Content-Type</stringProp>
1208                 <stringProp name="Header.value">text/plain</stringProp>
1209               </elementProp>
1210             </collectionProp>
1211           </HeaderManager>
1212           <hashTree/>
1213         </hashTree>
1214         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1215           <stringProp name="scriptLanguage">groovy</stringProp>
1216           <stringProp name="parameters"></stringProp>
1217           <stringProp name="filename"></stringProp>
1218           <stringProp name="cacheKey">true</stringProp>
1219           <stringProp name="script">vars.put(&quot;counter&quot;, &quot;0&quot;);</stringProp>
1220         </JSR223Sampler>
1221         <hashTree/>
1222         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1223           <stringProp name="WhileController.condition">${__javaScript(${counter} &lt; 60)}</stringProp>
1224         </WhileController>
1225         <hashTree>
1226           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_SUCCESS" enabled="true">
1227             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1228               <collectionProp name="Arguments.arguments">
1229                 <elementProp name="filter" elementType="HTTPArgument">
1230                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1231                   <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>
1232                   <stringProp name="Argument.metadata">=</stringProp>
1233                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1234                   <stringProp name="Argument.name">filter</stringProp>
1235                 </elementProp>
1236               </collectionProp>
1237             </elementProp>
1238             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1239             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1240             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1241             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1242             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1243             <stringProp name="HTTPSampler.method">GET</stringProp>
1244             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1245             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1246             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1247             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1248             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1249             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1250             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1251           </HTTPSamplerProxy>
1252           <hashTree>
1253             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1254               <collectionProp name="Asserion.test_strings">
1255                 <stringProp name="2914">[]</stringProp>
1256               </collectionProp>
1257               <stringProp name="Assertion.custom_message"></stringProp>
1258               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1259               <boolProp name="Assertion.assume_success">false</boolProp>
1260               <intProp name="Assertion.test_type">12</intProp>
1261             </ResponseAssertion>
1262             <hashTree/>
1263             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
1264               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1265               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1266               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1267               <stringProp name="RegexExtractor.template">$1$</stringProp>
1268               <stringProp name="RegexExtractor.default">none</stringProp>
1269               <stringProp name="RegexExtractor.match_number"></stringProp>
1270             </RegexExtractor>
1271             <hashTree/>
1272             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
1273               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1274               <stringProp name="RegexExtractor.refname">notification</stringProp>
1275               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
1276               <stringProp name="RegexExtractor.template">$1$</stringProp>
1277               <stringProp name="RegexExtractor.default">none</stringProp>
1278               <stringProp name="RegexExtractor.match_number"></stringProp>
1279             </RegexExtractor>
1280             <hashTree/>
1281             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1282               <stringProp name="scriptLanguage">groovy</stringProp>
1283               <stringProp name="parameters"></stringProp>
1284               <stringProp name="filename"></stringProp>
1285               <stringProp name="cacheKey">true</stringProp>
1286               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1287 String requestId =  vars.get(&quot;requestId&quot;);
1288 String notification =  vars.get(&quot;notification&quot;);
1289 String counter =  vars.get(&quot;counter&quot;);
1290
1291 String transaction = &quot;none&quot;;
1292
1293 log.info (&quot;The requestId id is &quot; + requestId);
1294 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1295 log.info (&quot;The notification is &quot; + notification);
1296 log.info (&quot;The transaction is &quot; + transaction);
1297 log.info (&quot;The counter is &quot; + counter);
1298
1299 if (    requestId == requestIdOnset ) {
1300         if ( notification == &quot;SUCCESS&quot; ) {
1301                 transaction = &quot;FINAL&quot;;
1302                 log.info (&quot;Final Success Transaction&quot;);
1303                 log.info (&quot;The notification is SUCCESS&quot;);
1304         } else if ( notification == &quot;FAILURE&quot; ) {
1305                 transaction = &quot;FINAL&quot;;
1306                 log.info (&quot;Final Failure Transaction&quot;);
1307                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
1308                 AssertionResult.setFailure(true);
1309         } 
1310 }
1311
1312 int counterTemp = Integer.parseInt(counter) +1;
1313 if (transaction == &quot;FINAL&quot;) {
1314         counterTemp = 99;
1315 } else if (counterTemp &gt;= 60) {
1316         AssertionResult.setFailureMessage(&quot;vCPE Success POLICYCL Failure, reached maximum number of attempts &quot;);
1317         AssertionResult.setFailure(true);               
1318 }
1319
1320 vars.put(&quot;counter&quot;, Integer.toString(counterTemp));</stringProp>
1321             </JSR223Assertion>
1322             <hashTree/>
1323           </hashTree>
1324         </hashTree>
1325         <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Flow Control Action" enabled="true">
1326           <intProp name="ActionProcessor.action">1</intProp>
1327           <intProp name="ActionProcessor.target">0</intProp>
1328           <stringProp name="ActionProcessor.duration">200</stringProp>
1329         </TestAction>
1330         <hashTree/>
1331       </hashTree>
1332       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="SON O1 Success" enabled="true">
1333         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
1334         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1335           <boolProp name="LoopController.continue_forever">false</boolProp>
1336           <intProp name="LoopController.loops">-1</intProp>
1337         </elementProp>
1338         <stringProp name="ThreadGroup.num_threads">1</stringProp>
1339         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1340         <boolProp name="ThreadGroup.scheduler">true</boolProp>
1341         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
1342         <stringProp name="ThreadGroup.delay">11</stringProp>
1343         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1344       </ThreadGroup>
1345       <hashTree>
1346         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
1347           <collectionProp name="UserParameters.names">
1348             <stringProp name="-308835287">consumerGroup</stringProp>
1349           </collectionProp>
1350           <collectionProp name="UserParameters.thread_values">
1351             <collectionProp name="1059733039">
1352               <stringProp name="109619924">sonO1</stringProp>
1353             </collectionProp>
1354           </collectionProp>
1355           <boolProp name="UserParameters.per_iteration">false</boolProp>
1356           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
1357         </UserParameters>
1358         <hashTree/>
1359         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
1360           <collectionProp name="UserParameters.names">
1361             <stringProp name="693933066">requestId</stringProp>
1362           </collectionProp>
1363           <collectionProp name="UserParameters.thread_values">
1364             <collectionProp name="681405977">
1365               <stringProp name="118040362">${__UUID()}</stringProp>
1366             </collectionProp>
1367           </collectionProp>
1368           <boolProp name="UserParameters.per_iteration">true</boolProp>
1369           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
1370         </UserParameters>
1371         <hashTree/>
1372         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
1373           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1374           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1375             <collectionProp name="Arguments.arguments">
1376               <elementProp name="" elementType="HTTPArgument">
1377                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1378                 <stringProp name="Argument.value">{&#xd;
1379   &quot;closedLoopControlName&quot;: &quot;ControlLoop-SONO1-fb41f388-a5f2-11e8-98d0-529269fb1459&quot;,&#xd;
1380   &quot;closedLoopAlarmStart&quot;: 1606806580487,&#xd;
1381   &quot;closedLoopEventClient&quot;: &quot;microservice.PCI&quot;,&#xd;
1382   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
1383   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
1384   &quot;target_type&quot;: &quot;PNF&quot;,&#xd;
1385   &quot;target&quot;: &quot;pnf.pnf-name&quot;,&#xd;
1386   &quot;AAI&quot;: {&#xd;
1387     &quot;generic-vnf.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
1388     &quot;generic-vnf.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
1389     &quot;pnf.pnf-name&quot;: &quot;ncserver1&quot;&#xd;
1390   },  &#xd;
1391   &quot;from&quot;: &quot;PCIMS&quot;,&#xd;
1392   &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
1393   &quot;policyName&quot;: &quot;SONO1&quot;,&#xd;
1394   &quot;policyVersion&quot;: &quot;1.0.2&quot;,&#xd;
1395   &quot;Action&quot;: &quot;ModifyO1Config&quot;,&#xd;
1396   &quot;payload&quot;: &quot;{\&quot;Configurations\&quot;:[{\&quot;data\&quot;:{\&quot;FAPService\&quot;:{\&quot;alias\&quot;:\&quot;Chn0330\&quot;,\&quot;X0005b9Lte\&quot;:{\&quot;phyCellIdInUse\&quot;:6,\&quot;pnfName\&quot;:\&quot;ncserver23\&quot;},\&quot;CellConfig\&quot;:{\&quot;LTE\&quot;:{\&quot;RAN\&quot;:{\&quot;Common\&quot;:{\&quot;CellIdentity\&quot;:\&quot;Chn0330\&quot;}}}}}}},{\&quot;data\&quot;:{\&quot;FAPService\&quot;:{\&quot;alias\&quot;:\&quot;Chn0331\&quot;,\&quot;X0005b9Lte\&quot;:{\&quot;phyCellIdInUse\&quot;:7,\&quot;pnfName\&quot;:\&quot;ncserver23\&quot;},\&quot;CellConfig\&quot;:{\&quot;LTE\&quot;:{\&quot;RAN\&quot;:{\&quot;Common\&quot;:{\&quot;CellIdentity\&quot;:\&quot;Chn0331\&quot;}}}}}}}]}&quot;&#xd;
1397 }</stringProp>
1398                 <stringProp name="Argument.metadata">=</stringProp>
1399               </elementProp>
1400             </collectionProp>
1401           </elementProp>
1402           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1403           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1404           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1405           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1406           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
1407           <stringProp name="HTTPSampler.method">PUT</stringProp>
1408           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1409           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1410           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1411           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1412           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1413           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1414           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1415         </HTTPSamplerProxy>
1416         <hashTree>
1417           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1418             <collectionProp name="HeaderManager.headers">
1419               <elementProp name="" elementType="Header">
1420                 <stringProp name="Header.name">Content-Type</stringProp>
1421                 <stringProp name="Header.value">text/plain</stringProp>
1422               </elementProp>
1423             </collectionProp>
1424           </HeaderManager>
1425           <hashTree/>
1426         </hashTree>
1427         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1428           <stringProp name="scriptLanguage">groovy</stringProp>
1429           <stringProp name="parameters"></stringProp>
1430           <stringProp name="filename"></stringProp>
1431           <stringProp name="cacheKey">true</stringProp>
1432           <stringProp name="script">vars.put(&quot;counterO1&quot;, &quot;0&quot;);</stringProp>
1433         </JSR223Sampler>
1434         <hashTree/>
1435         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="SDNR-CL Modify01Config" enabled="true">
1436           <stringProp name="WhileController.condition">${__javaScript(${counterO1} &lt; 10)}</stringProp>
1437         </WhileController>
1438         <hashTree>
1439           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[SDNR-CL]: Modify01Config" enabled="true">
1440             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1441               <collectionProp name="Arguments.arguments">
1442                 <elementProp name="filter" elementType="HTTPArgument">
1443                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1444                   <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;modifyo1config&quot; }]}</stringProp>
1445                   <stringProp name="Argument.metadata">=</stringProp>
1446                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1447                   <stringProp name="Argument.name">filter</stringProp>
1448                 </elementProp>
1449               </collectionProp>
1450             </elementProp>
1451             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1452             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1453             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1454             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1455             <stringProp name="HTTPSampler.path">events/SDNR-CL/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1456             <stringProp name="HTTPSampler.method">GET</stringProp>
1457             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1458             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1459             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1460             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1461             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1462             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1463             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1464           </HTTPSamplerProxy>
1465           <hashTree>
1466             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1467               <collectionProp name="Asserion.test_strings">
1468                 <stringProp name="2914">[]</stringProp>
1469               </collectionProp>
1470               <stringProp name="Assertion.custom_message"></stringProp>
1471               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1472               <boolProp name="Assertion.assume_success">false</boolProp>
1473               <intProp name="Assertion.test_type">12</intProp>
1474             </ResponseAssertion>
1475             <hashTree/>
1476             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="request-id extractor" enabled="true">
1477               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1478               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1479               <stringProp name="RegexExtractor.regex">\\&quot;RequestID\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1480               <stringProp name="RegexExtractor.template">$1$</stringProp>
1481               <stringProp name="RegexExtractor.default">none</stringProp>
1482               <stringProp name="RegexExtractor.match_number"></stringProp>
1483             </RegexExtractor>
1484             <hashTree/>
1485             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="correlation-id extractor" enabled="true">
1486               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1487               <stringProp name="RegexExtractor.refname">correlationId</stringProp>
1488               <stringProp name="RegexExtractor.regex">correlation-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1489               <stringProp name="RegexExtractor.template">$1$</stringProp>
1490               <stringProp name="RegexExtractor.default">none</stringProp>
1491               <stringProp name="RegexExtractor.match_number"></stringProp>
1492             </RegexExtractor>
1493             <hashTree/>
1494             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="sub-request-id extractor" enabled="true">
1495               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1496               <stringProp name="RegexExtractor.refname">subRequestId</stringProp>
1497               <stringProp name="RegexExtractor.regex">SubRequestID\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1498               <stringProp name="RegexExtractor.template">$1$</stringProp>
1499               <stringProp name="RegexExtractor.default">none</stringProp>
1500               <stringProp name="RegexExtractor.match_number"></stringProp>
1501             </RegexExtractor>
1502             <hashTree/>
1503             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1504               <stringProp name="scriptLanguage">groovy</stringProp>
1505               <stringProp name="parameters"></stringProp>
1506               <stringProp name="filename"></stringProp>
1507               <stringProp name="cacheKey">true</stringProp>
1508               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1509 String requestId =  vars.get(&quot;requestId&quot;);
1510 String correlationId =  vars.get(&quot;correlationId&quot;);
1511 String subRequestId =  vars.get(&quot;subRequestId&quot;);
1512 String counter =  vars.get(&quot;counterO1&quot;);
1513
1514 String transaction = &quot;none&quot;;
1515
1516 log.info (&quot;The requestId id is &quot; + requestId);
1517 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1518 log.info (&quot;The correlation id is &quot; + correlationId);
1519 log.info (&quot;The subrequest id is &quot; + subRequestId);
1520 log.info (&quot;The counter is &quot; + counter);       
1521
1522 if (    requestId == requestIdOnset ) {
1523         if (    correlationId == &quot;none&quot; || subRequestId == &quot;none&quot; ) {
1524                 transaction = &quot;FINAL&quot;;
1525                 log.info (&quot;Final Failure Transaction&quot;);
1526                 AssertionResult.setFailureMessage(&quot;Missing correlationId or subRequestId&quot;);
1527                 AssertionResult.setFailure(true);
1528         } else {
1529                 transaction = &quot;FINAL&quot;;
1530                 vars.put(&quot;transaction&quot;, &quot;FINAL&quot;);
1531                 log.info (&quot;Final Success Transaction&quot;);
1532         }
1533 }
1534
1535 int counterTemp = Integer.parseInt(counter) +1;
1536 if (transaction == &quot;FINAL&quot;) {
1537         counterTemp = 99;
1538 } else if (counterTemp &gt;= 10) {
1539         AssertionResult.setFailureMessage(&quot;SON 01 Failure, reached maximum number of 10 attempts &quot;);
1540         AssertionResult.setFailure(true);               
1541 }
1542
1543 vars.put(&quot;counterO1&quot;, Integer.toString(counterTemp));
1544
1545 </stringProp>
1546             </JSR223Assertion>
1547             <hashTree/>
1548           </hashTree>
1549         </hashTree>
1550         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SDNR[SDNR-CL-RSP]: SUCCESS" enabled="true">
1551           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1552           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1553             <collectionProp name="Arguments.arguments">
1554               <elementProp name="" elementType="HTTPArgument">
1555                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1556                 <stringProp name="Argument.value">{&#xd;
1557     &quot;body&quot;: {&#xd;
1558         &quot;output&quot;: {&#xd;
1559             &quot;CommonHeader&quot;: {&#xd;
1560                 &quot;TimeStamp&quot;: &quot;2022-08-10T07:10:05.614Z&quot;,&#xd;
1561                 &quot;APIver&quot;: &quot;1.0&quot;,&#xd;
1562                 &quot;RequestID&quot;: &quot;${requestId}&quot;,&#xd;
1563                 &quot;SubRequestID&quot;: &quot;${subRequestId}&quot;,&#xd;
1564                 &quot;RequestTrack&quot;: [],&#xd;
1565                 &quot;Flags&quot;: []&#xd;
1566             },&#xd;
1567             &quot;Status&quot;: {&#xd;
1568                 &quot;Code&quot;: 200,&#xd;
1569                 &quot;Value&quot;: &quot;SUCCESS&quot;&#xd;
1570             },&#xd;
1571             &quot;Payload&quot;: &quot;{ \&quot;Configurations\&quot;:[ { \&quot;Status\&quot;: { \&quot;Code\&quot;: 200, \&quot;Value\&quot;: \&quot;SUCCESS\&quot; }, \&quot;data\&quot;:{\&quot;FAPService\&quot;:{\&quot;alias\&quot;:\&quot;Chn0330\&quot;,\&quot;X0005b9Lte\&quot;:{\&quot;phyCellIdInUse\&quot;:6,\&quot;pnfName\&quot;:\&quot;ncserver23\&quot;},\&quot;CellConfig\&quot;:{\&quot;LTE\&quot;:{\&quot;RAN\&quot;:{\&quot;Common\&quot;:{\&quot;CellIdentity\&quot;:\&quot;Chn0330\&quot;}}}}}} } ] }&quot;&#xd;
1572         }&#xd;
1573     },&#xd;
1574     &quot;version&quot;: &quot;1.0&quot;,&#xd;
1575     &quot;rpc-name&quot;: &quot;ModifyO1Config&quot;,&#xd;
1576     &quot;correlation-id&quot;: &quot;${correlationId}&quot;,&#xd;
1577     &quot;type&quot;: &quot;response&quot;&#xd;
1578 }&#xd;
1579 &#xd;
1580 </stringProp>
1581                 <stringProp name="Argument.metadata">=</stringProp>
1582               </elementProp>
1583             </collectionProp>
1584           </elementProp>
1585           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1586           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1587           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1588           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1589           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/SDNR-CL-RSP/events</stringProp>
1590           <stringProp name="HTTPSampler.method">PUT</stringProp>
1591           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1592           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1593           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1594           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1595           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1596           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1597           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1598         </HTTPSamplerProxy>
1599         <hashTree>
1600           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1601             <collectionProp name="HeaderManager.headers">
1602               <elementProp name="" elementType="Header">
1603                 <stringProp name="Header.name">Content-Type</stringProp>
1604                 <stringProp name="Header.value">text/plain</stringProp>
1605               </elementProp>
1606             </collectionProp>
1607           </HeaderManager>
1608           <hashTree/>
1609         </hashTree>
1610         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1611           <stringProp name="scriptLanguage">groovy</stringProp>
1612           <stringProp name="parameters"></stringProp>
1613           <stringProp name="filename"></stringProp>
1614           <stringProp name="cacheKey">true</stringProp>
1615           <stringProp name="script">vars.put(&quot;counterO1&quot;, &quot;0&quot;);</stringProp>
1616         </JSR223Sampler>
1617         <hashTree/>
1618         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1619           <stringProp name="WhileController.condition">${__javaScript(${counterO1} &lt; 60)}</stringProp>
1620         </WhileController>
1621         <hashTree>
1622           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_SUCCESS" enabled="true">
1623             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1624               <collectionProp name="Arguments.arguments">
1625                 <elementProp name="filter" elementType="HTTPArgument">
1626                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1627                   <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>
1628                   <stringProp name="Argument.metadata">=</stringProp>
1629                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1630                   <stringProp name="Argument.name">filter</stringProp>
1631                 </elementProp>
1632               </collectionProp>
1633             </elementProp>
1634             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1635             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1636             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1637             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1638             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1639             <stringProp name="HTTPSampler.method">GET</stringProp>
1640             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1641             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1642             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1643             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1644             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1645             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1646             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1647           </HTTPSamplerProxy>
1648           <hashTree>
1649             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1650               <collectionProp name="Asserion.test_strings">
1651                 <stringProp name="2914">[]</stringProp>
1652               </collectionProp>
1653               <stringProp name="Assertion.custom_message"></stringProp>
1654               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1655               <boolProp name="Assertion.assume_success">false</boolProp>
1656               <intProp name="Assertion.test_type">12</intProp>
1657             </ResponseAssertion>
1658             <hashTree/>
1659             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
1660               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1661               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1662               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1663               <stringProp name="RegexExtractor.template">$1$</stringProp>
1664               <stringProp name="RegexExtractor.default">none</stringProp>
1665               <stringProp name="RegexExtractor.match_number"></stringProp>
1666             </RegexExtractor>
1667             <hashTree/>
1668             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
1669               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1670               <stringProp name="RegexExtractor.refname">notification</stringProp>
1671               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
1672               <stringProp name="RegexExtractor.template">$1$</stringProp>
1673               <stringProp name="RegexExtractor.default">none</stringProp>
1674               <stringProp name="RegexExtractor.match_number"></stringProp>
1675             </RegexExtractor>
1676             <hashTree/>
1677             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1678               <stringProp name="scriptLanguage">groovy</stringProp>
1679               <stringProp name="parameters"></stringProp>
1680               <stringProp name="filename"></stringProp>
1681               <stringProp name="cacheKey">true</stringProp>
1682               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1683 String requestId =  vars.get(&quot;requestId&quot;);
1684 String notification =  vars.get(&quot;notification&quot;);
1685 String counter =  vars.get(&quot;counterO1&quot;);
1686
1687 String transaction = &quot;none&quot;;
1688
1689 log.info (&quot;The requestId id is &quot; + requestId);
1690 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1691 log.info (&quot;The notification is &quot; + notification);
1692 log.info (&quot;The transaction is &quot; + transaction);
1693 log.info (&quot;The counter is &quot; + counter);
1694
1695 if (    requestId == requestIdOnset ) {
1696         if ( notification == &quot;SUCCESS&quot; ) {
1697                 transaction = &quot;FINAL&quot;;
1698                 log.info (&quot;Final Success Transaction&quot;);
1699                 log.info (&quot;The notification is SUCCESS&quot;);
1700         } else if ( notification == &quot;FAILURE&quot; ) {
1701                 transaction = &quot;FINAL&quot;;
1702                 log.info (&quot;Final Failure Transaction&quot;);
1703                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
1704                 AssertionResult.setFailure(true);
1705         } 
1706 }
1707
1708 int counterTemp = Integer.parseInt(counter) +1;
1709 if (transaction == &quot;FINAL&quot;) {
1710         counterTemp = 99;
1711 } else if (counterTemp &gt;= 60) {
1712         AssertionResult.setFailureMessage(&quot;vCPE Success POLICYCL Failure, reached maximum number of attempts &quot;);
1713         AssertionResult.setFailure(true);               
1714 }
1715
1716 vars.put(&quot;counterO1&quot;, Integer.toString(counterTemp));</stringProp>
1717             </JSR223Assertion>
1718             <hashTree/>
1719           </hashTree>
1720         </hashTree>
1721         <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Flow Control Action" enabled="true">
1722           <intProp name="ActionProcessor.action">1</intProp>
1723           <intProp name="ActionProcessor.target">0</intProp>
1724           <stringProp name="ActionProcessor.duration">250</stringProp>
1725         </TestAction>
1726         <hashTree/>
1727       </hashTree>
1728       <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="SON A1 Success" enabled="true">
1729         <stringProp name="ThreadGroup.on_sample_error">startnextloop</stringProp>
1730         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1731           <boolProp name="LoopController.continue_forever">false</boolProp>
1732           <intProp name="LoopController.loops">-1</intProp>
1733         </elementProp>
1734         <stringProp name="ThreadGroup.num_threads">1</stringProp>
1735         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1736         <boolProp name="ThreadGroup.scheduler">true</boolProp>
1737         <stringProp name="ThreadGroup.duration">${duration}</stringProp>
1738         <stringProp name="ThreadGroup.delay">11</stringProp>
1739         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1740       </ThreadGroup>
1741       <hashTree>
1742         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set consumer group per scenario" enabled="true">
1743           <collectionProp name="UserParameters.names">
1744             <stringProp name="-308835287">consumerGroup</stringProp>
1745           </collectionProp>
1746           <collectionProp name="UserParameters.thread_values">
1747             <collectionProp name="1059562701">
1748               <stringProp name="109619490">sonA1</stringProp>
1749             </collectionProp>
1750           </collectionProp>
1751           <boolProp name="UserParameters.per_iteration">false</boolProp>
1752           <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
1753         </UserParameters>
1754         <hashTree/>
1755         <UserParameters guiclass="UserParametersGui" testclass="UserParameters" testname="Set request id per cycle" enabled="true">
1756           <collectionProp name="UserParameters.names">
1757             <stringProp name="693933066">requestId</stringProp>
1758           </collectionProp>
1759           <collectionProp name="UserParameters.thread_values">
1760             <collectionProp name="681405977">
1761               <stringProp name="118040362">${__UUID()}</stringProp>
1762             </collectionProp>
1763           </collectionProp>
1764           <boolProp name="UserParameters.per_iteration">true</boolProp>
1765           <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
1766         </UserParameters>
1767         <hashTree/>
1768         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="DCAE[DCAE_TOPIC]: ONSET" enabled="true">
1769           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1770           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1771             <collectionProp name="Arguments.arguments">
1772               <elementProp name="" elementType="HTTPArgument">
1773                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1774                 <stringProp name="Argument.value">{&#xd;
1775   &quot;closedLoopControlName&quot;: &quot;ControlLoop-SONA1-7d4baf04-8875-4d1f-946d-06b874048b61&quot;,&#xd;
1776   &quot;closedLoopAlarmStart&quot;: 1606805921693,&#xd;
1777   &quot;closedLoopEventClient&quot;: &quot;microservice.SONH&quot;,&#xd;
1778   &quot;closedLoopEventStatus&quot;: &quot;ONSET&quot;,&#xd;
1779   &quot;requestID&quot;: &quot;${requestId}&quot;,&#xd;
1780   &quot;target_type&quot;: &quot;PNF&quot;,&#xd;
1781   &quot;target&quot;: &quot;pnf.pnf-name&quot;,&#xd;
1782   &quot;AAI&quot;: {&#xd;
1783     &quot;generic-vnf.prov-status&quot;: &quot;ACTIVE&quot;,&#xd;
1784     &quot;generic-vnf.is-closed-loop-disabled&quot;: &quot;false&quot;,&#xd;
1785     &quot;pnf.pnf-name&quot;: &quot;ncserver2&quot;&#xd;
1786   },&#xd;
1787   &quot;from&quot;: &quot;SONHMS&quot;,&#xd;
1788   &quot;version&quot;: &quot;1.0.2&quot;,&#xd;
1789   &quot;policyName&quot;: &quot;SONA1&quot;,&#xd;
1790   &quot;policyVersion&quot;: &quot;1.0.2&quot;,&#xd;
1791   &quot;Action&quot;: &quot;ModifyA1Policy&quot;,&#xd;
1792   &quot;payload&quot;: &quot;{ \&quot;Configurations\&quot;:[ { \&quot;data\&quot;:{ \&quot;FAPService\&quot;:{ \&quot;alias\&quot;:\&quot;Cell1\&quot;, \&quot;CellConfig\&quot;:{ \&quot;LTE\&quot;:{ \&quot;RAN\&quot;:{ \&quot;Common\&quot;:{ \&quot;CellIdentity\&quot;:\&quot;1\&quot; }, \&quot;NeighborListInUse\&quot; : { \&quot;LTECellNumberOfEntries\&quot; : \&quot;1\&quot; , \&quot;LTECell\&quot; : [{ \&quot;PLMNID\&quot; :\&quot;plmnid1\&quot;, \&quot;CID\&quot;:\&quot;Chn0001\&quot;, \&quot;PhyCellID\&quot;:\&quot;3\&quot;, \&quot;PNFName\&quot;:\&quot;ncserver01\&quot;, \&quot;Blacklisted\&quot;:\&quot;false\&quot;}] } } } } } } } ] }&quot;&#xd;
1793 }</stringProp>
1794                 <stringProp name="Argument.metadata">=</stringProp>
1795               </elementProp>
1796             </collectionProp>
1797           </elementProp>
1798           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1799           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1800           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1801           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1802           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events</stringProp>
1803           <stringProp name="HTTPSampler.method">PUT</stringProp>
1804           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1805           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1806           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1807           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1808           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1809           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1810           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1811         </HTTPSamplerProxy>
1812         <hashTree>
1813           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1814             <collectionProp name="HeaderManager.headers">
1815               <elementProp name="" elementType="Header">
1816                 <stringProp name="Header.name">Content-Type</stringProp>
1817                 <stringProp name="Header.value">text/plain</stringProp>
1818               </elementProp>
1819             </collectionProp>
1820           </HeaderManager>
1821           <hashTree/>
1822         </hashTree>
1823         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
1824           <stringProp name="scriptLanguage">groovy</stringProp>
1825           <stringProp name="parameters"></stringProp>
1826           <stringProp name="filename"></stringProp>
1827           <stringProp name="cacheKey">true</stringProp>
1828           <stringProp name="script">vars.put(&quot;counterA1&quot;, &quot;0&quot;);</stringProp>
1829         </JSR223Sampler>
1830         <hashTree/>
1831         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="SDNR-CL ModifyA1Config" enabled="true">
1832           <stringProp name="WhileController.condition">${__javaScript(${counterA1} &lt; 10)}</stringProp>
1833         </WhileController>
1834         <hashTree>
1835           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[SDNR-CL]: ModifyA1Config" enabled="true">
1836             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1837               <collectionProp name="Arguments.arguments">
1838                 <elementProp name="filter" elementType="HTTPArgument">
1839                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
1840                   <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;modifya1config&quot; }]}</stringProp>
1841                   <stringProp name="Argument.metadata">=</stringProp>
1842                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
1843                   <stringProp name="Argument.name">filter</stringProp>
1844                 </elementProp>
1845               </collectionProp>
1846             </elementProp>
1847             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
1848             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
1849             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1850             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1851             <stringProp name="HTTPSampler.path">events/SDNR-CL/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
1852             <stringProp name="HTTPSampler.method">GET</stringProp>
1853             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1854             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1855             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1856             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1857             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1858             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1859             <stringProp name="HTTPSampler.response_timeout"></stringProp>
1860           </HTTPSamplerProxy>
1861           <hashTree>
1862             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1863               <collectionProp name="Asserion.test_strings">
1864                 <stringProp name="2914">[]</stringProp>
1865               </collectionProp>
1866               <stringProp name="Assertion.custom_message"></stringProp>
1867               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1868               <boolProp name="Assertion.assume_success">false</boolProp>
1869               <intProp name="Assertion.test_type">12</intProp>
1870             </ResponseAssertion>
1871             <hashTree/>
1872             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="request-id extractor" enabled="true">
1873               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1874               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
1875               <stringProp name="RegexExtractor.regex">\\&quot;RequestID\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1876               <stringProp name="RegexExtractor.template">$1$</stringProp>
1877               <stringProp name="RegexExtractor.default">none</stringProp>
1878               <stringProp name="RegexExtractor.match_number"></stringProp>
1879             </RegexExtractor>
1880             <hashTree/>
1881             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="correlation-id extractor" enabled="true">
1882               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1883               <stringProp name="RegexExtractor.refname">correlationId</stringProp>
1884               <stringProp name="RegexExtractor.regex">correlation-id\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1885               <stringProp name="RegexExtractor.template">$1$</stringProp>
1886               <stringProp name="RegexExtractor.default">none</stringProp>
1887               <stringProp name="RegexExtractor.match_number"></stringProp>
1888             </RegexExtractor>
1889             <hashTree/>
1890             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="sub-request-id extractor" enabled="true">
1891               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
1892               <stringProp name="RegexExtractor.refname">subRequestId</stringProp>
1893               <stringProp name="RegexExtractor.regex">SubRequestID\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
1894               <stringProp name="RegexExtractor.template">$1$</stringProp>
1895               <stringProp name="RegexExtractor.default">none</stringProp>
1896               <stringProp name="RegexExtractor.match_number"></stringProp>
1897             </RegexExtractor>
1898             <hashTree/>
1899             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1900               <stringProp name="scriptLanguage">groovy</stringProp>
1901               <stringProp name="parameters"></stringProp>
1902               <stringProp name="filename"></stringProp>
1903               <stringProp name="cacheKey">true</stringProp>
1904               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
1905 String requestId =  vars.get(&quot;requestId&quot;);
1906 String correlationId =  vars.get(&quot;correlationId&quot;);
1907 String subRequestId =  vars.get(&quot;subRequestId&quot;);
1908 String counter =  vars.get(&quot;counterA1&quot;);
1909
1910 String transaction = &quot;none&quot;;
1911
1912 log.info (&quot;The requestId id is &quot; + requestId);
1913 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
1914 log.info (&quot;The correlation id is &quot; + correlationId);
1915 log.info (&quot;The subrequest id is &quot; + subRequestId);
1916 log.info (&quot;The counter is &quot; + counter);       
1917
1918 if (    requestId == requestIdOnset ) {
1919         if (    correlationId == &quot;none&quot; || subRequestId == &quot;none&quot; ) {
1920                 transaction = &quot;FINAL&quot;;
1921                 log.info (&quot;Final Failure Transaction&quot;);
1922                 AssertionResult.setFailureMessage(&quot;Missing correlationId or subRequestId&quot;);
1923                 AssertionResult.setFailure(true);
1924         } else {
1925                 transaction = &quot;FINAL&quot;;
1926                 vars.put(&quot;transaction&quot;, &quot;FINAL&quot;);
1927                 log.info (&quot;Final Success Transaction&quot;);
1928         }
1929 }
1930
1931 int counterTemp = Integer.parseInt(counter) +1;
1932 if (transaction == &quot;FINAL&quot;) {
1933         counterTemp = 99;
1934 } else if (counterTemp &gt;= 10) {
1935         AssertionResult.setFailureMessage(&quot;SON A1 Success SDNR-CL Failure, reached maximum number of 10 attempts &quot;);
1936         AssertionResult.setFailure(true);               
1937 }
1938
1939 vars.put(&quot;counterA1&quot;, Integer.toString(counterTemp));
1940
1941 </stringProp>
1942             </JSR223Assertion>
1943             <hashTree/>
1944           </hashTree>
1945         </hashTree>
1946         <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SDNR[SDNR-CL-RSP]: SUCCESS" enabled="true">
1947           <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1948           <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1949             <collectionProp name="Arguments.arguments">
1950               <elementProp name="" elementType="HTTPArgument">
1951                 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1952                 <stringProp name="Argument.value">{&#xd;
1953     &quot;body&quot;: {&#xd;
1954         &quot;output&quot;: {&#xd;
1955             &quot;CommonHeader&quot;: {&#xd;
1956                 &quot;TimeStamp&quot;: &quot;2022-09-10T07:10:05.614Z&quot;,&#xd;
1957                 &quot;APIver&quot;: &quot;1.0&quot;,&#xd;
1958                 &quot;RequestID&quot;: &quot;${requestId}&quot;,&#xd;
1959                 &quot;SubRequestID&quot;: &quot;${subRequestId}&quot;,&#xd;
1960                 &quot;RequestTrack&quot;: [],&#xd;
1961                 &quot;Flags&quot;: []&#xd;
1962             },&#xd;
1963             &quot;Status&quot;: {&#xd;
1964                 &quot;Code&quot;: 200,&#xd;
1965                 &quot;Value&quot;: &quot;SUCCESS&quot;&#xd;
1966             },&#xd;
1967             &quot;Payload&quot;: &quot;{ \&quot;Configurations\&quot;:[ { \&quot;Status\&quot;: { \&quot;Code\&quot;: 200, \&quot;Value\&quot;: \&quot;SUCCESS\&quot; }, \&quot;data\&quot;:{ \&quot;FAPService\&quot;:{ \&quot;alias\&quot;:\&quot;Cell1\&quot;, \&quot;CellConfig\&quot;:{ \&quot;LTE\&quot;:{ \&quot;RAN\&quot;:{ \&quot;Common\&quot;:{ \&quot;CellIdentity\&quot;:\&quot;1\&quot; }, \&quot;NeighborListInUse\&quot; : { \&quot;LTECellNumberOfEntries\&quot; : \&quot;1\&quot; , \&quot;LTECell\&quot; : [{ \&quot;PLMNID\&quot; :\&quot;plmnid1\&quot;, \&quot;CID\&quot;:\&quot;Chn0001\&quot;, \&quot;PhyCellID\&quot;:\&quot;3\&quot;, \&quot;PNFName\&quot;:\&quot;ncserver01\&quot;, \&quot;Blacklisted\&quot;:\&quot;false\&quot;}] } } } } } } } ] }&quot;&#xd;
1968         }&#xd;
1969     },&#xd;
1970     &quot;version&quot;: &quot;1.0&quot;,&#xd;
1971     &quot;rpc-name&quot;: &quot;ModifyA1Policy&quot;,&#xd;
1972     &quot;correlation-id&quot;: &quot;${correlationId}&quot;,&#xd;
1973     &quot;type&quot;: &quot;response&quot;&#xd;
1974 }</stringProp>
1975                 <stringProp name="Argument.metadata">=</stringProp>
1976               </elementProp>
1977             </collectionProp>
1978           </elementProp>
1979           <stringProp name="HTTPSampler.domain">${DROOLS_HOST}</stringProp>
1980           <stringProp name="HTTPSampler.port">${DROOLS_PORT}</stringProp>
1981           <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
1982           <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1983           <stringProp name="HTTPSampler.path">policy/pdp/engine/topics/sources/dmaap/SDNR-CL-RSP/events</stringProp>
1984           <stringProp name="HTTPSampler.method">PUT</stringProp>
1985           <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
1986           <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1987           <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
1988           <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1989           <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1990           <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1991           <stringProp name="HTTPSampler.response_timeout"></stringProp>
1992         </HTTPSamplerProxy>
1993         <hashTree>
1994           <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
1995             <collectionProp name="HeaderManager.headers">
1996               <elementProp name="" elementType="Header">
1997                 <stringProp name="Header.name">Content-Type</stringProp>
1998                 <stringProp name="Header.value">text/plain</stringProp>
1999               </elementProp>
2000             </collectionProp>
2001           </HeaderManager>
2002           <hashTree/>
2003         </hashTree>
2004         <JSR223Sampler guiclass="TestBeanGUI" testclass="JSR223Sampler" testname="Init DMaaP Counter" enabled="true">
2005           <stringProp name="scriptLanguage">groovy</stringProp>
2006           <stringProp name="parameters"></stringProp>
2007           <stringProp name="filename"></stringProp>
2008           <stringProp name="cacheKey">true</stringProp>
2009           <stringProp name="script">vars.put(&quot;counterA1&quot;, &quot;0&quot;);</stringProp>
2010         </JSR223Sampler>
2011         <hashTree/>
2012         <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
2013           <stringProp name="WhileController.condition">${__javaScript(${counterA1} &lt; 60)}</stringProp>
2014         </WhileController>
2015         <hashTree>
2016           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="POLICY[POLICY-CL-MGT]: FINAL_SUCCESS" enabled="true">
2017             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2018               <collectionProp name="Arguments.arguments">
2019                 <elementProp name="filter" elementType="HTTPArgument">
2020                   <boolProp name="HTTPArgument.always_encode">true</boolProp>
2021                   <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>
2022                   <stringProp name="Argument.metadata">=</stringProp>
2023                   <boolProp name="HTTPArgument.use_equals">true</boolProp>
2024                   <stringProp name="Argument.name">filter</stringProp>
2025                 </elementProp>
2026               </collectionProp>
2027             </elementProp>
2028             <stringProp name="HTTPSampler.domain">${DMAAP_HOST}</stringProp>
2029             <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp>
2030             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2031             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2032             <stringProp name="HTTPSampler.path">events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&amp;limit=1</stringProp>
2033             <stringProp name="HTTPSampler.method">GET</stringProp>
2034             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2035             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2036             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2037             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2038             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2039             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2040             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2041           </HTTPSamplerProxy>
2042           <hashTree>
2043             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
2044               <collectionProp name="Asserion.test_strings">
2045                 <stringProp name="2914">[]</stringProp>
2046               </collectionProp>
2047               <stringProp name="Assertion.custom_message"></stringProp>
2048               <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2049               <boolProp name="Assertion.assume_success">false</boolProp>
2050               <intProp name="Assertion.test_type">12</intProp>
2051             </ResponseAssertion>
2052             <hashTree/>
2053             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="requestId extractor" enabled="true">
2054               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2055               <stringProp name="RegexExtractor.refname">requestIdOnset</stringProp>
2056               <stringProp name="RegexExtractor.regex">requestId\\&quot;: \\&quot;(.+?)\\&quot;</stringProp>
2057               <stringProp name="RegexExtractor.template">$1$</stringProp>
2058               <stringProp name="RegexExtractor.default">none</stringProp>
2059               <stringProp name="RegexExtractor.match_number"></stringProp>
2060             </RegexExtractor>
2061             <hashTree/>
2062             <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="notification extractor" enabled="true">
2063               <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2064               <stringProp name="RegexExtractor.refname">notification</stringProp>
2065               <stringProp name="RegexExtractor.regex">notification\\&quot;: \\&quot;FINAL: (.+?)\\&quot;</stringProp>
2066               <stringProp name="RegexExtractor.template">$1$</stringProp>
2067               <stringProp name="RegexExtractor.default">none</stringProp>
2068               <stringProp name="RegexExtractor.match_number"></stringProp>
2069             </RegexExtractor>
2070             <hashTree/>
2071             <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
2072               <stringProp name="scriptLanguage">groovy</stringProp>
2073               <stringProp name="parameters"></stringProp>
2074               <stringProp name="filename"></stringProp>
2075               <stringProp name="cacheKey">true</stringProp>
2076               <stringProp name="script">String requestIdOnset =  vars.get(&quot;requestIdOnset&quot;);
2077 String requestId =  vars.get(&quot;requestId&quot;);
2078 String notification =  vars.get(&quot;notification&quot;);
2079 String counter =  vars.get(&quot;counterA1&quot;);
2080
2081 String transaction = &quot;none&quot;;
2082
2083 log.info (&quot;The requestId id is &quot; + requestId);
2084 log.info (&quot;The requestIdOnset id is &quot; + requestIdOnset);
2085 log.info (&quot;The notification is &quot; + notification);
2086 log.info (&quot;The transaction is &quot; + transaction);
2087 log.info (&quot;The counter is &quot; + counter);
2088
2089 if (    requestId == requestIdOnset ) {
2090         if ( notification == &quot;SUCCESS&quot; ) {
2091                 transaction = &quot;FINAL&quot;;
2092                 log.info (&quot;Final Success Transaction&quot;);
2093                 log.info (&quot;The notification is SUCCESS&quot;);
2094         } else if ( notification == &quot;FAILURE&quot; ) {
2095                 transaction = &quot;FINAL&quot;;
2096                 log.info (&quot;Final Failure Transaction&quot;);
2097                 AssertionResult.setFailureMessage(&quot;Bad final notification&quot;);
2098                 AssertionResult.setFailure(true);
2099         } 
2100 }
2101
2102 int counterTemp = Integer.parseInt(counter) +1;
2103 if (transaction == &quot;FINAL&quot;) {
2104         counterTemp = 99;
2105 } else if (counterTemp &gt;= 60) {
2106         AssertionResult.setFailureMessage(&quot;vCPE Success POLICYCL Failure, reached maximum number of attempts &quot;);
2107         AssertionResult.setFailure(true);               
2108 }
2109
2110 vars.put(&quot;counterA1&quot;, Integer.toString(counterTemp));</stringProp>
2111             </JSR223Assertion>
2112             <hashTree/>
2113           </hashTree>
2114         </hashTree>
2115         <TestAction guiclass="TestActionGui" testclass="TestAction" testname="Flow Control Action" enabled="true">
2116           <intProp name="ActionProcessor.action">1</intProp>
2117           <intProp name="ActionProcessor.target">0</intProp>
2118           <stringProp name="ActionProcessor.duration">250</stringProp>
2119         </TestAction>
2120         <hashTree/>
2121       </hashTree>
2122       <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="Tear down" enabled="true">
2123         <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
2124         <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
2125           <boolProp name="LoopController.continue_forever">false</boolProp>
2126           <stringProp name="LoopController.loops">1</stringProp>
2127         </elementProp>
2128         <stringProp name="ThreadGroup.num_threads">1</stringProp>
2129         <stringProp name="ThreadGroup.ramp_time">1</stringProp>
2130         <boolProp name="ThreadGroup.scheduler">false</boolProp>
2131         <stringProp name="ThreadGroup.duration"></stringProp>
2132         <stringProp name="ThreadGroup.delay"></stringProp>
2133         <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
2134       </PostThreadGroup>
2135       <hashTree>
2136         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="PAP" enabled="true"/>
2137         <hashTree>
2138           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy vCPE Policy" enabled="true">
2139             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2140               <collectionProp name="Arguments.arguments"/>
2141             </elementProp>
2142             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2143             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2144             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2145             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2146             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/operational.restart/versions/1.0.0</stringProp>
2147             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2148             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2149             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2150             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2151             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2152             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2153             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2154             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2155           </HTTPSamplerProxy>
2156           <hashTree>
2157             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2158               <collectionProp name="Asserion.test_strings">
2159                 <stringProp name="49588">202</stringProp>
2160               </collectionProp>
2161               <stringProp name="Assertion.custom_message"></stringProp>
2162               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2163               <boolProp name="Assertion.assume_success">false</boolProp>
2164               <intProp name="Assertion.test_type">16</intProp>
2165             </ResponseAssertion>
2166             <hashTree/>
2167           </hashTree>
2168           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy 5G SON A1" enabled="true">
2169             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2170               <collectionProp name="Arguments.arguments"/>
2171             </elementProp>
2172             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2173             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2174             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2175             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2176             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/op.5g.son.a1/versions/1.0.0</stringProp>
2177             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2178             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2179             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2180             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2181             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2182             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2183             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2184             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2185           </HTTPSamplerProxy>
2186           <hashTree>
2187             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2188               <collectionProp name="Asserion.test_strings">
2189                 <stringProp name="49588">202</stringProp>
2190               </collectionProp>
2191               <stringProp name="Assertion.custom_message"></stringProp>
2192               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2193               <boolProp name="Assertion.assume_success">false</boolProp>
2194               <intProp name="Assertion.test_type">16</intProp>
2195             </ResponseAssertion>
2196             <hashTree/>
2197           </hashTree>
2198           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy 5G SON O1" enabled="true">
2199             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2200               <collectionProp name="Arguments.arguments"/>
2201             </elementProp>
2202             <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2203             <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2204             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2205             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2206             <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/op.5g.son.o1/versions/1.0.0</stringProp>
2207             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2208             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2209             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2210             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2211             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2212             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2213             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2214             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2215           </HTTPSamplerProxy>
2216           <hashTree>
2217             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2218               <collectionProp name="Asserion.test_strings">
2219                 <stringProp name="49588">202</stringProp>
2220               </collectionProp>
2221               <stringProp name="Assertion.custom_message"></stringProp>
2222               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2223               <boolProp name="Assertion.assume_success">false</boolProp>
2224               <intProp name="Assertion.test_type">16</intProp>
2225             </ResponseAssertion>
2226             <hashTree/>
2227           </hashTree>
2228         </hashTree>
2229         <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="API" enabled="true"/>
2230         <hashTree>
2231           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete vCPE Policy" enabled="true">
2232             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2233               <collectionProp name="Arguments.arguments"/>
2234             </elementProp>
2235             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2236             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2237             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2238             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2239             <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>
2240             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2241             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2242             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2243             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2244             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2245             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2246             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2247             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2248           </HTTPSamplerProxy>
2249           <hashTree>
2250             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2251               <collectionProp name="Asserion.test_strings">
2252                 <stringProp name="49586">200</stringProp>
2253               </collectionProp>
2254               <stringProp name="Assertion.custom_message"></stringProp>
2255               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2256               <boolProp name="Assertion.assume_success">false</boolProp>
2257               <intProp name="Assertion.test_type">16</intProp>
2258             </ResponseAssertion>
2259             <hashTree/>
2260           </hashTree>
2261           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete 5G SON A1" enabled="true">
2262             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2263               <collectionProp name="Arguments.arguments"/>
2264             </elementProp>
2265             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2266             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2267             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2268             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2269             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/op.5g.son.a1/versions/1.0.0</stringProp>
2270             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2271             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2272             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2273             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2274             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2275             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2276             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2277             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2278           </HTTPSamplerProxy>
2279           <hashTree>
2280             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2281               <collectionProp name="Asserion.test_strings">
2282                 <stringProp name="49586">200</stringProp>
2283               </collectionProp>
2284               <stringProp name="Assertion.custom_message"></stringProp>
2285               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2286               <boolProp name="Assertion.assume_success">false</boolProp>
2287               <intProp name="Assertion.test_type">16</intProp>
2288             </ResponseAssertion>
2289             <hashTree/>
2290           </hashTree>
2291           <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete 5G SON O1" enabled="true">
2292             <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2293               <collectionProp name="Arguments.arguments"/>
2294             </elementProp>
2295             <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2296             <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2297             <stringProp name="HTTPSampler.protocol">${HTTP}</stringProp>
2298             <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2299             <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/op.5g.son.o1/versions/1.0.0</stringProp>
2300             <stringProp name="HTTPSampler.method">DELETE</stringProp>
2301             <boolProp name="HTTPSampler.follow_redirects">false</boolProp>
2302             <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2303             <boolProp name="HTTPSampler.use_keepalive">false</boolProp>
2304             <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2305             <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2306             <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2307             <stringProp name="HTTPSampler.response_timeout"></stringProp>
2308           </HTTPSamplerProxy>
2309           <hashTree>
2310             <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2311               <collectionProp name="Asserion.test_strings">
2312                 <stringProp name="49586">200</stringProp>
2313               </collectionProp>
2314               <stringProp name="Assertion.custom_message"></stringProp>
2315               <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
2316               <boolProp name="Assertion.assume_success">false</boolProp>
2317               <intProp name="Assertion.test_type">16</intProp>
2318             </ResponseAssertion>
2319             <hashTree/>
2320           </hashTree>
2321         </hashTree>
2322       </hashTree>
2323     </hashTree>
2324   </hashTree>
2325 </jmeterTestPlan>