1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.1.1 r1855137">
4 <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy XACML PDP Stability" enabled="true">
5 <stringProp name="TestPlan.comments">Policy XACML PDP Stability Tests</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="DURATION" elementType="Argument">
12 <stringProp name="Argument.name">DURATION</stringProp>
13 <stringProp name="Argument.value">${__P(duration, 5)}</stringProp>
14 <stringProp name="Argument.metadata">=</stringProp>
16 <elementProp name="USERS" elementType="Argument">
17 <stringProp name="Argument.name">USERS</stringProp>
18 <stringProp name="Argument.value">${__P(users, 10)}</stringProp>
19 <stringProp name="Argument.metadata">=</stringProp>
21 <elementProp name="API_HOST" elementType="Argument">
22 <stringProp name="Argument.name">API_HOST</stringProp>
23 <stringProp name="Argument.value">${__P(api_ip)}</stringProp>
24 <stringProp name="Argument.metadata">=</stringProp>
26 <elementProp name="PAP_HOST" elementType="Argument">
27 <stringProp name="Argument.name">PAP_HOST</stringProp>
28 <stringProp name="Argument.value">${__P(pap_ip)}</stringProp>
29 <stringProp name="Argument.metadata">=</stringProp>
31 <elementProp name="XACML_HOST" elementType="Argument">
32 <stringProp name="Argument.name">XACML_HOST</stringProp>
33 <stringProp name="Argument.value">${__P(xacml_ip)}</stringProp>
34 <stringProp name="Argument.metadata">=</stringProp>
36 <elementProp name="API_PORT" elementType="Argument">
37 <stringProp name="Argument.name">API_PORT</stringProp>
38 <stringProp name="Argument.value">31949</stringProp>
39 <stringProp name="Argument.metadata">=</stringProp>
41 <elementProp name="PAP_PORT" elementType="Argument">
42 <stringProp name="Argument.name">PAP_PORT</stringProp>
43 <stringProp name="Argument.value">${__P(pap_port, 6969)}</stringProp>
44 <stringProp name="Argument.metadata">=</stringProp>
46 <elementProp name="XACML_PORT" elementType="Argument">
47 <stringProp name="Argument.name">XACML_PORT</stringProp>
48 <stringProp name="Argument.value">${__P(xacml_port, 6969)}</stringProp>
49 <stringProp name="Argument.metadata">=</stringProp>
53 <stringProp name="TestPlan.user_define_classpath"></stringProp>
56 <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
57 <collectionProp name="HeaderManager.headers">
58 <elementProp name="" elementType="Header">
59 <stringProp name="Header.name">Content-Type</stringProp>
60 <stringProp name="Header.value">application/json</stringProp>
62 <elementProp name="" elementType="Header">
63 <stringProp name="Header.name">Accept</stringProp>
64 <stringProp name="Header.value">application/json</stringProp>
69 <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
70 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
71 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
72 <boolProp name="LoopController.continue_forever">false</boolProp>
73 <stringProp name="LoopController.loops">1</stringProp>
75 <stringProp name="ThreadGroup.num_threads">1</stringProp>
76 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
77 <boolProp name="ThreadGroup.scheduler">false</boolProp>
78 <stringProp name="ThreadGroup.duration"></stringProp>
79 <stringProp name="ThreadGroup.delay"></stringProp>
80 <longProp name="ThreadGroup.start_time">1587409928000</longProp>
81 <longProp name="ThreadGroup.end_time">1587409928000</longProp>
82 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
85 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Monitoring Policy" enabled="true">
86 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
87 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
88 <collectionProp name="Arguments.arguments">
89 <elementProp name="" elementType="HTTPArgument">
90 <boolProp name="HTTPArgument.always_encode">false</boolProp>
91 <stringProp name="Argument.value">{
92 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
93 "topology_template": {
94 "policies": [
96 "onap.restart.tca": {
97 "type": "onap.policies.monitoring.tcagen2",
98 "type_version": "1.0.0",
99 "version": "1.0.0",
100 "metadata": {
101 "policy-id": "onap.restart.tca"
103 "properties": {
104 "tca_policy" : {
105 "domain": "measurementsForVfScaling",
106 "metricsPerEventName": [
108 "eventName": "Measurement_vGMUX",
109 "controlLoopSchemaType": "VNF",
110 "policyScope": "DCAE",
111 "policyName": "DCAE.Config_tca-hi-lo",
112 "policyVersion": "v0.0.1",
113 "thresholds": [
115 "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
116 "version": "1.0.2",
117 "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value",
118 "thresholdValue": 0,
119 "direction": "EQUAL",
120 "severity": "MAJOR",
121 "closedLoopEventStatus": "ABATED"
124 "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
125 "version": "1.0.2",
126 "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value",
127 "thresholdValue": 0,
128 "direction": "GREATER",
129 "severity": "CRITICAL",
130 "closedLoopEventStatus": "ONSET"
142 <stringProp name="Argument.metadata">=</stringProp>
146 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
147 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
148 <stringProp name="HTTPSampler.protocol">https</stringProp>
149 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
150 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.tcagen2/versions/1.0.0/policies</stringProp>
151 <stringProp name="HTTPSampler.method">POST</stringProp>
152 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
153 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
154 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
155 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
156 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
157 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
158 <stringProp name="HTTPSampler.response_timeout"></stringProp>
161 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
162 <collectionProp name="AuthManager.auth_list">
163 <elementProp name="" elementType="Authorization">
164 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
165 <stringProp name="Authorization.username">healthcheck</stringProp>
166 <stringProp name="Authorization.password">zb!XztG34</stringProp>
167 <stringProp name="Authorization.domain"></stringProp>
168 <stringProp name="Authorization.realm"></stringProp>
171 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
172 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
175 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
176 <collectionProp name="Asserion.test_strings">
177 <stringProp name="49586">200</stringProp>
179 <stringProp name="Assertion.custom_message"></stringProp>
180 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
181 <boolProp name="Assertion.assume_success">false</boolProp>
182 <intProp name="Assertion.test_type">8</intProp>
186 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Optimization Policy" enabled="true">
187 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
188 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
189 <collectionProp name="Arguments.arguments">
190 <elementProp name="" elementType="HTTPArgument">
191 <boolProp name="HTTPArgument.always_encode">false</boolProp>
192 <stringProp name="Argument.value">{
193 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
194 "topology_template": {
195 "policies": [
197 "OSDF_CASABLANCA.Affinity_Default": {
198 "type": "onap.policies.optimization.resource.AffinityPolicy",
199 "version": "1.0.0",
200 "type_version": "1.0.0",
201 "metadata": {
202 "policy-id": "OSDF_CASABLANCA.Affinity_Default",
203 "policy-version": 1
205 "properties": {
206 "scope": [],
207 "services": [],
208 "resources": [],
209 "geography": [],
210 "identity": "affinity_vCPE",
211 "applicableResources": "any",
212 "affinityProperties": {
213 "qualifier": "same",
214 "category": "complex"
220 "OSDF_CASABLANCA.Affinity_Default_US": {
221 "type": "onap.policies.optimization.resource.AffinityPolicy",
222 "version": "1.0.0",
223 "type_version": "1.0.0",
224 "metadata": {
225 "policy-id": "OSDF_CASABLANCA.Affinity_Default_US",
226 "policy-version": 1
228 "properties": {
229 "scope": [],
230 "services": [],
231 "resources": [],
232 "geography": [
235 "identity": "affinity_vCPE",
236 "applicableResources": "any",
237 "affinityProperties": {
238 "qualifier": "same",
239 "category": "complex"
245 "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0": {
246 "type": "onap.policies.optimization.resource.AffinityPolicy",
247 "version": "1.0.0",
248 "type_version": "1.0.0",
249 "metadata": {
250 "policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
251 "policy-version": 1
253 "properties": {
254 "scope": [],
255 "services": [
256 "vCPE"
258 "resources": [],
259 "geography": [
262 "identity": "affinity_vCPE",
263 "applicableResources": "any",
264 "affinityProperties": {
265 "qualifier": "different",
266 "category": "complex"
272 "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1": {
273 "type": "onap.policies.optimization.resource.AffinityPolicy",
274 "version": "1.0.0",
275 "type_version": "1.0.0",
276 "metadata": {
277 "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
278 "policy-version": 1
280 "properties": {
281 "scope": [
282 "gold"
284 "services": [
285 "vCPE"
287 "resources": [
288 "vGMuxInfra",
291 "geography": [
293 "INTERNATIONAL"
295 "identity": "affinity_vCPE",
296 "applicableResources": "any",
297 "affinityProperties": {
298 "qualifier": "same",
299 "category": "availabilityZone"
305 "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1": {
306 "type": "onap.policies.optimization.resource.AffinityPolicy",
307 "version": "1.0.0",
308 "type_version": "1.0.0",
309 "metadata": {
310 "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
311 "policy-version": 1
313 "properties": {
314 "scope": [
315 "platinum"
317 "services": [
318 "vCPE"
320 "resources": [
321 "vGMuxInfra",
324 "geography": [
326 "INTERNATIONAL"
328 "identity": "affinity_vCPE",
329 "applicableResources": "any",
330 "affinityProperties": {
331 "qualifier": "different",
332 "category": "availabilityZone"
338 "OSDF_CASABLANCA.Capacity_vG_1": {
339 "type": "onap.policies.optimization.resource.Vim_fit",
340 "version": "1.0.0",
341 "type_version": "1.0.0",
342 "metadata": {
343 "policy-id": "OSDF_CASABLANCA.Capacity_vG_1",
344 "policy-version": 1
346 "properties": {
347 "scope": [],
348 "services": [
349 "vCPE"
351 "resources": [
354 "geography": [
356 "INTERNATIONAL"
358 "identity": "capacity_vG",
359 "applicableResources": "any",
360 "capacityProperty": {
361 "controller": "multicloud",
362 "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
368 "OSDF_CASABLANCA.Capacity_vG_2": {
369 "type": "onap.policies.optimization.resource.Vim_fit",
370 "version": "1.0.0",
371 "type_version": "1.0.0",
372 "metadata": {
373 "policy-id": "OSDF_CASABLANCA.Capacity_vG_2",
374 "policy-version": 1
376 "properties": {
377 "scope": [],
378 "services": [
379 "vCPE"
381 "resources": [
384 "geography": [
386 "INTERNATIONAL"
388 "identity": "capacity_vG",
389 "applicableResources": "any",
390 "capacityProperty": {
391 "controller": "multicloud",
392 "request": "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
398 "OSDF_CASABLANCA.Distance_vG_1": {
399 "type": "onap.policies.optimization.resource.DistancePolicy",
400 "version": "1.0.0",
401 "type_version": "1.0.0",
402 "metadata": {
403 "policy-id": "OSDF_CASABLANCA.Distance_vG_1",
404 "policy-version": 1
406 "properties": {
407 "scope": [
408 "platinum"
410 "services": [
411 "vCPE"
413 "resources": [
416 "geography": [
418 "INTERNATIONAL"
420 "identity": "distance-vG",
421 "applicableResources": "any",
422 "distanceProperties": {
423 "locationInfo": "customer_loc",
424 "distance": {
425 "value": 1500,
426 "operator": "<",
427 "unit": "km"
434 "OSDF_CASABLANCA.hpa_policy_Default": {
435 "type": "onap.policies.optimization.resource.HpaPolicy",
436 "version": "1.0.0",
437 "type_version": "1.0.0",
438 "metadata": {
439 "policy-id": "OSDF_CASABLANCA.hpa_policy_Default",
440 "policy-version": 1
442 "properties": {
443 "scope": [],
444 "services": [],
445 "resources": [],
446 "geography": [],
447 "identity": "hpa-vG",
448 "flavorFeatures": [
450 "id": "vg_1",
451 "type": "vnfc",
452 "directives": [
454 "type": "flavor_directives",
455 "attributes": [
457 "attribute_name": "flavor_label_vm_01",
458 "attribute_value": ""
463 "flavorProperties": [
465 "hpa-feature": "basicCapabilities",
466 "mandatory": true,
467 "architecture": "generic",
468 "directives": [],
469 "hpa-feature-attributes": [
471 "hpa-attribute-key": "numVirtualCpu",
472 "hpa-attribute-value": 8,
473 "operator": [
474 ">="
476 "unit": ""
479 "hpa-attribute-key": "virtualMemSize",
480 "hpa-attribute-value": 6,
481 "operator": [
482 "<="
484 "unit": ""
489 "hpa-feature": "ovsDpdk",
490 "mandatory": false,
491 "architecture": "generic",
492 "directives": [],
493 "hpa-feature-attributes": [
495 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
496 "hpa-attribute-value": "ovsDpdk_version",
497 "operator": [
500 "unit": ""
511 "OSDF_CASABLANCA.hpa_policy_vG_1": {
512 "type": "onap.policies.optimization.resource.HpaPolicy",
513 "version": "1.0.0",
514 "type_version": "1.0.0",
515 "metadata": {
516 "policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1",
517 "policy-version": 1
519 "properties": {
520 "scope": [],
521 "services": [
522 "vCPE",
523 "vOtherService"
525 "resources": [
528 "geography": [],
529 "identity": "hpa-vG",
530 "flavorFeatures": [
532 "id": "vg_1",
533 "type": "vnfc",
534 "directives": [
536 "type": "flavor_directives",
537 "attributes": [
539 "attribute_name": "flavor_label_vm_01",
540 "attribute_value": ""
545 "flavorProperties": [
547 "hpa-feature": "basicCapabilities",
548 "mandatory": true,
549 "architecture": "generic",
550 "directives": [],
551 "hpa-feature-attributes": [
553 "hpa-attribute-key": "numVirtualCpu",
554 "hpa-attribute-value": 6,
555 "operator": [
556 ">="
558 "unit": ""
561 "hpa-attribute-key": "virtualMemSize",
562 "hpa-attribute-value": 4,
563 "operator": [
564 "<="
566 "unit": ""
571 "hpa-feature": "ovsDpdk",
572 "mandatory": false,
573 "architecture": "generic",
574 "directives": [],
575 "hpa-feature-attributes": [
577 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
578 "hpa-attribute-value": "ovsDpdk_version",
579 "operator": [
582 "unit": ""
593 "OSDF_CASABLANCA.queryPolicy_vCPE": {
594 "type": "onap.policies.optimization.service.QueryPolicy",
595 "version": "1.0.0",
596 "type_version": "1.0.0",
597 "metadata": {
598 "policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE",
599 "policy-version": 1
601 "properties": {
602 "scope": [],
603 "services": [
604 "vCPE"
606 "geography": [
608 "INTERNATIONAL"
610 "identity": "vCPE_Query_Policy",
611 "queryProperties": [
613 "attribute": "locationId",
614 "attribute_location": "customerLocation",
615 "value": ""
618 "attribute": "id",
619 "attribute_location": "vpnInfo.vpnId",
620 "value": ""
623 "attribute": "upstreamBW",
624 "attribute_location": "vpnInfo.upstreamBW",
625 "value": ""
628 "attribute": "customerLatitude",
629 "attribute_location": "customerLatitude",
630 "value": 1.1
633 "attribute": "customerLongitude",
634 "attribute_location": "customerLongitude",
635 "value": 2.2
642 "OSDF_CASABLANCA.SubscriberPolicy_v1": {
643 "type": "onap.policies.optimization.service.SubscriberPolicy",
644 "version": "1.0.0",
645 "type_version": "1.0.0",
646 "metadata": {
647 "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1",
648 "policy-version": 1
650 "properties": {
651 "scope": [],
652 "services": [
653 "vCPE"
655 "identity": "subscriber_vCPE",
656 "subscriberProperties": {
657 "subscriberName": [
658 "subscriber_x",
659 "subscriber_y"
661 "subscriberRole": [
662 "platinum"
664 "provStatus": [
665 "CAPPED"
672 "OSDF_CASABLANCA.SubscriberPolicy_v2": {
673 "type": "onap.policies.optimization.service.SubscriberPolicy",
674 "version": "1.0.0",
675 "type_version": "1.0.0",
676 "metadata": {
677 "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2",
678 "policy-version": 1
680 "properties": {
681 "scope": [],
682 "services": [
683 "vCPE"
685 "identity": "subscriber_vCPE",
686 "subscriberProperties": {
687 "subscriberName": [
688 "subscriber_a",
689 "subscriber_b"
691 "subscriberRole": [
692 "gold"
694 "provStatus": [
695 "CAPPED"
702 "OSDF_CASABLANCA.vnfPolicy_vG": {
703 "type": "onap.policies.optimization.resource.VnfPolicy",
704 "version": "1.0.0",
705 "type_version": "1.0.0",
706 "metadata": {
707 "policy-id": "OSDF_CASABLANCA.vnfPolicy_vG",
708 "policy-version": 1
710 "properties": {
711 "scope": [],
712 "services": [
713 "vCPE"
715 "resources": [
718 "geography": [
720 "INTERNATIONAL"
722 "identity": "vnf_vG",
723 "applicableResources": "any",
724 "vnfProperties": [
726 "inventoryProvider": "aai",
727 "serviceType": "",
728 "inventoryType": "cloudRegionId",
729 "customerId": ""
738 <stringProp name="Argument.metadata">=</stringProp>
742 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
743 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
744 <stringProp name="HTTPSampler.protocol">https</stringProp>
745 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
746 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies</stringProp>
747 <stringProp name="HTTPSampler.method">POST</stringProp>
748 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
749 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
750 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
751 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
752 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
753 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
754 <stringProp name="HTTPSampler.response_timeout"></stringProp>
757 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
758 <collectionProp name="AuthManager.auth_list">
759 <elementProp name="" elementType="Authorization">
760 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
761 <stringProp name="Authorization.username">healthcheck</stringProp>
762 <stringProp name="Authorization.password">zb!XztG34</stringProp>
763 <stringProp name="Authorization.domain"></stringProp>
764 <stringProp name="Authorization.realm"></stringProp>
767 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
768 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
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="Create Min/Max Guard Policy" enabled="true">
783 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
784 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
785 <collectionProp name="Arguments.arguments">
786 <elementProp name="" elementType="HTTPArgument">
787 <boolProp name="HTTPArgument.always_encode">false</boolProp>
788 <stringProp name="Argument.value">{
789 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
790 "topology_template": {
791 "policies": [
793 "guard.minmax.scaleout": {
794 "type": "onap.policies.controlloop.guard.common.MinMax",
795 "type_version": "1.0.0",
796 "version": "1.0.0",
797 "metadata": {
798 "policy-id": "guard.minmax.scaleout"
800 "properties": {
801 "actor": "SO",
802 "operation": "VF Module Create",
803 "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
804 "target": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e",
805 "min": 1,
806 "max": 2
813 <stringProp name="Argument.metadata">=</stringProp>
817 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
818 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
819 <stringProp name="HTTPSampler.protocol">https</stringProp>
820 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
821 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies</stringProp>
822 <stringProp name="HTTPSampler.method">POST</stringProp>
823 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
824 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
825 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
826 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
827 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
828 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
829 <stringProp name="HTTPSampler.response_timeout"></stringProp>
832 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
833 <collectionProp name="AuthManager.auth_list">
834 <elementProp name="" elementType="Authorization">
835 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
836 <stringProp name="Authorization.username">healthcheck</stringProp>
837 <stringProp name="Authorization.password">zb!XztG34</stringProp>
838 <stringProp name="Authorization.domain"></stringProp>
839 <stringProp name="Authorization.realm"></stringProp>
842 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
843 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
846 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
847 <collectionProp name="Asserion.test_strings">
848 <stringProp name="49586">200</stringProp>
850 <stringProp name="Assertion.custom_message"></stringProp>
851 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
852 <boolProp name="Assertion.assume_success">false</boolProp>
853 <intProp name="Assertion.test_type">8</intProp>
857 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Frequency Limiter Guard Policy" enabled="true">
858 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
859 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
860 <collectionProp name="Arguments.arguments">
861 <elementProp name="" elementType="HTTPArgument">
862 <boolProp name="HTTPArgument.always_encode">false</boolProp>
863 <stringProp name="Argument.value">{
864 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
865 "topology_template": {
866 "policies": [
868 "guard.frequency.scaleout": {
869 "type": "onap.policies.controlloop.guard.common.FrequencyLimiter",
870 "type_version": "1.0.0",
871 "version": "1.0.0",
872 "metadata": {
873 "policy-id": "guard.frequency.scaleout"
875 "properties": {
876 "actor": "SO",
877 "operation": "VF Module Create",
878 "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
879 "timeWindow": 10,
880 "timeUnits": "minute",
881 "limit": 1
888 <stringProp name="Argument.metadata">=</stringProp>
892 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
893 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
894 <stringProp name="HTTPSampler.protocol">https</stringProp>
895 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
896 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies</stringProp>
897 <stringProp name="HTTPSampler.method">POST</stringProp>
898 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
899 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
900 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
901 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
902 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
903 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
904 <stringProp name="HTTPSampler.response_timeout"></stringProp>
907 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
908 <collectionProp name="AuthManager.auth_list">
909 <elementProp name="" elementType="Authorization">
910 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
911 <stringProp name="Authorization.username">healthcheck</stringProp>
912 <stringProp name="Authorization.password">zb!XztG34</stringProp>
913 <stringProp name="Authorization.domain"></stringProp>
914 <stringProp name="Authorization.realm"></stringProp>
917 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
918 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
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>
932 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Monitoring Policy" enabled="true">
933 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
934 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
935 <collectionProp name="Arguments.arguments">
936 <elementProp name="" elementType="HTTPArgument">
937 <boolProp name="HTTPArgument.always_encode">false</boolProp>
938 <stringProp name="Argument.value">{"policies":[{"policy-id":"onap.restart.tca"}]}</stringProp>
939 <stringProp name="Argument.metadata">=</stringProp>
943 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
944 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
945 <stringProp name="HTTPSampler.protocol">https</stringProp>
946 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
947 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
948 <stringProp name="HTTPSampler.method">POST</stringProp>
949 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
950 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
951 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
952 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
953 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
954 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
955 <stringProp name="HTTPSampler.response_timeout"></stringProp>
958 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
959 <collectionProp name="AuthManager.auth_list">
960 <elementProp name="" elementType="Authorization">
961 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
962 <stringProp name="Authorization.username">healthcheck</stringProp>
963 <stringProp name="Authorization.password">zb!XztG34</stringProp>
964 <stringProp name="Authorization.domain"></stringProp>
965 <stringProp name="Authorization.realm"></stringProp>
968 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
969 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
972 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
973 <collectionProp name="Asserion.test_strings">
974 <stringProp name="49588">202</stringProp>
976 <stringProp name="Assertion.custom_message"></stringProp>
977 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
978 <boolProp name="Assertion.assume_success">false</boolProp>
979 <intProp name="Assertion.test_type">8</intProp>
983 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Optimization Policy" enabled="true">
984 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
985 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
986 <collectionProp name="Arguments.arguments">
987 <elementProp name="" elementType="HTTPArgument">
988 <boolProp name="HTTPArgument.always_encode">false</boolProp>
989 <stringProp name="Argument.value">{"policies":[{"policy-id":"OSDF_CASABLANCA.Affinity_Default"}]}</stringProp>
990 <stringProp name="Argument.metadata">=</stringProp>
994 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
995 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
996 <stringProp name="HTTPSampler.protocol">https</stringProp>
997 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
998 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
999 <stringProp name="HTTPSampler.method">POST</stringProp>
1000 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1001 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1002 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1003 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1004 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1005 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1006 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1009 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1010 <collectionProp name="AuthManager.auth_list">
1011 <elementProp name="" elementType="Authorization">
1012 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1013 <stringProp name="Authorization.username">healthcheck</stringProp>
1014 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1015 <stringProp name="Authorization.domain"></stringProp>
1016 <stringProp name="Authorization.realm"></stringProp>
1019 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1020 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1023 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1024 <collectionProp name="Asserion.test_strings">
1025 <stringProp name="49588">202</stringProp>
1027 <stringProp name="Assertion.custom_message"></stringProp>
1028 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1029 <boolProp name="Assertion.assume_success">false</boolProp>
1030 <intProp name="Assertion.test_type">8</intProp>
1031 </ResponseAssertion>
1034 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Min/Max Policy" enabled="true">
1035 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1036 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1037 <collectionProp name="Arguments.arguments">
1038 <elementProp name="" elementType="HTTPArgument">
1039 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1040 <stringProp name="Argument.value">{"policies":[{"policy-id":"guard.minmax.scaleout"}]}</stringProp>
1041 <stringProp name="Argument.metadata">=</stringProp>
1045 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1046 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1047 <stringProp name="HTTPSampler.protocol">https</stringProp>
1048 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1049 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
1050 <stringProp name="HTTPSampler.method">POST</stringProp>
1051 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1052 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1053 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1054 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1055 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1056 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1057 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1060 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1061 <collectionProp name="AuthManager.auth_list">
1062 <elementProp name="" elementType="Authorization">
1063 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1064 <stringProp name="Authorization.username">healthcheck</stringProp>
1065 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1066 <stringProp name="Authorization.domain"></stringProp>
1067 <stringProp name="Authorization.realm"></stringProp>
1070 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1071 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1074 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1075 <collectionProp name="Asserion.test_strings">
1076 <stringProp name="49588">202</stringProp>
1078 <stringProp name="Assertion.custom_message"></stringProp>
1079 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1080 <boolProp name="Assertion.assume_success">false</boolProp>
1081 <intProp name="Assertion.test_type">8</intProp>
1082 </ResponseAssertion>
1085 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Frequency Limiter Policy" enabled="true">
1086 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1087 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1088 <collectionProp name="Arguments.arguments">
1089 <elementProp name="" elementType="HTTPArgument">
1090 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1091 <stringProp name="Argument.value">{"policies":[{"policy-id":"guard.frequency.scaleout"}]}</stringProp>
1092 <stringProp name="Argument.metadata">=</stringProp>
1096 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1097 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1098 <stringProp name="HTTPSampler.protocol">https</stringProp>
1099 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1100 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
1101 <stringProp name="HTTPSampler.method">POST</stringProp>
1102 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1103 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1104 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1105 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1106 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1107 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1108 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1111 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1112 <collectionProp name="AuthManager.auth_list">
1113 <elementProp name="" elementType="Authorization">
1114 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1115 <stringProp name="Authorization.username">healthcheck</stringProp>
1116 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1117 <stringProp name="Authorization.domain"></stringProp>
1118 <stringProp name="Authorization.realm"></stringProp>
1121 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1122 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1125 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1126 <collectionProp name="Asserion.test_strings">
1127 <stringProp name="49588">202</stringProp>
1129 <stringProp name="Assertion.custom_message"></stringProp>
1130 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1131 <boolProp name="Assertion.assume_success">false</boolProp>
1132 <intProp name="Assertion.test_type">8</intProp>
1133 </ResponseAssertion>
1136 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1137 <boolProp name="ResultCollector.error_logging">false</boolProp>
1139 <name>saveConfig</name>
1140 <value class="SampleSaveConfiguration">
1142 <latency>true</latency>
1143 <timestamp>true</timestamp>
1144 <success>true</success>
1147 <message>true</message>
1148 <threadName>true</threadName>
1149 <dataType>true</dataType>
1150 <encoding>false</encoding>
1151 <assertions>true</assertions>
1152 <subresults>true</subresults>
1153 <responseData>false</responseData>
1154 <samplerData>false</samplerData>
1156 <fieldNames>true</fieldNames>
1157 <responseHeaders>false</responseHeaders>
1158 <requestHeaders>false</requestHeaders>
1159 <responseDataOnError>false</responseDataOnError>
1160 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1161 <assertionsResultsToSave>0</assertionsResultsToSave>
1163 <sentBytes>true</sentBytes>
1165 <threadCounts>true</threadCounts>
1166 <idleTime>true</idleTime>
1167 <connectTime>true</connectTime>
1170 <stringProp name="filename"></stringProp>
1174 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Policy XACML PDP Health Check " enabled="true">
1175 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1176 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1177 <boolProp name="LoopController.continue_forever">false</boolProp>
1178 <intProp name="LoopController.loops">-1</intProp>
1180 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
1181 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
1182 <boolProp name="ThreadGroup.scheduler">true</boolProp>
1183 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
1184 <stringProp name="ThreadGroup.delay">1</stringProp>
1185 <longProp name="ThreadGroup.start_time">1587409928000</longProp>
1186 <longProp name="ThreadGroup.end_time">1587409928000</longProp>
1187 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1190 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true">
1191 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1192 <collectionProp name="Arguments.arguments"/>
1194 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1195 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1196 <stringProp name="HTTPSampler.protocol">https</stringProp>
1197 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1198 <stringProp name="HTTPSampler.path">policy/pdpx/v1/healthcheck</stringProp>
1199 <stringProp name="HTTPSampler.method">GET</stringProp>
1200 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1201 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1202 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1203 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1204 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1205 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1206 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1207 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
1210 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1211 <collectionProp name="Asserion.test_strings">
1212 <stringProp name="49586">200</stringProp>
1214 <stringProp name="Assertion.custom_message"></stringProp>
1215 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1216 <boolProp name="Assertion.assume_success">false</boolProp>
1217 <intProp name="Assertion.test_type">8</intProp>
1218 <stringProp name="Assertion.scope">all</stringProp>
1219 </ResponseAssertion>
1221 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1222 <stringProp name="scriptLanguage">groovy</stringProp>
1223 <stringProp name="parameters"></stringProp>
1224 <stringProp name="filename"></stringProp>
1225 <stringProp name="cacheKey">true</stringProp>
1226 <stringProp name="script">import groovy.json.JsonSlurper;
1229 if (prev.getResponseCode() == '200') {
1230 def jsonSlurper = new JsonSlurper();
1231 res = jsonSlurper.parseText(prev.getResponseDataAsString());
1233 assert res instanceof Map;
1234 assert res.code == 200;
1240 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1241 <collectionProp name="AuthManager.auth_list">
1242 <elementProp name="" elementType="Authorization">
1243 <stringProp name="Authorization.url">https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp>
1244 <stringProp name="Authorization.username">healthcheck</stringProp>
1245 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1246 <stringProp name="Authorization.domain"></stringProp>
1247 <stringProp name="Authorization.realm"></stringProp>
1250 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1251 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1254 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1255 <boolProp name="ResultCollector.error_logging">false</boolProp>
1257 <name>saveConfig</name>
1258 <value class="SampleSaveConfiguration">
1260 <latency>true</latency>
1261 <timestamp>true</timestamp>
1262 <success>true</success>
1265 <message>true</message>
1266 <threadName>true</threadName>
1267 <dataType>true</dataType>
1268 <encoding>false</encoding>
1269 <assertions>true</assertions>
1270 <subresults>true</subresults>
1271 <responseData>false</responseData>
1272 <samplerData>false</samplerData>
1274 <fieldNames>true</fieldNames>
1275 <responseHeaders>false</responseHeaders>
1276 <requestHeaders>false</requestHeaders>
1277 <responseDataOnError>false</responseDataOnError>
1278 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1279 <assertionsResultsToSave>0</assertionsResultsToSave>
1281 <sentBytes>true</sentBytes>
1283 <threadCounts>true</threadCounts>
1284 <idleTime>true</idleTime>
1285 <connectTime>true</connectTime>
1288 <stringProp name="filename">/tmp/pdpx_stability_health.log</stringProp>
1289 <stringProp name="TestPlan.comments"> </stringProp>
1293 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Statistics Check " enabled="true">
1294 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1295 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1296 <boolProp name="LoopController.continue_forever">false</boolProp>
1297 <intProp name="LoopController.loops">-1</intProp>
1299 <stringProp name="ThreadGroup.num_threads">1</stringProp>
1300 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
1301 <boolProp name="ThreadGroup.scheduler">true</boolProp>
1302 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
1303 <stringProp name="ThreadGroup.delay">1</stringProp>
1304 <longProp name="ThreadGroup.start_time">1587409928000</longProp>
1305 <longProp name="ThreadGroup.end_time">1587409928000</longProp>
1306 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1309 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Statistics" enabled="true">
1310 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1311 <collectionProp name="Arguments.arguments"/>
1313 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1314 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1315 <stringProp name="HTTPSampler.protocol">https</stringProp>
1316 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1317 <stringProp name="HTTPSampler.path">policy/pdpx/v1/statistics</stringProp>
1318 <stringProp name="HTTPSampler.method">GET</stringProp>
1319 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1320 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1321 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1322 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1323 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1324 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1325 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1326 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
1329 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1330 <collectionProp name="Asserion.test_strings">
1331 <stringProp name="49586">200</stringProp>
1333 <stringProp name="Assertion.custom_message"></stringProp>
1334 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1335 <boolProp name="Assertion.assume_success">false</boolProp>
1336 <intProp name="Assertion.test_type">8</intProp>
1337 </ResponseAssertion>
1339 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1340 <stringProp name="scriptLanguage">groovy</stringProp>
1341 <stringProp name="parameters"></stringProp>
1342 <stringProp name="filename"></stringProp>
1343 <stringProp name="cacheKey">true</stringProp>
1344 <stringProp name="script">import groovy.json.JsonSlurper;
1347 if (prev.getResponseCode() == '200') {
1348 def jsonSlurper = new JsonSlurper();
1349 res = jsonSlurper.parseText(prev.getResponseDataAsString());
1351 assert res instanceof Map;
1352 assert res.code == 200;
1359 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1360 <collectionProp name="AuthManager.auth_list">
1361 <elementProp name="" elementType="Authorization">
1362 <stringProp name="Authorization.url">https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp>
1363 <stringProp name="Authorization.username">healthcheck</stringProp>
1364 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1365 <stringProp name="Authorization.domain"></stringProp>
1366 <stringProp name="Authorization.realm"></stringProp>
1369 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1370 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1373 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1374 <boolProp name="ResultCollector.error_logging">false</boolProp>
1376 <name>saveConfig</name>
1377 <value class="SampleSaveConfiguration">
1379 <latency>true</latency>
1380 <timestamp>true</timestamp>
1381 <success>true</success>
1384 <message>true</message>
1385 <threadName>true</threadName>
1386 <dataType>true</dataType>
1387 <encoding>false</encoding>
1388 <assertions>true</assertions>
1389 <subresults>true</subresults>
1390 <responseData>false</responseData>
1391 <samplerData>false</samplerData>
1393 <fieldNames>true</fieldNames>
1394 <responseHeaders>false</responseHeaders>
1395 <requestHeaders>false</requestHeaders>
1396 <responseDataOnError>false</responseDataOnError>
1397 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1398 <assertionsResultsToSave>0</assertionsResultsToSave>
1400 <sentBytes>true</sentBytes>
1402 <threadCounts>true</threadCounts>
1403 <idleTime>true</idleTime>
1404 <connectTime>true</connectTime>
1407 <stringProp name="filename">/tmp/pdpx_stability_stats.log</stringProp>
1411 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Decisions" enabled="true">
1412 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1413 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1414 <boolProp name="LoopController.continue_forever">false</boolProp>
1415 <intProp name="LoopController.loops">-1</intProp>
1417 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
1418 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
1419 <boolProp name="ThreadGroup.scheduler">true</boolProp>
1420 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
1421 <stringProp name="ThreadGroup.delay">1</stringProp>
1422 <longProp name="ThreadGroup.start_time">1587409929000</longProp>
1423 <longProp name="ThreadGroup.end_time">1587409929000</longProp>
1424 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1427 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions" enabled="true">
1428 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1429 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1430 <collectionProp name="Arguments.arguments">
1431 <elementProp name="" elementType="HTTPArgument">
1432 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1433 <stringProp name="Argument.value">{
1434 "ONAPName": "DCAE",
1435 "ONAPComponent": "PolicyHandler",
1436 "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64",
1437 "action": "configure",
1438 "resource": {
1439 "policy-id": "onap.restart.tca",
1440 "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app"
1443 <stringProp name="Argument.metadata">=</stringProp>
1447 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1448 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1449 <stringProp name="HTTPSampler.protocol">https</stringProp>
1450 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1451 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1452 <stringProp name="HTTPSampler.method">POST</stringProp>
1453 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1454 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1455 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1456 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1457 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1458 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1459 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1460 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
1463 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1464 <collectionProp name="Asserion.test_strings">
1465 <stringProp name="49586">200</stringProp>
1467 <stringProp name="Assertion.custom_message"></stringProp>
1468 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1469 <boolProp name="Assertion.assume_success">false</boolProp>
1470 <intProp name="Assertion.test_type">8</intProp>
1471 </ResponseAssertion>
1473 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1474 <collectionProp name="Asserion.test_strings">
1475 <stringProp name="3575610">type</stringProp>
1476 <stringProp name="-450004177">metadata</stringProp>
1478 <stringProp name="Assertion.custom_message"></stringProp>
1479 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1480 <boolProp name="Assertion.assume_success">false</boolProp>
1481 <intProp name="Assertion.test_type">2</intProp>
1482 </ResponseAssertion>
1484 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1485 <collectionProp name="Asserion.test_strings">
1486 <stringProp name="-926053069">properties</stringProp>
1488 <stringProp name="Assertion.custom_message"></stringProp>
1489 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1490 <boolProp name="Assertion.assume_success">false</boolProp>
1491 <intProp name="Assertion.test_type">2</intProp>
1492 </ResponseAssertion>
1495 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions with Abbreviated Results" enabled="true">
1496 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1497 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1498 <collectionProp name="Arguments.arguments">
1499 <elementProp name="" elementType="HTTPArgument">
1500 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1501 <stringProp name="Argument.value">{
1502 "ONAPName": "DCAE",
1503 "ONAPComponent": "PolicyHandler",
1504 "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64",
1505 "action": "configure",
1506 "resource": {
1507 "policy-id": "onap.restart.tca",
1508 "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app"
1511 <stringProp name="Argument.metadata">=</stringProp>
1515 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1516 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1517 <stringProp name="HTTPSampler.protocol">https</stringProp>
1518 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1519 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision?abbrev=true</stringProp>
1520 <stringProp name="HTTPSampler.method">POST</stringProp>
1521 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1522 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1523 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1524 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1525 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1526 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1527 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1528 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
1531 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1532 <collectionProp name="Asserion.test_strings">
1533 <stringProp name="49586">200</stringProp>
1535 <stringProp name="Assertion.custom_message"></stringProp>
1536 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1537 <boolProp name="Assertion.assume_success">false</boolProp>
1538 <intProp name="Assertion.test_type">8</intProp>
1539 </ResponseAssertion>
1541 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1542 <collectionProp name="Asserion.test_strings">
1543 <stringProp name="3575610">type</stringProp>
1544 <stringProp name="-450004177">metadata</stringProp>
1546 <stringProp name="Assertion.custom_message"></stringProp>
1547 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1548 <boolProp name="Assertion.assume_success">false</boolProp>
1549 <intProp name="Assertion.test_type">2</intProp>
1550 </ResponseAssertion>
1552 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1553 <collectionProp name="Asserion.test_strings">
1554 <stringProp name="-926053069">properties</stringProp>
1556 <stringProp name="Assertion.custom_message"></stringProp>
1557 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1558 <boolProp name="Assertion.assume_success">false</boolProp>
1559 <intProp name="Assertion.test_type">6</intProp>
1560 </ResponseAssertion>
1563 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Naming Decisions" enabled="true">
1564 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1565 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1566 <collectionProp name="Arguments.arguments">
1567 <elementProp name="" elementType="HTTPArgument">
1568 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1569 <stringProp name="Argument.value">{
1570 "ONAPName": "SDNC",
1571 "ONAPComponent": "SNDC-component",
1572 "ONAPInstance": "SDNC-component-instance",
1573 "requestId": "unique-request-sdnc-1",
1574 "action": "naming",
1575 "resource": {
1576 "nfRole": [],
1577 "naming-type": [],
1578 "property-name": [],
1579 "policy-type": ["onap.policies.Naming"]
1582 <stringProp name="Argument.metadata">=</stringProp>
1586 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1587 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1588 <stringProp name="HTTPSampler.protocol">https</stringProp>
1589 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1590 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1591 <stringProp name="HTTPSampler.method">POST</stringProp>
1592 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1593 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1594 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1595 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1596 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1597 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1598 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1599 <stringProp name="TestPlan.comments">Get Configuration Data for Naming Policy</stringProp>
1602 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1603 <collectionProp name="Asserion.test_strings">
1604 <stringProp name="49586">200</stringProp>
1606 <stringProp name="Assertion.custom_message"></stringProp>
1607 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1608 <boolProp name="Assertion.assume_success">false</boolProp>
1609 <intProp name="Assertion.test_type">8</intProp>
1610 </ResponseAssertion>
1612 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1613 <collectionProp name="Asserion.test_strings">
1614 <stringProp name="3575610">type</stringProp>
1615 <stringProp name="-450004177">metadata</stringProp>
1617 <stringProp name="Assertion.custom_message"></stringProp>
1618 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1619 <boolProp name="Assertion.assume_success">false</boolProp>
1620 <intProp name="Assertion.test_type">2</intProp>
1621 </ResponseAssertion>
1623 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1624 <collectionProp name="Asserion.test_strings">
1625 <stringProp name="-926053069">properties</stringProp>
1627 <stringProp name="Assertion.custom_message"></stringProp>
1628 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1629 <boolProp name="Assertion.assume_success">false</boolProp>
1630 <intProp name="Assertion.test_type">2</intProp>
1631 </ResponseAssertion>
1634 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Optimization Decisions" enabled="true">
1635 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1636 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1637 <collectionProp name="Arguments.arguments">
1638 <elementProp name="" elementType="HTTPArgument">
1639 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1640 <stringProp name="Argument.value">{
1641 "ONAPName": "OOF",
1642 "ONAPComponent": "OOF-component",
1643 "ONAPInstance": "OOF-component-instance",
1644 "context" : {
1645 "subscriberName": []
1647 "action": "optimize",
1648 "resource": {
1649 "scope": [],
1650 "services": [],
1651 "resources": [],
1652 "geography": []
1655 <stringProp name="Argument.metadata">=</stringProp>
1659 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1660 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1661 <stringProp name="HTTPSampler.protocol">https</stringProp>
1662 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1663 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1664 <stringProp name="HTTPSampler.method">POST</stringProp>
1665 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1666 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1667 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1668 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1669 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1670 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1671 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1672 <stringProp name="TestPlan.comments">Get Configuration Data for Optimization Policy</stringProp>
1675 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1676 <collectionProp name="Asserion.test_strings">
1677 <stringProp name="49586">200</stringProp>
1679 <stringProp name="Assertion.custom_message"></stringProp>
1680 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1681 <boolProp name="Assertion.assume_success">false</boolProp>
1682 <intProp name="Assertion.test_type">8</intProp>
1683 </ResponseAssertion>
1685 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1686 <collectionProp name="Asserion.test_strings">
1687 <stringProp name="3575610">type</stringProp>
1688 <stringProp name="-450004177">metadata</stringProp>
1690 <stringProp name="Assertion.custom_message"></stringProp>
1691 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1692 <boolProp name="Assertion.assume_success">false</boolProp>
1693 <intProp name="Assertion.test_type">2</intProp>
1694 </ResponseAssertion>
1696 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1697 <collectionProp name="Asserion.test_strings">
1698 <stringProp name="-926053069">properties</stringProp>
1700 <stringProp name="Assertion.custom_message"></stringProp>
1701 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1702 <boolProp name="Assertion.assume_success">false</boolProp>
1703 <intProp name="Assertion.test_type">2</intProp>
1704 </ResponseAssertion>
1707 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Default Guard Decisions" enabled="true">
1708 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1709 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1710 <collectionProp name="Arguments.arguments">
1711 <elementProp name="" elementType="HTTPArgument">
1712 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1713 <stringProp name="Argument.value">{
1714 "ONAPName": "Guard",
1715 "ONAPComponent": "Guard-component",
1716 "ONAPInstance": "Guard-component-instance",
1717 "requestId": "unique-request-guard-1",
1718 "action": "guard",
1719 "resource": {
1720 "guard": {
1721 "actor": "APPC",
1722 "operation": "ModifyConfig",
1723 "target": "f17face5-69cb-4c88-9e0b-7426db7edddd",
1724 "requestId": "c7c6a4aa-bb61-4a15-b831-ba1472dd4a65",
1725 "clname": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a"
1729 <stringProp name="Argument.metadata">=</stringProp>
1733 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1734 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1735 <stringProp name="HTTPSampler.protocol">https</stringProp>
1736 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1737 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1738 <stringProp name="HTTPSampler.method">POST</stringProp>
1739 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1740 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1741 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1742 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1743 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1744 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1745 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1746 <stringProp name="TestPlan.comments">Get Default Guard Decisions</stringProp>
1749 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1750 <collectionProp name="Asserion.test_strings">
1751 <stringProp name="49586">200</stringProp>
1753 <stringProp name="Assertion.custom_message"></stringProp>
1754 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1755 <boolProp name="Assertion.assume_success">false</boolProp>
1756 <intProp name="Assertion.test_type">8</intProp>
1757 </ResponseAssertion>
1759 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1760 <collectionProp name="Asserion.test_strings">
1761 <stringProp name="-1907855301">Permit</stringProp>
1763 <stringProp name="Assertion.custom_message"></stringProp>
1764 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1765 <boolProp name="Assertion.assume_success">false</boolProp>
1766 <intProp name="Assertion.test_type">2</intProp>
1767 </ResponseAssertion>
1770 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Frequency Limiter Guard Decisions" enabled="true">
1771 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1772 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1773 <collectionProp name="Arguments.arguments">
1774 <elementProp name="" elementType="HTTPArgument">
1775 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1776 <stringProp name="Argument.value">{
1777 "ONAPName": "Policy",
1778 "ONAPComponent": "drools-pdp",
1779 "ONAPInstance": "usecase-template",
1780 "requestId": "unique-request-id-1",
1781 "action": "guard",
1782 "resource": {
1783 "guard": {
1784 "actor": "SO",
1785 "operation": "scaleOut",
1786 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
1787 "target": "vLoadBalancer-00",
1788 "vfCount": "1"
1795 <stringProp name="Argument.metadata">=</stringProp>
1799 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1800 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1801 <stringProp name="HTTPSampler.protocol">https</stringProp>
1802 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1803 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1804 <stringProp name="HTTPSampler.method">POST</stringProp>
1805 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1806 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1807 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1808 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1809 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1810 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1811 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1812 <stringProp name="TestPlan.comments">Get Frequency Limiter Guard Decisions</stringProp>
1815 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1816 <collectionProp name="Asserion.test_strings">
1817 <stringProp name="49586">200</stringProp>
1819 <stringProp name="Assertion.custom_message"></stringProp>
1820 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1821 <boolProp name="Assertion.assume_success">false</boolProp>
1822 <intProp name="Assertion.test_type">8</intProp>
1823 </ResponseAssertion>
1825 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1826 <collectionProp name="Asserion.test_strings">
1827 <stringProp name="-1907855301">Permit</stringProp>
1829 <stringProp name="Assertion.custom_message"></stringProp>
1830 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1831 <boolProp name="Assertion.assume_success">false</boolProp>
1832 <intProp name="Assertion.test_type">2</intProp>
1833 </ResponseAssertion>
1836 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Min/Max Guard Decisions" enabled="true">
1837 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1838 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1839 <collectionProp name="Arguments.arguments">
1840 <elementProp name="" elementType="HTTPArgument">
1841 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1842 <stringProp name="Argument.value">{
1843 "ONAPName": "Policy",
1844 "ONAPComponent": "drools-pdp",
1845 "ONAPInstance": "usecase-template",
1846 "requestId": "unique-request-id-1",
1847 "action": "guard",
1848 "resource": {
1849 "guard": {
1850 "actor": "SO",
1851 "operation": "scaleOut",
1852 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
1853 "target": "vLoadBalancer-00",
1854 "vfCount": "1"
1858 <stringProp name="Argument.metadata">=</stringProp>
1862 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1863 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1864 <stringProp name="HTTPSampler.protocol">https</stringProp>
1865 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1866 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1867 <stringProp name="HTTPSampler.method">POST</stringProp>
1868 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1869 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1870 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1871 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1872 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1873 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1874 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1875 <stringProp name="TestPlan.comments">Get Min/Max Guard Decisions</stringProp>
1878 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1879 <collectionProp name="Asserion.test_strings">
1880 <stringProp name="49586">200</stringProp>
1882 <stringProp name="Assertion.custom_message"></stringProp>
1883 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1884 <boolProp name="Assertion.assume_success">false</boolProp>
1885 <intProp name="Assertion.test_type">8</intProp>
1886 </ResponseAssertion>
1888 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1889 <collectionProp name="Asserion.test_strings">
1890 <stringProp name="-1907855301">Permit</stringProp>
1892 <stringProp name="Assertion.custom_message"></stringProp>
1893 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1894 <boolProp name="Assertion.assume_success">false</boolProp>
1895 <intProp name="Assertion.test_type">2</intProp>
1896 </ResponseAssertion>
1899 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1900 <collectionProp name="AuthManager.auth_list">
1901 <elementProp name="" elementType="Authorization">
1902 <stringProp name="Authorization.url">https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp>
1903 <stringProp name="Authorization.username">healthcheck</stringProp>
1904 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1905 <stringProp name="Authorization.domain"></stringProp>
1906 <stringProp name="Authorization.realm"></stringProp>
1909 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1910 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1913 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1914 <boolProp name="ResultCollector.error_logging">false</boolProp>
1916 <name>saveConfig</name>
1917 <value class="SampleSaveConfiguration">
1919 <latency>true</latency>
1920 <timestamp>true</timestamp>
1921 <success>true</success>
1924 <message>true</message>
1925 <threadName>true</threadName>
1926 <dataType>true</dataType>
1927 <encoding>false</encoding>
1928 <assertions>true</assertions>
1929 <subresults>true</subresults>
1930 <responseData>false</responseData>
1931 <samplerData>false</samplerData>
1933 <fieldNames>true</fieldNames>
1934 <responseHeaders>false</responseHeaders>
1935 <requestHeaders>false</requestHeaders>
1936 <responseDataOnError>false</responseDataOnError>
1937 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1938 <assertionsResultsToSave>0</assertionsResultsToSave>
1940 <sentBytes>true</sentBytes>
1942 <threadCounts>true</threadCounts>
1943 <idleTime>true</idleTime>
1944 <connectTime>true</connectTime>
1947 <stringProp name="filename">/tmp/pdpx_stability_decisions.log</stringProp>
1951 <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
1952 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1953 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1954 <boolProp name="LoopController.continue_forever">false</boolProp>
1955 <stringProp name="LoopController.loops">1</stringProp>
1957 <stringProp name="ThreadGroup.num_threads">1</stringProp>
1958 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1959 <boolProp name="ThreadGroup.scheduler">false</boolProp>
1960 <stringProp name="ThreadGroup.duration"></stringProp>
1961 <stringProp name="ThreadGroup.delay"></stringProp>
1962 <longProp name="ThreadGroup.start_time">1587409929000</longProp>
1963 <longProp name="ThreadGroup.end_time">1587409929000</longProp>
1964 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1967 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Monitoring Policy" enabled="true">
1968 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1969 <collectionProp name="Arguments.arguments"/>
1971 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1972 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1973 <stringProp name="HTTPSampler.protocol">https</stringProp>
1974 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1975 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/onap.restart.tca</stringProp>
1976 <stringProp name="HTTPSampler.method">DELETE</stringProp>
1977 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1978 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1979 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1980 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1981 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1982 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1983 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1986 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1987 <collectionProp name="AuthManager.auth_list">
1988 <elementProp name="" elementType="Authorization">
1989 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1990 <stringProp name="Authorization.username">healthcheck</stringProp>
1991 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1992 <stringProp name="Authorization.domain"></stringProp>
1993 <stringProp name="Authorization.realm"></stringProp>
1996 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1997 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2001 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Optimization Policy" enabled="true">
2002 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2003 <collectionProp name="Arguments.arguments"/>
2005 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2006 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2007 <stringProp name="HTTPSampler.protocol">https</stringProp>
2008 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2009 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default</stringProp>
2010 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2011 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2012 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2013 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2014 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2015 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2016 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2017 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2020 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2021 <collectionProp name="AuthManager.auth_list">
2022 <elementProp name="" elementType="Authorization">
2023 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2024 <stringProp name="Authorization.username">healthcheck</stringProp>
2025 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2026 <stringProp name="Authorization.domain"></stringProp>
2027 <stringProp name="Authorization.realm"></stringProp>
2030 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2031 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2035 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Min/Max Guard Policy" enabled="true">
2036 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2037 <collectionProp name="Arguments.arguments"/>
2039 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2040 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2041 <stringProp name="HTTPSampler.protocol">https</stringProp>
2042 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2043 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.minmax.scaleout</stringProp>
2044 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2045 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2046 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2047 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2048 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2049 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2050 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2051 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2054 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2055 <collectionProp name="AuthManager.auth_list">
2056 <elementProp name="" elementType="Authorization">
2057 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2058 <stringProp name="Authorization.username">healthcheck</stringProp>
2059 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2060 <stringProp name="Authorization.domain"></stringProp>
2061 <stringProp name="Authorization.realm"></stringProp>
2064 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2065 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2069 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Frequency Limiter Guard Policy" enabled="true">
2070 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2071 <collectionProp name="Arguments.arguments"/>
2073 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2074 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2075 <stringProp name="HTTPSampler.protocol">https</stringProp>
2076 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2077 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.frequency.scaleout</stringProp>
2078 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2079 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2080 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2081 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2082 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2083 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2084 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2085 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2088 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2089 <collectionProp name="AuthManager.auth_list">
2090 <elementProp name="" elementType="Authorization">
2091 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2092 <stringProp name="Authorization.username">healthcheck</stringProp>
2093 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2094 <stringProp name="Authorization.domain"></stringProp>
2095 <stringProp name="Authorization.realm"></stringProp>
2098 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2099 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2103 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Monitoring Policy" enabled="true">
2104 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2105 <collectionProp name="Arguments.arguments"/>
2107 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2108 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2109 <stringProp name="HTTPSampler.protocol">https</stringProp>
2110 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2111 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.restart.tca/versions/1.0.0</stringProp>
2112 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2113 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2114 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2115 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2116 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2117 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2118 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2119 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2122 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2123 <collectionProp name="AuthManager.auth_list">
2124 <elementProp name="" elementType="Authorization">
2125 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2126 <stringProp name="Authorization.username">healthcheck</stringProp>
2127 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2128 <stringProp name="Authorization.domain"></stringProp>
2129 <stringProp name="Authorization.realm"></stringProp>
2132 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2133 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2137 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Optimization Policy" enabled="true">
2138 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2139 <collectionProp name="Arguments.arguments"/>
2141 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2142 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2143 <stringProp name="HTTPSampler.protocol">https</stringProp>
2144 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2145 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies/OSDF_CASABLANCA.Affinity_Default/versions/1.0.0</stringProp>
2146 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2147 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2148 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2149 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2150 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2151 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2152 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2153 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2156 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2157 <collectionProp name="AuthManager.auth_list">
2158 <elementProp name="" elementType="Authorization">
2159 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2160 <stringProp name="Authorization.username">healthcheck</stringProp>
2161 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2162 <stringProp name="Authorization.domain"></stringProp>
2163 <stringProp name="Authorization.realm"></stringProp>
2166 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2167 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2171 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Min/Max Guard Policy" enabled="true">
2172 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2173 <collectionProp name="Arguments.arguments"/>
2175 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2176 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2177 <stringProp name="HTTPSampler.protocol">https</stringProp>
2178 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2179 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0</stringProp>
2180 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2181 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2182 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2183 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2184 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2185 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2186 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2187 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2190 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2191 <collectionProp name="AuthManager.auth_list">
2192 <elementProp name="" elementType="Authorization">
2193 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2194 <stringProp name="Authorization.username">healthcheck</stringProp>
2195 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2196 <stringProp name="Authorization.domain"></stringProp>
2197 <stringProp name="Authorization.realm"></stringProp>
2200 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2201 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2205 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Frequency Limiter Guard Policy" enabled="true">
2206 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2207 <collectionProp name="Arguments.arguments"/>
2209 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2210 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2211 <stringProp name="HTTPSampler.protocol">https</stringProp>
2212 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2213 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0</stringProp>
2214 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2215 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2216 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2217 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2218 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2219 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2220 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2221 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2224 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2225 <collectionProp name="AuthManager.auth_list">
2226 <elementProp name="" elementType="Authorization">
2227 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2228 <stringProp name="Authorization.username">healthcheck</stringProp>
2229 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2230 <stringProp name="Authorization.domain"></stringProp>
2231 <stringProp name="Authorization.realm"></stringProp>
2234 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2235 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2239 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
2240 <boolProp name="ResultCollector.error_logging">false</boolProp>
2242 <name>saveConfig</name>
2243 <value class="SampleSaveConfiguration">
2245 <latency>true</latency>
2246 <timestamp>true</timestamp>
2247 <success>true</success>
2250 <message>true</message>
2251 <threadName>true</threadName>
2252 <dataType>true</dataType>
2253 <encoding>false</encoding>
2254 <assertions>true</assertions>
2255 <subresults>true</subresults>
2256 <responseData>false</responseData>
2257 <samplerData>false</samplerData>
2259 <fieldNames>true</fieldNames>
2260 <responseHeaders>false</responseHeaders>
2261 <requestHeaders>false</requestHeaders>
2262 <responseDataOnError>false</responseDataOnError>
2263 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2264 <assertionsResultsToSave>0</assertionsResultsToSave>
2266 <sentBytes>true</sentBytes>
2268 <threadCounts>true</threadCounts>
2269 <idleTime>true</idleTime>
2270 <connectTime>true</connectTime>
2273 <stringProp name="filename">/tmp/pdpx_stability_teardown.log</stringProp>
2277 <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
2278 <boolProp name="ResultCollector.error_logging">false</boolProp>
2280 <name>saveConfig</name>
2281 <value class="SampleSaveConfiguration">
2283 <latency>true</latency>
2284 <timestamp>true</timestamp>
2285 <success>true</success>
2288 <message>true</message>
2289 <threadName>true</threadName>
2290 <dataType>true</dataType>
2291 <encoding>false</encoding>
2292 <assertions>true</assertions>
2293 <subresults>true</subresults>
2294 <responseData>false</responseData>
2295 <samplerData>false</samplerData>
2297 <fieldNames>true</fieldNames>
2298 <responseHeaders>false</responseHeaders>
2299 <requestHeaders>false</requestHeaders>
2300 <responseDataOnError>false</responseDataOnError>
2301 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2302 <assertionsResultsToSave>0</assertionsResultsToSave>
2305 <threadCounts>true</threadCounts>
2306 <idleTime>true</idleTime>
2307 <connectTime>true</connectTime>
2310 <stringProp name="filename">/tmp/pdpx_stability_summaryReport.log</stringProp>
2311 <boolProp name="useGroupName">true</boolProp>
2314 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
2315 <boolProp name="ResultCollector.error_logging">false</boolProp>
2317 <name>saveConfig</name>
2318 <value class="SampleSaveConfiguration">
2320 <latency>true</latency>
2321 <timestamp>true</timestamp>
2322 <success>true</success>
2325 <message>true</message>
2326 <threadName>true</threadName>
2327 <dataType>true</dataType>
2328 <encoding>false</encoding>
2329 <assertions>true</assertions>
2330 <subresults>true</subresults>
2331 <responseData>false</responseData>
2332 <samplerData>false</samplerData>
2334 <fieldNames>true</fieldNames>
2335 <responseHeaders>false</responseHeaders>
2336 <requestHeaders>false</requestHeaders>
2337 <responseDataOnError>false</responseDataOnError>
2338 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2339 <assertionsResultsToSave>0</assertionsResultsToSave>
2341 <sentBytes>true</sentBytes>
2343 <threadCounts>true</threadCounts>
2344 <idleTime>true</idleTime>
2345 <connectTime>true</connectTime>
2348 <stringProp name="filename">/tmp/pdpx_stability_resultsTree.log</stringProp>
2351 <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
2352 <boolProp name="ResultCollector.error_logging">false</boolProp>
2354 <name>saveConfig</name>
2355 <value class="SampleSaveConfiguration">
2357 <latency>true</latency>
2358 <timestamp>true</timestamp>
2359 <success>true</success>
2362 <message>true</message>
2363 <threadName>true</threadName>
2364 <dataType>true</dataType>
2365 <encoding>false</encoding>
2366 <assertions>true</assertions>
2367 <subresults>true</subresults>
2368 <responseData>false</responseData>
2369 <samplerData>false</samplerData>
2371 <fieldNames>true</fieldNames>
2372 <responseHeaders>false</responseHeaders>
2373 <requestHeaders>false</requestHeaders>
2374 <responseDataOnError>false</responseDataOnError>
2375 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2376 <assertionsResultsToSave>0</assertionsResultsToSave>
2378 <sentBytes>true</sentBytes>
2380 <threadCounts>true</threadCounts>
2381 <idleTime>true</idleTime>
2382 <connectTime>true</connectTime>
2385 <stringProp name="filename">/tmp/pdpx_stability_resultsTable.log</stringProp>