1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.4.3">
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">localhost</stringProp>
14 <stringProp name="Argument.metadata">=</stringProp>
16 <elementProp name="API_PORT" elementType="Argument">
17 <stringProp name="Argument.name">API_PORT</stringProp>
18 <stringProp name="Argument.value">30002</stringProp>
19 <stringProp name="Argument.metadata">=</stringProp>
21 <elementProp name="PAP_HOST" elementType="Argument">
22 <stringProp name="Argument.name">PAP_HOST</stringProp>
23 <stringProp name="Argument.value">localhost</stringProp>
24 <stringProp name="Argument.metadata">=</stringProp>
26 <elementProp name="PAP_PORT" elementType="Argument">
27 <stringProp name="Argument.name">PAP_PORT</stringProp>
28 <stringProp name="Argument.value">30003</stringProp>
29 <stringProp name="Argument.metadata">=</stringProp>
31 <elementProp name="DMAAP_HOST" elementType="Argument">
32 <stringProp name="Argument.name">DMAAP_HOST</stringProp>
33 <stringProp name="Argument.value">localhost</stringProp>
34 <stringProp name="Argument.metadata">=</stringProp>
36 <elementProp name="DMAAP_PORT" elementType="Argument">
37 <stringProp name="Argument.name">DMAAP_PORT</stringProp>
38 <stringProp name="Argument.value">30904</stringProp>
39 <stringProp name="Argument.metadata">=</stringProp>
41 <elementProp name="DROOLS_HOST" elementType="Argument">
42 <stringProp name="Argument.name">DROOLS_HOST</stringProp>
43 <stringProp name="Argument.value">localhost</stringProp>
44 <stringProp name="Argument.metadata">=</stringProp>
46 <elementProp name="DROOLS_PORT" elementType="Argument">
47 <stringProp name="Argument.name">DROOLS_PORT</stringProp>
48 <stringProp name="Argument.value">30005</stringProp>
49 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
63 <stringProp name="TestPlan.user_define_classpath"></stringProp>
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>
72 <elementProp name="" elementType="Header">
73 <stringProp name="Header.name">Content-Type</stringProp>
74 <stringProp name="Header.value">application/json</stringProp>
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>
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>
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>
103 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
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"/>
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>
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>
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>
134 <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="API" enabled="true"/>
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"/>
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>
155 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
156 <collectionProp name="Asserion.test_strings">
157 <stringProp name="49586">200</stringProp>
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>
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>
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">{
182 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
183 "topology_template": {
184 "policies": [
186 "operational.restart": {
187 "type": "onap.policies.controlloop.operational.common.Drools",
188 "type_version": "1.0.0",
189 "version": "1.0.0",
190 "metadata": {
191 "policy-id": "operational.restart"
193 "properties": {
194 "id": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
195 "timeout": 60,
196 "abatement": false,
197 "trigger": "unique-policy-id-1-restart",
198 "operations": [
200 "id": "unique-policy-id-1-restart",
201 "description": "Restart the VM",
202 "operation": {
203 "actor": "APPC",
204 "operation": "Restart",
205 "target": {
206 "targetType": "VNF"
209 "timeout": 20,
210 "retries": 0,
211 "success": "final_success",
212 "failure": "final_failure",
213 "failure_timeout": "final_failure_timeout",
214 "failure_retries": "final_failure_retries",
215 "failure_exception": "final_failure_exception",
216 "failure_guard": "final_failure_guard"
219 "controllerName": "usecases"
226 <stringProp name="Argument.metadata">=</stringProp>
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>
245 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
246 <collectionProp name="Asserion.test_strings">
247 <stringProp name="49586">200</stringProp>
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>
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">{
263 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
264 "topology_template": {
265 "policies": [
267 "op.5g.son.o1": {
268 "type": "onap.policies.controlloop.operational.common.Drools",
269 "type_version": "1.0.0",
270 "name": "op.5g.son.o1",
271 "version": "1.0.0",
272 "metadata": {
273 "policy-id": "op.5g.son.o1"
275 "properties": {
276 "id": "ControlLoop-SONO1-fb41f388-a5f2-11e8-98d0-529269fb1459",
277 "timeout": 1200,
278 "abatement": false,
279 "trigger": "modify-o1-config",
280 "operations": [
282 "id": "modify-o1-config",
283 "description": "Control Loop Modify O1 Configuration",
284 "operation": {
285 "actor": "SDNR",
286 "operation": "ModifyO1Config",
287 "target": {
288 "targetType": "PNF"
291 "timeout": 60,
292 "retries": 0,
293 "success": "final_success",
294 "failure": "final_failure",
295 "failure_timeout": "final_failure_timeout",
296 "failure_retries": "final_failure_retries",
297 "failure_exception": "final_failure_exception",
298 "failure_guard": "final_failure_guard"
307 <stringProp name="Argument.metadata">=</stringProp>
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>
326 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
327 <collectionProp name="Asserion.test_strings">
328 <stringProp name="49586">200</stringProp>
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>
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">{
344 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
345 "topology_template": {
346 "policies": [
348 "op.5g.son.a1": {
349 "type": "onap.policies.controlloop.operational.common.Drools",
350 "type_version": "1.0.0",
351 "name": "op.5g.son.a1",
352 "version": "1.0.0",
353 "metadata": {
354 "policy-id": "op.5g.son.a1"
356 "properties": {
357 "id": "ControlLoop-SONA1-7d4baf04-8875-4d1f-946d-06b874048b61",
358 "timeout": 1200,
359 "abatement": false,
360 "trigger": "modify-a1-policy",
361 "operations": [
363 "id": "modify-a1-policy",
364 "description": "Control Loop Modify A1 Policy",
365 "operation": {
366 "actor": "SDNR",
367 "operation": "ModifyA1Policy",
368 "target": {
369 "targetType": "PNF"
372 "timeout": 60,
373 "retries": 0,
374 "success": "final_success",
375 "failure": "final_failure",
376 "failure_timeout": "final_failure_timeout",
377 "failure_retries": "final_failure_retries",
378 "failure_exception": "final_failure_exception",
379 "failure_guard": "final_failure_guard"
388 <stringProp name="Argument.metadata">=</stringProp>
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>
407 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
408 <collectionProp name="Asserion.test_strings">
409 <stringProp name="49586">200</stringProp>
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>
419 <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="PAP" enabled="true"/>
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"/>
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>
440 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
441 <collectionProp name="Asserion.test_strings">
442 <stringProp name="49586">200</stringProp>
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>
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>
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">{"policies":[{"policy-id":"operational.restart", "version": "1.0.0"}]}</stringProp>
467 <stringProp name="Argument.metadata">=</stringProp>
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>
486 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
487 <collectionProp name="Asserion.test_strings">
488 <stringProp name="49588">202</stringProp>
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>
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">{"policies":[{"policy-id":"op.5g.son.o1", "version": "1.0.0"}]}</stringProp>
504 <stringProp name="Argument.metadata">=</stringProp>
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>
523 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
524 <collectionProp name="Asserion.test_strings">
525 <stringProp name="49588">202</stringProp>
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>
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">{"policies":[{"policy-id":"op.5g.son.a1", "version": "1.0.0"}]}</stringProp>
541 <stringProp name="Argument.metadata">=</stringProp>
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>
560 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
561 <collectionProp name="Asserion.test_strings">
562 <stringProp name="49588">202</stringProp>
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>
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"/>
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>
591 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
592 <collectionProp name="Asserion.test_strings">
593 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
621 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
622 <collectionProp name="Asserion.test_strings">
623 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
651 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
652 <collectionProp name="Asserion.test_strings">
653 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
681 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
682 <collectionProp name="Asserion.test_strings">
683 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
711 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
712 <collectionProp name="Asserion.test_strings">
713 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
741 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
742 <collectionProp name="Asserion.test_strings">
743 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
771 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
772 <collectionProp name="Asserion.test_strings">
773 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
801 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
802 <collectionProp name="Asserion.test_strings">
803 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
831 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
832 <collectionProp name="Asserion.test_strings">
833 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
861 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
862 <collectionProp name="Asserion.test_strings">
863 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
891 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
892 <collectionProp name="Asserion.test_strings">
893 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
921 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
922 <collectionProp name="Asserion.test_strings">
923 <stringProp name="49586">200</stringProp>
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>
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>
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>
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>
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>
960 <collectionProp name="UserParameters.thread_values">
961 <collectionProp name="-1571164782">
962 <stringProp name="-2075285407">vcpesuccess</stringProp>
965 <boolProp name="UserParameters.per_iteration">false</boolProp>
966 <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
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>
973 <collectionProp name="UserParameters.thread_values">
974 <collectionProp name="681405977">
975 <stringProp name="118040362">${__UUID()}</stringProp>
978 <boolProp name="UserParameters.per_iteration">true</boolProp>
979 <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
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">{
989 "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
990 "closedLoopAlarmStart": 1463679805324,
991 "closedLoopEventClient": "DCAE_INSTANCE_ID.dcae-tca",
992 "closedLoopEventStatus": "ONSET",
993 "requestID": "${requestId}",
994 "target_type": "VNF",
995 "target": "generic-vnf.vnf-id",
996 "AAI": {
997 "vserver.is-closed-loop-disabled": "false",
998 "vserver.prov-status": "ACTIVE",
999 "generic-vnf.vnf-id": "vCPE_Infrastructure_vGMUX_demo_app"
1001 "from": "DCAE",
1002 "version": "1.0.2"
1004 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
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("counter", "0");</stringProp>
1041 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="APPCL Restart Loop Controller" enabled="true">
1042 <stringProp name="WhileController.condition">${__javaScript(${counter} < 10)}</stringProp>
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">{"class":"And", "filters": [ { "class":"Equals", "field":"request-id", "value":"${requestId}" }, { "class":"Equals", "field":"rpc-name", "value":"restart" }]}</stringProp>
1051 <stringProp name="Argument.metadata">=</stringProp>
1052 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1053 <stringProp name="Argument.name">filter</stringProp>
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&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>
1072 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1073 <collectionProp name="Asserion.test_strings">
1074 <stringProp name="2914">[]</stringProp>
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>
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">\\"request-id\\": \\"(.+?)\\"</stringProp>
1086 <stringProp name="RegexExtractor.template">$1$</stringProp>
1087 <stringProp name="RegexExtractor.default">none</stringProp>
1088 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"(.+?)\\"</stringProp>
1095 <stringProp name="RegexExtractor.template">$1$</stringProp>
1096 <stringProp name="RegexExtractor.default">none</stringProp>
1097 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"(.+?)\\"</stringProp>
1104 <stringProp name="RegexExtractor.template">$1$</stringProp>
1105 <stringProp name="RegexExtractor.default">none</stringProp>
1106 <stringProp name="RegexExtractor.match_number"></stringProp>
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("requestIdOnset");
1115 String requestId = vars.get("requestId");
1116 String correlationId = vars.get("correlationId");
1117 String subRequestId = vars.get("subRequestId");
1118 String counter = vars.get("counter");
1120 String transaction = "none";
1122 log.info ("The requestId id is " + requestId);
1123 log.info ("The requestIdOnset id is " + requestIdOnset);
1124 log.info ("The correlation id is " + correlationId);
1125 log.info ("The subrequest id is " + subRequestId);
1126 log.info ("The counter is " + counter);
1128 if ( requestId == requestIdOnset ) {
1129 if ( correlationId == "none" || subRequestId == "none" ) {
1130 transaction = "FINAL";
1131 log.info ("Final Failure Transaction");
1132 AssertionResult.setFailureMessage("Missing correlationId or subRequestId");
1133 AssertionResult.setFailure(true);
1135 transaction = "FINAL";
1136 vars.put("transaction", "FINAL");
1137 log.info ("Final Success Transaction");
1141 int counterTemp = Integer.parseInt(counter) +1;
1142 if (transaction == "FINAL") {
1144 } else if (counterTemp >= 10) {
1145 AssertionResult.setFailureMessage("vCPE Success APPCL Failure, reached maximum number of 10 attempts ");
1146 AssertionResult.setFailure(true);
1149 vars.put("counter", Integer.toString(counterTemp));
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">{
1163 "body": {
1164 "output": {
1165 "common-header": {
1166 "timestamp": "2020-05-05T15:56:34.845Z",
1167 "api-ver": "2.00",
1168 "originator-id": "${requestId}",
1169 "request-id": "${requestId}",
1170 "sub-request-id": "${subRequestId}",
1171 "flags": {}
1173 "status": {
1174 "code": 400,
1175 "message": "Restart Successful"
1179 "version": "2.0",
1180 "rpc-name": "restart",
1181 "correlation-id": "${correlationId}",
1182 "type": "response"
1185 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
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("counter", "0");</stringProp>
1222 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1223 <stringProp name="WhileController.condition">${__javaScript(${counter} < 60)}</stringProp>
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">{"class":"And", "filters": [ { "class":"Equals", "field":"requestId", "value":"${requestId}" }, { "class":"Equals", "field":"notification", "value":"FINAL: SUCCESS" }]}</stringProp>
1232 <stringProp name="Argument.metadata">=</stringProp>
1233 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1234 <stringProp name="Argument.name">filter</stringProp>
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&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>
1253 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1254 <collectionProp name="Asserion.test_strings">
1255 <stringProp name="2914">[]</stringProp>
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>
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\\": \\"(.+?)\\"</stringProp>
1267 <stringProp name="RegexExtractor.template">$1$</stringProp>
1268 <stringProp name="RegexExtractor.default">none</stringProp>
1269 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"FINAL: (.+?)\\"</stringProp>
1276 <stringProp name="RegexExtractor.template">$1$</stringProp>
1277 <stringProp name="RegexExtractor.default">none</stringProp>
1278 <stringProp name="RegexExtractor.match_number"></stringProp>
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("requestIdOnset");
1287 String requestId = vars.get("requestId");
1288 String notification = vars.get("notification");
1289 String counter = vars.get("counter");
1291 String transaction = "none";
1293 log.info ("The requestId id is " + requestId);
1294 log.info ("The requestIdOnset id is " + requestIdOnset);
1295 log.info ("The notification is " + notification);
1296 log.info ("The transaction is " + transaction);
1297 log.info ("The counter is " + counter);
1299 if ( requestId == requestIdOnset ) {
1300 if ( notification == "SUCCESS" ) {
1301 transaction = "FINAL";
1302 log.info ("Final Success Transaction");
1303 log.info ("The notification is SUCCESS");
1304 } else if ( notification == "FAILURE" ) {
1305 transaction = "FINAL";
1306 log.info ("Final Failure Transaction");
1307 AssertionResult.setFailureMessage("Bad final notification");
1308 AssertionResult.setFailure(true);
1312 int counterTemp = Integer.parseInt(counter) +1;
1313 if (transaction == "FINAL") {
1315 } else if (counterTemp >= 60) {
1316 AssertionResult.setFailureMessage("vCPE Success POLICYCL Failure, reached maximum number of attempts ");
1317 AssertionResult.setFailure(true);
1320 vars.put("counter", Integer.toString(counterTemp));</stringProp>
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>
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>
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>
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>
1350 <collectionProp name="UserParameters.thread_values">
1351 <collectionProp name="1059733039">
1352 <stringProp name="109619924">sonO1</stringProp>
1355 <boolProp name="UserParameters.per_iteration">false</boolProp>
1356 <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
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>
1363 <collectionProp name="UserParameters.thread_values">
1364 <collectionProp name="681405977">
1365 <stringProp name="118040362">${__UUID()}</stringProp>
1368 <boolProp name="UserParameters.per_iteration">true</boolProp>
1369 <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
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">{
1379 "closedLoopControlName": "ControlLoop-SONO1-fb41f388-a5f2-11e8-98d0-529269fb1459",
1380 "closedLoopAlarmStart": 1606806580487,
1381 "closedLoopEventClient": "microservice.PCI",
1382 "closedLoopEventStatus": "ONSET",
1383 "requestID": "${requestId}",
1384 "target_type": "PNF",
1385 "target": "pnf.pnf-name",
1386 "AAI": {
1387 "generic-vnf.prov-status": "ACTIVE",
1388 "generic-vnf.is-closed-loop-disabled": "false",
1389 "pnf.pnf-name": "ncserver1"
1391 "from": "PCIMS",
1392 "version": "1.0.2",
1393 "policyName": "SONO1",
1394 "policyVersion": "1.0.2",
1395 "Action": "ModifyO1Config",
1396 "payload": "{\"Configurations\":[{\"data\":{\"FAPService\":{\"alias\":\"Chn0330\",\"X0005b9Lte\":{\"phyCellIdInUse\":6,\"pnfName\":\"ncserver23\"},\"CellConfig\":{\"LTE\":{\"RAN\":{\"Common\":{\"CellIdentity\":\"Chn0330\"}}}}}}},{\"data\":{\"FAPService\":{\"alias\":\"Chn0331\",\"X0005b9Lte\":{\"phyCellIdInUse\":7,\"pnfName\":\"ncserver23\"},\"CellConfig\":{\"LTE\":{\"RAN\":{\"Common\":{\"CellIdentity\":\"Chn0331\"}}}}}}}]}"
1398 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
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("counterO1", "0");</stringProp>
1435 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="SDNR-CL Modify01Config" enabled="true">
1436 <stringProp name="WhileController.condition">${__javaScript(${counterO1} < 10)}</stringProp>
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">{"class":"And", "filters": [ { "class":"Equals", "field":"request-id", "value":"${requestId}" }, { "class":"Equals", "field":"rpc-name", "value":"modifyo1config" }]}</stringProp>
1445 <stringProp name="Argument.metadata">=</stringProp>
1446 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1447 <stringProp name="Argument.name">filter</stringProp>
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&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>
1466 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1467 <collectionProp name="Asserion.test_strings">
1468 <stringProp name="2914">[]</stringProp>
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>
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">\\"RequestID\\": \\"(.+?)\\"</stringProp>
1480 <stringProp name="RegexExtractor.template">$1$</stringProp>
1481 <stringProp name="RegexExtractor.default">none</stringProp>
1482 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"(.+?)\\"</stringProp>
1489 <stringProp name="RegexExtractor.template">$1$</stringProp>
1490 <stringProp name="RegexExtractor.default">none</stringProp>
1491 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"(.+?)\\"</stringProp>
1498 <stringProp name="RegexExtractor.template">$1$</stringProp>
1499 <stringProp name="RegexExtractor.default">none</stringProp>
1500 <stringProp name="RegexExtractor.match_number"></stringProp>
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("requestIdOnset");
1509 String requestId = vars.get("requestId");
1510 String correlationId = vars.get("correlationId");
1511 String subRequestId = vars.get("subRequestId");
1512 String counter = vars.get("counterO1");
1514 String transaction = "none";
1516 log.info ("The requestId id is " + requestId);
1517 log.info ("The requestIdOnset id is " + requestIdOnset);
1518 log.info ("The correlation id is " + correlationId);
1519 log.info ("The subrequest id is " + subRequestId);
1520 log.info ("The counter is " + counter);
1522 if ( requestId == requestIdOnset ) {
1523 if ( correlationId == "none" || subRequestId == "none" ) {
1524 transaction = "FINAL";
1525 log.info ("Final Failure Transaction");
1526 AssertionResult.setFailureMessage("Missing correlationId or subRequestId");
1527 AssertionResult.setFailure(true);
1529 transaction = "FINAL";
1530 vars.put("transaction", "FINAL");
1531 log.info ("Final Success Transaction");
1535 int counterTemp = Integer.parseInt(counter) +1;
1536 if (transaction == "FINAL") {
1538 } else if (counterTemp >= 10) {
1539 AssertionResult.setFailureMessage("SON 01 Failure, reached maximum number of 10 attempts ");
1540 AssertionResult.setFailure(true);
1543 vars.put("counterO1", Integer.toString(counterTemp));
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">{
1557 "body": {
1558 "output": {
1559 "CommonHeader": {
1560 "TimeStamp": "2022-08-10T07:10:05.614Z",
1561 "APIver": "1.0",
1562 "RequestID": "${requestId}",
1563 "SubRequestID": "${subRequestId}",
1564 "RequestTrack": [],
1565 "Flags": []
1567 "Status": {
1568 "Code": 200,
1569 "Value": "SUCCESS"
1571 "Payload": "{ \"Configurations\":[ { \"Status\": { \"Code\": 200, \"Value\": \"SUCCESS\" }, \"data\":{\"FAPService\":{\"alias\":\"Chn0330\",\"X0005b9Lte\":{\"phyCellIdInUse\":6,\"pnfName\":\"ncserver23\"},\"CellConfig\":{\"LTE\":{\"RAN\":{\"Common\":{\"CellIdentity\":\"Chn0330\"}}}}}} } ] }"
1574 "version": "1.0",
1575 "rpc-name": "ModifyO1Config",
1576 "correlation-id": "${correlationId}",
1577 "type": "response"
1581 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
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("counterO1", "0");</stringProp>
1618 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
1619 <stringProp name="WhileController.condition">${__javaScript(${counterO1} < 60)}</stringProp>
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">{"class":"And", "filters": [ { "class":"Equals", "field":"requestId", "value":"${requestId}" }, { "class":"Equals", "field":"notification", "value":"FINAL: SUCCESS" }]}</stringProp>
1628 <stringProp name="Argument.metadata">=</stringProp>
1629 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1630 <stringProp name="Argument.name">filter</stringProp>
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&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>
1649 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1650 <collectionProp name="Asserion.test_strings">
1651 <stringProp name="2914">[]</stringProp>
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>
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\\": \\"(.+?)\\"</stringProp>
1663 <stringProp name="RegexExtractor.template">$1$</stringProp>
1664 <stringProp name="RegexExtractor.default">none</stringProp>
1665 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"FINAL: (.+?)\\"</stringProp>
1672 <stringProp name="RegexExtractor.template">$1$</stringProp>
1673 <stringProp name="RegexExtractor.default">none</stringProp>
1674 <stringProp name="RegexExtractor.match_number"></stringProp>
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("requestIdOnset");
1683 String requestId = vars.get("requestId");
1684 String notification = vars.get("notification");
1685 String counter = vars.get("counterO1");
1687 String transaction = "none";
1689 log.info ("The requestId id is " + requestId);
1690 log.info ("The requestIdOnset id is " + requestIdOnset);
1691 log.info ("The notification is " + notification);
1692 log.info ("The transaction is " + transaction);
1693 log.info ("The counter is " + counter);
1695 if ( requestId == requestIdOnset ) {
1696 if ( notification == "SUCCESS" ) {
1697 transaction = "FINAL";
1698 log.info ("Final Success Transaction");
1699 log.info ("The notification is SUCCESS");
1700 } else if ( notification == "FAILURE" ) {
1701 transaction = "FINAL";
1702 log.info ("Final Failure Transaction");
1703 AssertionResult.setFailureMessage("Bad final notification");
1704 AssertionResult.setFailure(true);
1708 int counterTemp = Integer.parseInt(counter) +1;
1709 if (transaction == "FINAL") {
1711 } else if (counterTemp >= 60) {
1712 AssertionResult.setFailureMessage("vCPE Success POLICYCL Failure, reached maximum number of attempts ");
1713 AssertionResult.setFailure(true);
1716 vars.put("counterO1", Integer.toString(counterTemp));</stringProp>
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>
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>
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>
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>
1746 <collectionProp name="UserParameters.thread_values">
1747 <collectionProp name="1059562701">
1748 <stringProp name="109619490">sonA1</stringProp>
1751 <boolProp name="UserParameters.per_iteration">false</boolProp>
1752 <stringProp name="TestPlan.comments">Global to the thread group</stringProp>
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>
1759 <collectionProp name="UserParameters.thread_values">
1760 <collectionProp name="681405977">
1761 <stringProp name="118040362">${__UUID()}</stringProp>
1764 <boolProp name="UserParameters.per_iteration">true</boolProp>
1765 <stringProp name="TestPlan.comments">Update on a per iteration basis</stringProp>
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">{
1775 "closedLoopControlName": "ControlLoop-SONA1-7d4baf04-8875-4d1f-946d-06b874048b61",
1776 "closedLoopAlarmStart": 1606805921693,
1777 "closedLoopEventClient": "microservice.SONH",
1778 "closedLoopEventStatus": "ONSET",
1779 "requestID": "${requestId}",
1780 "target_type": "PNF",
1781 "target": "pnf.pnf-name",
1782 "AAI": {
1783 "generic-vnf.prov-status": "ACTIVE",
1784 "generic-vnf.is-closed-loop-disabled": "false",
1785 "pnf.pnf-name": "ncserver2"
1787 "from": "SONHMS",
1788 "version": "1.0.2",
1789 "policyName": "SONA1",
1790 "policyVersion": "1.0.2",
1791 "Action": "ModifyA1Policy",
1792 "payload": "{ \"Configurations\":[ { \"data\":{ \"FAPService\":{ \"alias\":\"Cell1\", \"CellConfig\":{ \"LTE\":{ \"RAN\":{ \"Common\":{ \"CellIdentity\":\"1\" }, \"NeighborListInUse\" : { \"LTECellNumberOfEntries\" : \"1\" , \"LTECell\" : [{ \"PLMNID\" :\"plmnid1\", \"CID\":\"Chn0001\", \"PhyCellID\":\"3\", \"PNFName\":\"ncserver01\", \"Blacklisted\":\"false\"}] } } } } } } } ] }"
1794 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
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("counterA1", "0");</stringProp>
1831 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="SDNR-CL ModifyA1Config" enabled="true">
1832 <stringProp name="WhileController.condition">${__javaScript(${counterA1} < 10)}</stringProp>
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">{"class":"And", "filters": [ { "class":"Equals", "field":"request-id", "value":"${requestId}" }, { "class":"Equals", "field":"rpc-name", "value":"modifya1config" }]}</stringProp>
1841 <stringProp name="Argument.metadata">=</stringProp>
1842 <boolProp name="HTTPArgument.use_equals">true</boolProp>
1843 <stringProp name="Argument.name">filter</stringProp>
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&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>
1862 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
1863 <collectionProp name="Asserion.test_strings">
1864 <stringProp name="2914">[]</stringProp>
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>
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">\\"RequestID\\": \\"(.+?)\\"</stringProp>
1876 <stringProp name="RegexExtractor.template">$1$</stringProp>
1877 <stringProp name="RegexExtractor.default">none</stringProp>
1878 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"(.+?)\\"</stringProp>
1885 <stringProp name="RegexExtractor.template">$1$</stringProp>
1886 <stringProp name="RegexExtractor.default">none</stringProp>
1887 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"(.+?)\\"</stringProp>
1894 <stringProp name="RegexExtractor.template">$1$</stringProp>
1895 <stringProp name="RegexExtractor.default">none</stringProp>
1896 <stringProp name="RegexExtractor.match_number"></stringProp>
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("requestIdOnset");
1905 String requestId = vars.get("requestId");
1906 String correlationId = vars.get("correlationId");
1907 String subRequestId = vars.get("subRequestId");
1908 String counter = vars.get("counterA1");
1910 String transaction = "none";
1912 log.info ("The requestId id is " + requestId);
1913 log.info ("The requestIdOnset id is " + requestIdOnset);
1914 log.info ("The correlation id is " + correlationId);
1915 log.info ("The subrequest id is " + subRequestId);
1916 log.info ("The counter is " + counter);
1918 if ( requestId == requestIdOnset ) {
1919 if ( correlationId == "none" || subRequestId == "none" ) {
1920 transaction = "FINAL";
1921 log.info ("Final Failure Transaction");
1922 AssertionResult.setFailureMessage("Missing correlationId or subRequestId");
1923 AssertionResult.setFailure(true);
1925 transaction = "FINAL";
1926 vars.put("transaction", "FINAL");
1927 log.info ("Final Success Transaction");
1931 int counterTemp = Integer.parseInt(counter) +1;
1932 if (transaction == "FINAL") {
1934 } else if (counterTemp >= 10) {
1935 AssertionResult.setFailureMessage("SON A1 Success SDNR-CL Failure, reached maximum number of 10 attempts ");
1936 AssertionResult.setFailure(true);
1939 vars.put("counterA1", Integer.toString(counterTemp));
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">{
1953 "body": {
1954 "output": {
1955 "CommonHeader": {
1956 "TimeStamp": "2022-09-10T07:10:05.614Z",
1957 "APIver": "1.0",
1958 "RequestID": "${requestId}",
1959 "SubRequestID": "${subRequestId}",
1960 "RequestTrack": [],
1961 "Flags": []
1963 "Status": {
1964 "Code": 200,
1965 "Value": "SUCCESS"
1967 "Payload": "{ \"Configurations\":[ { \"Status\": { \"Code\": 200, \"Value\": \"SUCCESS\" }, \"data\":{ \"FAPService\":{ \"alias\":\"Cell1\", \"CellConfig\":{ \"LTE\":{ \"RAN\":{ \"Common\":{ \"CellIdentity\":\"1\" }, \"NeighborListInUse\" : { \"LTECellNumberOfEntries\" : \"1\" , \"LTECell\" : [{ \"PLMNID\" :\"plmnid1\", \"CID\":\"Chn0001\", \"PhyCellID\":\"3\", \"PNFName\":\"ncserver01\", \"Blacklisted\":\"false\"}] } } } } } } } ] }"
1970 "version": "1.0",
1971 "rpc-name": "ModifyA1Policy",
1972 "correlation-id": "${correlationId}",
1973 "type": "response"
1975 <stringProp name="Argument.metadata">=</stringProp>
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>
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>
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("counterA1", "0");</stringProp>
2012 <WhileController guiclass="WhileControllerGui" testclass="WhileController" testname="Final Success Controller" enabled="true">
2013 <stringProp name="WhileController.condition">${__javaScript(${counterA1} < 60)}</stringProp>
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">{"class":"And", "filters": [ { "class":"Equals", "field":"requestId", "value":"${requestId}" }, { "class":"Equals", "field":"notification", "value":"FINAL: SUCCESS" }]}</stringProp>
2022 <stringProp name="Argument.metadata">=</stringProp>
2023 <boolProp name="HTTPArgument.use_equals">true</boolProp>
2024 <stringProp name="Argument.name">filter</stringProp>
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&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>
2043 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="No []" enabled="true">
2044 <collectionProp name="Asserion.test_strings">
2045 <stringProp name="2914">[]</stringProp>
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>
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\\": \\"(.+?)\\"</stringProp>
2057 <stringProp name="RegexExtractor.template">$1$</stringProp>
2058 <stringProp name="RegexExtractor.default">none</stringProp>
2059 <stringProp name="RegexExtractor.match_number"></stringProp>
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\\": \\"FINAL: (.+?)\\"</stringProp>
2066 <stringProp name="RegexExtractor.template">$1$</stringProp>
2067 <stringProp name="RegexExtractor.default">none</stringProp>
2068 <stringProp name="RegexExtractor.match_number"></stringProp>
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("requestIdOnset");
2077 String requestId = vars.get("requestId");
2078 String notification = vars.get("notification");
2079 String counter = vars.get("counterA1");
2081 String transaction = "none";
2083 log.info ("The requestId id is " + requestId);
2084 log.info ("The requestIdOnset id is " + requestIdOnset);
2085 log.info ("The notification is " + notification);
2086 log.info ("The transaction is " + transaction);
2087 log.info ("The counter is " + counter);
2089 if ( requestId == requestIdOnset ) {
2090 if ( notification == "SUCCESS" ) {
2091 transaction = "FINAL";
2092 log.info ("Final Success Transaction");
2093 log.info ("The notification is SUCCESS");
2094 } else if ( notification == "FAILURE" ) {
2095 transaction = "FINAL";
2096 log.info ("Final Failure Transaction");
2097 AssertionResult.setFailureMessage("Bad final notification");
2098 AssertionResult.setFailure(true);
2102 int counterTemp = Integer.parseInt(counter) +1;
2103 if (transaction == "FINAL") {
2105 } else if (counterTemp >= 60) {
2106 AssertionResult.setFailureMessage("vCPE Success POLICYCL Failure, reached maximum number of attempts ");
2107 AssertionResult.setFailure(true);
2110 vars.put("counterA1", Integer.toString(counterTemp));</stringProp>
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>
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>
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>
2136 <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="PAP" enabled="true"/>
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"/>
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>
2157 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2158 <collectionProp name="Asserion.test_strings">
2159 <stringProp name="49588">202</stringProp>
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>
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"/>
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>
2187 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2188 <collectionProp name="Asserion.test_strings">
2189 <stringProp name="49588">202</stringProp>
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>
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"/>
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>
2217 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2218 <collectionProp name="Asserion.test_strings">
2219 <stringProp name="49588">202</stringProp>
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>
2229 <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="API" enabled="true"/>
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"/>
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>
2250 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2251 <collectionProp name="Asserion.test_strings">
2252 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
2280 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2281 <collectionProp name="Asserion.test_strings">
2282 <stringProp name="49586">200</stringProp>
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>
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"/>
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>
2310 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2311 <collectionProp name="Asserion.test_strings">
2312 <stringProp name="49586">200</stringProp>
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>