1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="3.1" jmeter="3.1 r1770033">
4 <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy XACML PDP Performance" enabled="true">
5 <stringProp name="TestPlan.comments">Policy XACML PDP Performance 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, 3000)}</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">${__P(api_port, 6969)}</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">1587406332000</longProp>
81 <longProp name="ThreadGroup.end_time">1587406332000</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.cdap.tca.hi.lo.app",
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.connect_timeout"></stringProp>
149 <stringProp name="HTTPSampler.response_timeout"></stringProp>
150 <stringProp name="HTTPSampler.protocol">https</stringProp>
151 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
152 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
153 <stringProp name="HTTPSampler.method">POST</stringProp>
154 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
155 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
156 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
157 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
158 <boolProp name="HTTPSampler.monitor">false</boolProp>
159 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
162 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
163 <collectionProp name="AuthManager.auth_list">
164 <elementProp name="" elementType="Authorization">
165 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
166 <stringProp name="Authorization.username">healthcheck</stringProp>
167 <stringProp name="Authorization.password">zb!XztG34</stringProp>
168 <stringProp name="Authorization.domain"></stringProp>
169 <stringProp name="Authorization.realm"></stringProp>
172 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
173 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
176 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
177 <collectionProp name="Asserion.test_strings">
178 <stringProp name="49586">200</stringProp>
180 <stringProp name="Assertion.custom_message"></stringProp>
181 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
182 <boolProp name="Assertion.assume_success">false</boolProp>
183 <intProp name="Assertion.test_type">8</intProp>
187 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Optimization Policy" enabled="true">
188 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
189 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
190 <collectionProp name="Arguments.arguments">
191 <elementProp name="" elementType="HTTPArgument">
192 <boolProp name="HTTPArgument.always_encode">false</boolProp>
193 <stringProp name="Argument.value">{
194 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
195 "topology_template": {
196 "policies": [
198 "OSDF_CASABLANCA.Affinity_Default": {
199 "type": "onap.policies.optimization.resource.AffinityPolicy",
200 "version": "1.0.0",
201 "type_version": "1.0.0",
202 "metadata": {
203 "policy-id": "OSDF_CASABLANCA.Affinity_Default",
204 "policy-version": 1
206 "properties": {
207 "scope": [],
208 "services": [],
209 "resources": [],
210 "geography": [],
211 "identity": "affinity_vCPE",
212 "applicableResources": "any",
213 "affinityProperties": {
214 "qualifier": "same",
215 "category": "complex"
221 "OSDF_CASABLANCA.Affinity_Default_US": {
222 "type": "onap.policies.optimization.resource.AffinityPolicy",
223 "version": "1.0.0",
224 "type_version": "1.0.0",
225 "metadata": {
226 "policy-id": "OSDF_CASABLANCA.Affinity_Default_US",
227 "policy-version": 1
229 "properties": {
230 "scope": [],
231 "services": [],
232 "resources": [],
233 "geography": [
236 "identity": "affinity_vCPE",
237 "applicableResources": "any",
238 "affinityProperties": {
239 "qualifier": "same",
240 "category": "complex"
246 "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0": {
247 "type": "onap.policies.optimization.resource.AffinityPolicy",
248 "version": "1.0.0",
249 "type_version": "1.0.0",
250 "metadata": {
251 "policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
252 "policy-version": 1
254 "properties": {
255 "scope": [],
256 "services": [
257 "vCPE"
259 "resources": [],
260 "geography": [
263 "identity": "affinity_vCPE",
264 "applicableResources": "any",
265 "affinityProperties": {
266 "qualifier": "different",
267 "category": "complex"
273 "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1": {
274 "type": "onap.policies.optimization.resource.AffinityPolicy",
275 "version": "1.0.0",
276 "type_version": "1.0.0",
277 "metadata": {
278 "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
279 "policy-version": 1
281 "properties": {
282 "scope": [
283 "gold"
285 "services": [
286 "vCPE"
288 "resources": [
289 "vGMuxInfra",
292 "geography": [
294 "INTERNATIONAL"
296 "identity": "affinity_vCPE",
297 "applicableResources": "any",
298 "affinityProperties": {
299 "qualifier": "same",
300 "category": "availabilityZone"
306 "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1": {
307 "type": "onap.policies.optimization.resource.AffinityPolicy",
308 "version": "1.0.0",
309 "type_version": "1.0.0",
310 "metadata": {
311 "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
312 "policy-version": 1
314 "properties": {
315 "scope": [
316 "platinum"
318 "services": [
319 "vCPE"
321 "resources": [
322 "vGMuxInfra",
325 "geography": [
327 "INTERNATIONAL"
329 "identity": "affinity_vCPE",
330 "applicableResources": "any",
331 "affinityProperties": {
332 "qualifier": "different",
333 "category": "availabilityZone"
339 "OSDF_CASABLANCA.Capacity_vG_1": {
340 "type": "onap.policies.optimization.resource.Vim_fit",
341 "version": "1.0.0",
342 "type_version": "1.0.0",
343 "metadata": {
344 "policy-id": "OSDF_CASABLANCA.Capacity_vG_1",
345 "policy-version": 1
347 "properties": {
348 "scope": [],
349 "services": [
350 "vCPE"
352 "resources": [
355 "geography": [
357 "INTERNATIONAL"
359 "identity": "capacity_vG",
360 "applicableResources": "any",
361 "capacityProperty": {
362 "controller": "multicloud",
363 "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
369 "OSDF_CASABLANCA.Capacity_vG_2": {
370 "type": "onap.policies.optimization.resource.Vim_fit",
371 "version": "1.0.0",
372 "type_version": "1.0.0",
373 "metadata": {
374 "policy-id": "OSDF_CASABLANCA.Capacity_vG_2",
375 "policy-version": 1
377 "properties": {
378 "scope": [],
379 "services": [
380 "vCPE"
382 "resources": [
385 "geography": [
387 "INTERNATIONAL"
389 "identity": "capacity_vG",
390 "applicableResources": "any",
391 "capacityProperty": {
392 "controller": "multicloud",
393 "request": "{\"vCPU\": 15, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"MB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
399 "OSDF_CASABLANCA.Distance_vG_1": {
400 "type": "onap.policies.optimization.resource.DistancePolicy",
401 "version": "1.0.0",
402 "type_version": "1.0.0",
403 "metadata": {
404 "policy-id": "OSDF_CASABLANCA.Distance_vG_1",
405 "policy-version": 1
407 "properties": {
408 "scope": [
409 "platinum"
411 "services": [
412 "vCPE"
414 "resources": [
417 "geography": [
419 "INTERNATIONAL"
421 "identity": "distance-vG",
422 "applicableResources": "any",
423 "distanceProperties": {
424 "locationInfo": "customer_loc",
425 "distance": {
426 "value": 1500,
427 "operator": "<",
428 "unit": "km"
435 "OSDF_CASABLANCA.hpa_policy_Default": {
436 "type": "onap.policies.optimization.resource.HpaPolicy",
437 "version": "1.0.0",
438 "type_version": "1.0.0",
439 "metadata": {
440 "policy-id": "OSDF_CASABLANCA.hpa_policy_Default",
441 "policy-version": 1
443 "properties": {
444 "scope": [],
445 "services": [],
446 "resources": [],
447 "geography": [],
448 "identity": "hpa-vG",
449 "flavorFeatures": [
451 "id": "vg_1",
452 "type": "vnfc",
453 "directives": [
455 "type": "flavor_directives",
456 "attributes": [
458 "attribute_name": "flavor_label_vm_01",
459 "attribute_value": ""
464 "flavorProperties": [
466 "hpa-feature": "basicCapabilities",
467 "mandatory": true,
468 "architecture": "generic",
469 "directives": [],
470 "hpa-feature-attributes": [
472 "hpa-attribute-key": "numVirtualCpu",
473 "hpa-attribute-value": 8,
474 "operator": [
475 ">="
477 "unit": ""
480 "hpa-attribute-key": "virtualMemSize",
481 "hpa-attribute-value": 6,
482 "operator": [
483 "<="
485 "unit": ""
490 "hpa-feature": "ovsDpdk",
491 "mandatory": false,
492 "architecture": "generic",
493 "directives": [],
494 "hpa-feature-attributes": [
496 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
497 "hpa-attribute-value": "ovsDpdk_version",
498 "operator": [
501 "unit": ""
512 "OSDF_CASABLANCA.hpa_policy_vG_1": {
513 "type": "onap.policies.optimization.resource.HpaPolicy",
514 "version": "1.0.0",
515 "type_version": "1.0.0",
516 "metadata": {
517 "policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1",
518 "policy-version": 1
520 "properties": {
521 "scope": [],
522 "services": [
523 "vCPE",
524 "vOtherService"
526 "resources": [
529 "geography": [],
530 "identity": "hpa-vG",
531 "flavorFeatures": [
533 "id": "vg_1",
534 "type": "vnfc",
535 "directives": [
537 "type": "flavor_directives",
538 "attributes": [
540 "attribute_name": "flavor_label_vm_01",
541 "attribute_value": ""
546 "flavorProperties": [
548 "hpa-feature": "basicCapabilities",
549 "mandatory": true,
550 "architecture": "generic",
551 "directives": [],
552 "hpa-feature-attributes": [
554 "hpa-attribute-key": "numVirtualCpu",
555 "hpa-attribute-value": 6,
556 "operator": [
557 ">="
559 "unit": ""
562 "hpa-attribute-key": "virtualMemSize",
563 "hpa-attribute-value": 4,
564 "operator": [
565 "<="
567 "unit": ""
572 "hpa-feature": "ovsDpdk",
573 "mandatory": false,
574 "architecture": "generic",
575 "directives": [],
576 "hpa-feature-attributes": [
578 "hpa-attribute-key": "dataProcessingAccelerationLibrary",
579 "hpa-attribute-value": "ovsDpdk_version",
580 "operator": [
583 "unit": ""
594 "OSDF_CASABLANCA.queryPolicy_vCPE": {
595 "type": "onap.policies.optimization.service.QueryPolicy",
596 "version": "1.0.0",
597 "type_version": "1.0.0",
598 "metadata": {
599 "policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE",
600 "policy-version": 1
602 "properties": {
603 "scope": [],
604 "services": [
605 "vCPE"
607 "geography": [
609 "INTERNATIONAL"
611 "identity": "vCPE_Query_Policy",
612 "queryProperties": [
614 "attribute": "locationId",
615 "attribute_location": "customerLocation",
616 "value": ""
619 "attribute": "id",
620 "attribute_location": "vpnInfo.vpnId",
621 "value": ""
624 "attribute": "upstreamBW",
625 "attribute_location": "vpnInfo.upstreamBW",
626 "value": ""
629 "attribute": "customerLatitude",
630 "attribute_location": "customerLatitude",
631 "value": 1.1
634 "attribute": "customerLongitude",
635 "attribute_location": "customerLongitude",
636 "value": 2.2
643 "OSDF_CASABLANCA.SubscriberPolicy_v1": {
644 "type": "onap.policies.optimization.service.SubscriberPolicy",
645 "version": "1.0.0",
646 "type_version": "1.0.0",
647 "metadata": {
648 "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1",
649 "policy-version": 1
651 "properties": {
652 "scope": [],
653 "services": [
654 "vCPE"
656 "identity": "subscriber_vCPE",
657 "subscriberProperties": {
658 "subscriberName": [
659 "subscriber_x",
660 "subscriber_y"
662 "subscriberRole": [
663 "platinum"
665 "provStatus": [
666 "CAPPED"
673 "OSDF_CASABLANCA.SubscriberPolicy_v2": {
674 "type": "onap.policies.optimization.service.SubscriberPolicy",
675 "version": "1.0.0",
676 "type_version": "1.0.0",
677 "metadata": {
678 "policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2",
679 "policy-version": 1
681 "properties": {
682 "scope": [],
683 "services": [
684 "vCPE"
686 "identity": "subscriber_vCPE",
687 "subscriberProperties": {
688 "subscriberName": [
689 "subscriber_a",
690 "subscriber_b"
692 "subscriberRole": [
693 "gold"
695 "provStatus": [
696 "CAPPED"
703 "OSDF_CASABLANCA.vnfPolicy_vG": {
704 "type": "onap.policies.optimization.resource.VnfPolicy",
705 "version": "1.0.0",
706 "type_version": "1.0.0",
707 "metadata": {
708 "policy-id": "OSDF_CASABLANCA.vnfPolicy_vG",
709 "policy-version": 1
711 "properties": {
712 "scope": [],
713 "services": [
714 "vCPE"
716 "resources": [
719 "geography": [
721 "INTERNATIONAL"
723 "identity": "vnf_vG",
724 "applicableResources": "any",
725 "vnfProperties": [
727 "inventoryProvider": "aai",
728 "serviceType": "",
729 "inventoryType": "cloudRegionId",
730 "customerId": ""
739 <stringProp name="Argument.metadata">=</stringProp>
743 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
744 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
745 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
746 <stringProp name="HTTPSampler.response_timeout"></stringProp>
747 <stringProp name="HTTPSampler.protocol">https</stringProp>
748 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
749 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.optimization.resource.AffinityPolicy/versions/1.0.0/policies</stringProp>
750 <stringProp name="HTTPSampler.method">POST</stringProp>
751 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
752 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
753 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
754 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
755 <boolProp name="HTTPSampler.monitor">false</boolProp>
756 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
759 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
760 <collectionProp name="AuthManager.auth_list">
761 <elementProp name="" elementType="Authorization">
762 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
763 <stringProp name="Authorization.username">healthcheck</stringProp>
764 <stringProp name="Authorization.password">zb!XztG34</stringProp>
765 <stringProp name="Authorization.domain"></stringProp>
766 <stringProp name="Authorization.realm"></stringProp>
769 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
770 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
773 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
774 <collectionProp name="Asserion.test_strings">
775 <stringProp name="49586">200</stringProp>
777 <stringProp name="Assertion.custom_message"></stringProp>
778 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
779 <boolProp name="Assertion.assume_success">false</boolProp>
780 <intProp name="Assertion.test_type">8</intProp>
784 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Min/Max Guard Policy" enabled="true">
785 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
786 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
787 <collectionProp name="Arguments.arguments">
788 <elementProp name="" elementType="HTTPArgument">
789 <boolProp name="HTTPArgument.always_encode">false</boolProp>
790 <stringProp name="Argument.value">{
791 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
792 "topology_template": {
793 "policies": [
795 "guard.minmax.scaleout": {
796 "type": "onap.policies.controlloop.guard.common.MinMax",
797 "type_version": "1.0.0",
798 "version": "1.0.0",
799 "metadata": {
800 "policy-id": "guard.minmax.scaleout"
802 "properties": {
803 "actor": "SO",
804 "operation": "VF Module Create",
805 "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
806 "target": "e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e",
807 "min": 1,
808 "max": 2
815 <stringProp name="Argument.metadata">=</stringProp>
819 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
820 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
821 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
822 <stringProp name="HTTPSampler.response_timeout"></stringProp>
823 <stringProp name="HTTPSampler.protocol">https</stringProp>
824 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
825 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.MinMax/versions/1.0.0/policies</stringProp>
826 <stringProp name="HTTPSampler.method">POST</stringProp>
827 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
828 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
829 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
830 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
831 <boolProp name="HTTPSampler.monitor">false</boolProp>
832 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
835 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
836 <collectionProp name="AuthManager.auth_list">
837 <elementProp name="" elementType="Authorization">
838 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
839 <stringProp name="Authorization.username">healthcheck</stringProp>
840 <stringProp name="Authorization.password">zb!XztG34</stringProp>
841 <stringProp name="Authorization.domain"></stringProp>
842 <stringProp name="Authorization.realm"></stringProp>
845 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
846 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
849 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
850 <collectionProp name="Asserion.test_strings">
851 <stringProp name="49586">200</stringProp>
853 <stringProp name="Assertion.custom_message"></stringProp>
854 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
855 <boolProp name="Assertion.assume_success">false</boolProp>
856 <intProp name="Assertion.test_type">8</intProp>
860 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Frequency Limiter Guard Policy" enabled="true">
861 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
862 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
863 <collectionProp name="Arguments.arguments">
864 <elementProp name="" elementType="HTTPArgument">
865 <boolProp name="HTTPArgument.always_encode">false</boolProp>
866 <stringProp name="Argument.value">{
867 "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
868 "topology_template": {
869 "policies": [
871 "guard.frequency.scaleout": {
872 "type": "onap.policies.controlloop.guard.common.FrequencyLimiter",
873 "type_version": "1.0.0",
874 "version": "1.0.0",
875 "metadata": {
876 "policy-id": "guard.frequency.scaleout"
878 "properties": {
879 "actor": "SO",
880 "operation": "VF Module Create",
881 "id": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
882 "timeWindow": 10,
883 "timeUnits": "minute",
884 "limit": 1
891 <stringProp name="Argument.metadata">=</stringProp>
895 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
896 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
897 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
898 <stringProp name="HTTPSampler.response_timeout"></stringProp>
899 <stringProp name="HTTPSampler.protocol">https</stringProp>
900 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
901 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter/versions/1.0.0/policies</stringProp>
902 <stringProp name="HTTPSampler.method">POST</stringProp>
903 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
904 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
905 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
906 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
907 <boolProp name="HTTPSampler.monitor">false</boolProp>
908 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
911 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
912 <collectionProp name="AuthManager.auth_list">
913 <elementProp name="" elementType="Authorization">
914 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
915 <stringProp name="Authorization.username">healthcheck</stringProp>
916 <stringProp name="Authorization.password">zb!XztG34</stringProp>
917 <stringProp name="Authorization.domain"></stringProp>
918 <stringProp name="Authorization.realm"></stringProp>
921 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
922 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
925 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
926 <collectionProp name="Asserion.test_strings">
927 <stringProp name="49586">200</stringProp>
929 <stringProp name="Assertion.custom_message"></stringProp>
930 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
931 <boolProp name="Assertion.assume_success">false</boolProp>
932 <intProp name="Assertion.test_type">8</intProp>
936 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Monitoring Policy" enabled="true">
937 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
938 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
939 <collectionProp name="Arguments.arguments">
940 <elementProp name="" elementType="HTTPArgument">
941 <boolProp name="HTTPArgument.always_encode">false</boolProp>
942 <stringProp name="Argument.value">{"policies":[{"policy-id":"onap.restart.tca"}]}</stringProp>
943 <stringProp name="Argument.metadata">=</stringProp>
947 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
948 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
949 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
950 <stringProp name="HTTPSampler.response_timeout"></stringProp>
951 <stringProp name="HTTPSampler.protocol">https</stringProp>
952 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
953 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
954 <stringProp name="HTTPSampler.method">POST</stringProp>
955 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
956 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
957 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
958 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
959 <boolProp name="HTTPSampler.monitor">false</boolProp>
960 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
963 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
964 <collectionProp name="AuthManager.auth_list">
965 <elementProp name="" elementType="Authorization">
966 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
967 <stringProp name="Authorization.username">healthcheck</stringProp>
968 <stringProp name="Authorization.password">zb!XztG34</stringProp>
969 <stringProp name="Authorization.domain"></stringProp>
970 <stringProp name="Authorization.realm"></stringProp>
973 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
974 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
977 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
978 <collectionProp name="Asserion.test_strings">
979 <stringProp name="49586">200</stringProp>
981 <stringProp name="Assertion.custom_message"></stringProp>
982 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
983 <boolProp name="Assertion.assume_success">false</boolProp>
984 <intProp name="Assertion.test_type">8</intProp>
988 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Optimization Policy" enabled="true">
989 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
990 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
991 <collectionProp name="Arguments.arguments">
992 <elementProp name="" elementType="HTTPArgument">
993 <boolProp name="HTTPArgument.always_encode">false</boolProp>
994 <stringProp name="Argument.value">{"policies":[{"policy-id":"OSDF_CASABLANCA.Affinity_Default"}]}</stringProp>
995 <stringProp name="Argument.metadata">=</stringProp>
999 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1000 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1001 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1002 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1003 <stringProp name="HTTPSampler.protocol">https</stringProp>
1004 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1005 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
1006 <stringProp name="HTTPSampler.method">POST</stringProp>
1007 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1008 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1009 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1010 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1011 <boolProp name="HTTPSampler.monitor">false</boolProp>
1012 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1015 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1016 <collectionProp name="AuthManager.auth_list">
1017 <elementProp name="" elementType="Authorization">
1018 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1019 <stringProp name="Authorization.username">healthcheck</stringProp>
1020 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1021 <stringProp name="Authorization.domain"></stringProp>
1022 <stringProp name="Authorization.realm"></stringProp>
1025 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1026 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1029 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1030 <collectionProp name="Asserion.test_strings">
1031 <stringProp name="49586">200</stringProp>
1033 <stringProp name="Assertion.custom_message"></stringProp>
1034 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1035 <boolProp name="Assertion.assume_success">false</boolProp>
1036 <intProp name="Assertion.test_type">8</intProp>
1037 </ResponseAssertion>
1040 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Min/Max Policy" enabled="true">
1041 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1042 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1043 <collectionProp name="Arguments.arguments">
1044 <elementProp name="" elementType="HTTPArgument">
1045 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1046 <stringProp name="Argument.value">{"policies":[{"policy-id":"guard.minmax.scaleout"}]}</stringProp>
1047 <stringProp name="Argument.metadata">=</stringProp>
1051 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1052 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1053 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1054 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1055 <stringProp name="HTTPSampler.protocol">https</stringProp>
1056 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1057 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
1058 <stringProp name="HTTPSampler.method">POST</stringProp>
1059 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1060 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1061 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1062 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1063 <boolProp name="HTTPSampler.monitor">false</boolProp>
1064 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1067 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1068 <collectionProp name="AuthManager.auth_list">
1069 <elementProp name="" elementType="Authorization">
1070 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1071 <stringProp name="Authorization.username">healthcheck</stringProp>
1072 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1073 <stringProp name="Authorization.domain"></stringProp>
1074 <stringProp name="Authorization.realm"></stringProp>
1077 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1078 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1081 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1082 <collectionProp name="Asserion.test_strings">
1083 <stringProp name="49586">200</stringProp>
1085 <stringProp name="Assertion.custom_message"></stringProp>
1086 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1087 <boolProp name="Assertion.assume_success">false</boolProp>
1088 <intProp name="Assertion.test_type">8</intProp>
1089 </ResponseAssertion>
1092 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Frequency Limiter Policy" enabled="true">
1093 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1094 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1095 <collectionProp name="Arguments.arguments">
1096 <elementProp name="" elementType="HTTPArgument">
1097 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1098 <stringProp name="Argument.value">{"policies":[{"policy-id":"guard.frequency.scaleout"}]}</stringProp>
1099 <stringProp name="Argument.metadata">=</stringProp>
1103 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1104 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1105 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1106 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1107 <stringProp name="HTTPSampler.protocol">https</stringProp>
1108 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1109 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
1110 <stringProp name="HTTPSampler.method">POST</stringProp>
1111 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1112 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1113 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1114 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1115 <boolProp name="HTTPSampler.monitor">false</boolProp>
1116 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1119 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1120 <collectionProp name="AuthManager.auth_list">
1121 <elementProp name="" elementType="Authorization">
1122 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
1123 <stringProp name="Authorization.username">healthcheck</stringProp>
1124 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1125 <stringProp name="Authorization.domain"></stringProp>
1126 <stringProp name="Authorization.realm"></stringProp>
1129 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1130 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1133 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1134 <collectionProp name="Asserion.test_strings">
1135 <stringProp name="49586">200</stringProp>
1137 <stringProp name="Assertion.custom_message"></stringProp>
1138 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1139 <boolProp name="Assertion.assume_success">false</boolProp>
1140 <intProp name="Assertion.test_type">8</intProp>
1141 </ResponseAssertion>
1144 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1145 <boolProp name="ResultCollector.error_logging">false</boolProp>
1147 <name>saveConfig</name>
1148 <value class="SampleSaveConfiguration">
1150 <latency>true</latency>
1151 <timestamp>true</timestamp>
1152 <success>true</success>
1155 <message>true</message>
1156 <threadName>true</threadName>
1157 <dataType>true</dataType>
1158 <encoding>false</encoding>
1159 <assertions>true</assertions>
1160 <subresults>true</subresults>
1161 <responseData>false</responseData>
1162 <samplerData>false</samplerData>
1164 <fieldNames>true</fieldNames>
1165 <responseHeaders>false</responseHeaders>
1166 <requestHeaders>false</requestHeaders>
1167 <responseDataOnError>false</responseDataOnError>
1168 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1169 <assertionsResultsToSave>0</assertionsResultsToSave>
1171 <sentBytes>true</sentBytes>
1173 <threadCounts>true</threadCounts>
1174 <idleTime>true</idleTime>
1175 <connectTime>true</connectTime>
1178 <stringProp name="filename">/tmp/pdpx_perf_setup.log</stringProp>
1182 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Policy XACML PDP Health Check " enabled="true">
1183 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1184 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1185 <boolProp name="LoopController.continue_forever">false</boolProp>
1186 <intProp name="LoopController.loops">-1</intProp>
1188 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
1189 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
1190 <boolProp name="ThreadGroup.scheduler">true</boolProp>
1191 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
1192 <stringProp name="ThreadGroup.delay">1</stringProp>
1193 <longProp name="ThreadGroup.start_time">1587406332000</longProp>
1194 <longProp name="ThreadGroup.end_time">1587406332000</longProp>
1195 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1198 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true">
1199 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1200 <collectionProp name="Arguments.arguments"/>
1202 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1203 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1204 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1205 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1206 <stringProp name="HTTPSampler.protocol">https</stringProp>
1207 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1208 <stringProp name="HTTPSampler.path">policy/pdpx/v1/healthcheck</stringProp>
1209 <stringProp name="HTTPSampler.method">GET</stringProp>
1210 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1211 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1212 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1213 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1214 <boolProp name="HTTPSampler.monitor">false</boolProp>
1215 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1216 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
1219 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1220 <collectionProp name="Asserion.test_strings">
1221 <stringProp name="49586">200</stringProp>
1223 <stringProp name="Assertion.custom_message"></stringProp>
1224 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1225 <boolProp name="Assertion.assume_success">false</boolProp>
1226 <intProp name="Assertion.test_type">8</intProp>
1227 <stringProp name="Assertion.scope">all</stringProp>
1228 </ResponseAssertion>
1230 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1231 <stringProp name="scriptLanguage">groovy</stringProp>
1232 <stringProp name="parameters"></stringProp>
1233 <stringProp name="filename"></stringProp>
1234 <stringProp name="cacheKey">true</stringProp>
1235 <stringProp name="script">import groovy.json.JsonSlurper;
1238 if (prev.getResponseCode() == '200') {
1239 def jsonSlurper = new JsonSlurper();
1240 res = jsonSlurper.parseText(prev.getResponseDataAsString());
1242 assert res instanceof Map;
1243 assert res.code == 200;
1249 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1250 <collectionProp name="AuthManager.auth_list">
1251 <elementProp name="" elementType="Authorization">
1252 <stringProp name="Authorization.url">https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp>
1253 <stringProp name="Authorization.username">healthcheck</stringProp>
1254 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1255 <stringProp name="Authorization.domain"></stringProp>
1256 <stringProp name="Authorization.realm"></stringProp>
1259 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1260 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1263 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1264 <boolProp name="ResultCollector.error_logging">false</boolProp>
1266 <name>saveConfig</name>
1267 <value class="SampleSaveConfiguration">
1269 <latency>true</latency>
1270 <timestamp>true</timestamp>
1271 <success>true</success>
1274 <message>true</message>
1275 <threadName>true</threadName>
1276 <dataType>true</dataType>
1277 <encoding>false</encoding>
1278 <assertions>true</assertions>
1279 <subresults>true</subresults>
1280 <responseData>false</responseData>
1281 <samplerData>false</samplerData>
1283 <fieldNames>true</fieldNames>
1284 <responseHeaders>false</responseHeaders>
1285 <requestHeaders>false</requestHeaders>
1286 <responseDataOnError>false</responseDataOnError>
1287 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1288 <assertionsResultsToSave>0</assertionsResultsToSave>
1290 <sentBytes>true</sentBytes>
1292 <threadCounts>true</threadCounts>
1293 <idleTime>true</idleTime>
1294 <connectTime>true</connectTime>
1297 <stringProp name="filename">/tmp/pdpx_perf_health.log</stringProp>
1298 <stringProp name="TestPlan.comments"> </stringProp>
1302 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Statistics Check " enabled="true">
1303 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1304 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1305 <boolProp name="LoopController.continue_forever">false</boolProp>
1306 <intProp name="LoopController.loops">-1</intProp>
1308 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
1309 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
1310 <boolProp name="ThreadGroup.scheduler">true</boolProp>
1311 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
1312 <stringProp name="ThreadGroup.delay">1</stringProp>
1313 <longProp name="ThreadGroup.start_time">1587406332000</longProp>
1314 <longProp name="ThreadGroup.end_time">1587406332000</longProp>
1315 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1318 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Statistics" enabled="true">
1319 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1320 <collectionProp name="Arguments.arguments"/>
1322 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1323 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1324 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1325 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1326 <stringProp name="HTTPSampler.protocol">https</stringProp>
1327 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1328 <stringProp name="HTTPSampler.path">policy/pdpx/v1/statistics</stringProp>
1329 <stringProp name="HTTPSampler.method">GET</stringProp>
1330 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1331 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1332 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1333 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1334 <boolProp name="HTTPSampler.monitor">false</boolProp>
1335 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1336 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
1339 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1340 <collectionProp name="Asserion.test_strings">
1341 <stringProp name="49586">200</stringProp>
1343 <stringProp name="Assertion.custom_message"></stringProp>
1344 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1345 <boolProp name="Assertion.assume_success">false</boolProp>
1346 <intProp name="Assertion.test_type">8</intProp>
1347 </ResponseAssertion>
1349 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
1350 <stringProp name="scriptLanguage">groovy</stringProp>
1351 <stringProp name="parameters"></stringProp>
1352 <stringProp name="filename"></stringProp>
1353 <stringProp name="cacheKey">true</stringProp>
1354 <stringProp name="script">import groovy.json.JsonSlurper;
1357 if (prev.getResponseCode() == '200') {
1358 def jsonSlurper = new JsonSlurper();
1359 res = jsonSlurper.parseText(prev.getResponseDataAsString());
1361 assert res instanceof Map;
1362 assert res.code == 200;
1369 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1370 <collectionProp name="AuthManager.auth_list">
1371 <elementProp name="" elementType="Authorization">
1372 <stringProp name="Authorization.url">https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp>
1373 <stringProp name="Authorization.username">healthcheck</stringProp>
1374 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1375 <stringProp name="Authorization.domain"></stringProp>
1376 <stringProp name="Authorization.realm"></stringProp>
1379 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1380 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1383 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1384 <boolProp name="ResultCollector.error_logging">false</boolProp>
1386 <name>saveConfig</name>
1387 <value class="SampleSaveConfiguration">
1389 <latency>true</latency>
1390 <timestamp>true</timestamp>
1391 <success>true</success>
1394 <message>true</message>
1395 <threadName>true</threadName>
1396 <dataType>true</dataType>
1397 <encoding>false</encoding>
1398 <assertions>true</assertions>
1399 <subresults>true</subresults>
1400 <responseData>false</responseData>
1401 <samplerData>false</samplerData>
1403 <fieldNames>true</fieldNames>
1404 <responseHeaders>false</responseHeaders>
1405 <requestHeaders>false</requestHeaders>
1406 <responseDataOnError>false</responseDataOnError>
1407 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1408 <assertionsResultsToSave>0</assertionsResultsToSave>
1410 <sentBytes>true</sentBytes>
1412 <threadCounts>true</threadCounts>
1413 <idleTime>true</idleTime>
1414 <connectTime>true</connectTime>
1417 <stringProp name="filename">/tmp/pdpx_perf_stats.log</stringProp>
1421 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Decisions" enabled="true">
1422 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1423 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1424 <boolProp name="LoopController.continue_forever">false</boolProp>
1425 <intProp name="LoopController.loops">-1</intProp>
1427 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
1428 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
1429 <boolProp name="ThreadGroup.scheduler">true</boolProp>
1430 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
1431 <stringProp name="ThreadGroup.delay">1</stringProp>
1432 <longProp name="ThreadGroup.start_time">1587406332000</longProp>
1433 <longProp name="ThreadGroup.end_time">1587406332000</longProp>
1434 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1437 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions" enabled="true">
1438 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1439 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1440 <collectionProp name="Arguments.arguments">
1441 <elementProp name="" elementType="HTTPArgument">
1442 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1443 <stringProp name="Argument.value">{
1444 "ONAPName": "DCAE",
1445 "ONAPComponent": "PolicyHandler",
1446 "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64",
1447 "action": "configure",
1448 "resource": {
1449 "policy-id": "onap.restart.tca",
1450 "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app"
1453 <stringProp name="Argument.metadata">=</stringProp>
1457 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1458 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1459 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1460 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1461 <stringProp name="HTTPSampler.protocol">https</stringProp>
1462 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1463 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1464 <stringProp name="HTTPSampler.method">POST</stringProp>
1465 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1466 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1467 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1468 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1469 <boolProp name="HTTPSampler.monitor">false</boolProp>
1470 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1471 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
1474 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1475 <collectionProp name="Asserion.test_strings">
1476 <stringProp name="49586">200</stringProp>
1478 <stringProp name="Assertion.custom_message"></stringProp>
1479 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1480 <boolProp name="Assertion.assume_success">false</boolProp>
1481 <intProp name="Assertion.test_type">8</intProp>
1482 </ResponseAssertion>
1484 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1485 <collectionProp name="Asserion.test_strings">
1486 <stringProp name="3575610">type</stringProp>
1487 <stringProp name="-450004177">metadata</stringProp>
1489 <stringProp name="Assertion.custom_message"></stringProp>
1490 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1491 <boolProp name="Assertion.assume_success">false</boolProp>
1492 <intProp name="Assertion.test_type">2</intProp>
1493 </ResponseAssertion>
1495 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1496 <collectionProp name="Asserion.test_strings">
1497 <stringProp name="-926053069">properties</stringProp>
1499 <stringProp name="Assertion.custom_message"></stringProp>
1500 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1501 <boolProp name="Assertion.assume_success">false</boolProp>
1502 <intProp name="Assertion.test_type">2</intProp>
1503 </ResponseAssertion>
1506 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions with Abbreviated Results" enabled="true">
1507 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1508 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1509 <collectionProp name="Arguments.arguments">
1510 <elementProp name="" elementType="HTTPArgument">
1511 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1512 <stringProp name="Argument.value">{
1513 "ONAPName": "DCAE",
1514 "ONAPComponent": "PolicyHandler",
1515 "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64",
1516 "action": "configure",
1517 "resource": {
1518 "policy-id": "onap.restart.tca",
1519 "policy-type": "onap.policies.monitoring.cdap.tca.hi.lo.app"
1522 <stringProp name="Argument.metadata">=</stringProp>
1526 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1527 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1528 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1529 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1530 <stringProp name="HTTPSampler.protocol">https</stringProp>
1531 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1532 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision?abbrev=true</stringProp>
1533 <stringProp name="HTTPSampler.method">POST</stringProp>
1534 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1535 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1536 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1537 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1538 <boolProp name="HTTPSampler.monitor">false</boolProp>
1539 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1540 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
1543 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1544 <collectionProp name="Asserion.test_strings">
1545 <stringProp name="49586">200</stringProp>
1547 <stringProp name="Assertion.custom_message"></stringProp>
1548 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1549 <boolProp name="Assertion.assume_success">false</boolProp>
1550 <intProp name="Assertion.test_type">8</intProp>
1551 </ResponseAssertion>
1553 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1554 <collectionProp name="Asserion.test_strings">
1555 <stringProp name="3575610">type</stringProp>
1556 <stringProp name="-450004177">metadata</stringProp>
1558 <stringProp name="Assertion.custom_message"></stringProp>
1559 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1560 <boolProp name="Assertion.assume_success">false</boolProp>
1561 <intProp name="Assertion.test_type">2</intProp>
1562 </ResponseAssertion>
1564 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1565 <collectionProp name="Asserion.test_strings">
1566 <stringProp name="-926053069">properties</stringProp>
1568 <stringProp name="Assertion.custom_message"></stringProp>
1569 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1570 <boolProp name="Assertion.assume_success">false</boolProp>
1571 <intProp name="Assertion.test_type">6</intProp>
1572 </ResponseAssertion>
1575 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Naming Decisions" enabled="true">
1576 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1577 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1578 <collectionProp name="Arguments.arguments">
1579 <elementProp name="" elementType="HTTPArgument">
1580 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1581 <stringProp name="Argument.value">{
1582 "ONAPName": "SDNC",
1583 "ONAPComponent": "SNDC-component",
1584 "ONAPInstance": "SDNC-component-instance",
1585 "requestId": "unique-request-sdnc-1",
1586 "action": "naming",
1587 "resource": {
1588 "nfRole": [],
1589 "naming-type": [],
1590 "property-name": [],
1591 "policy-type": ["onap.policies.Naming"]
1594 <stringProp name="Argument.metadata">=</stringProp>
1598 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1599 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1600 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1601 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1602 <stringProp name="HTTPSampler.protocol">https</stringProp>
1603 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1604 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1605 <stringProp name="HTTPSampler.method">POST</stringProp>
1606 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1607 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1608 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1609 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1610 <boolProp name="HTTPSampler.monitor">false</boolProp>
1611 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1612 <stringProp name="TestPlan.comments">Get Configuration Data for Naming Policy</stringProp>
1615 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1616 <collectionProp name="Asserion.test_strings">
1617 <stringProp name="49586">200</stringProp>
1619 <stringProp name="Assertion.custom_message"></stringProp>
1620 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1621 <boolProp name="Assertion.assume_success">false</boolProp>
1622 <intProp name="Assertion.test_type">8</intProp>
1623 </ResponseAssertion>
1625 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1626 <collectionProp name="Asserion.test_strings">
1627 <stringProp name="3575610">type</stringProp>
1628 <stringProp name="-450004177">metadata</stringProp>
1630 <stringProp name="Assertion.custom_message"></stringProp>
1631 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1632 <boolProp name="Assertion.assume_success">false</boolProp>
1633 <intProp name="Assertion.test_type">2</intProp>
1634 </ResponseAssertion>
1636 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1637 <collectionProp name="Asserion.test_strings">
1638 <stringProp name="-926053069">properties</stringProp>
1640 <stringProp name="Assertion.custom_message"></stringProp>
1641 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1642 <boolProp name="Assertion.assume_success">false</boolProp>
1643 <intProp name="Assertion.test_type">2</intProp>
1644 </ResponseAssertion>
1647 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Optimization Decisions" enabled="true">
1648 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1649 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1650 <collectionProp name="Arguments.arguments">
1651 <elementProp name="" elementType="HTTPArgument">
1652 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1653 <stringProp name="Argument.value">{
1654 "ONAPName": "OOF",
1655 "ONAPComponent": "OOF-component",
1656 "ONAPInstance": "OOF-component-instance",
1657 "context" : {
1658 "subscriberName": []
1660 "action": "optimize",
1661 "resource": {
1662 "scope": [],
1663 "services": [],
1664 "resources": [],
1665 "geography": []
1668 <stringProp name="Argument.metadata">=</stringProp>
1672 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1673 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1674 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1675 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1676 <stringProp name="HTTPSampler.protocol">https</stringProp>
1677 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1678 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1679 <stringProp name="HTTPSampler.method">POST</stringProp>
1680 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1681 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1682 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1683 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1684 <boolProp name="HTTPSampler.monitor">false</boolProp>
1685 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1686 <stringProp name="TestPlan.comments">Get Configuration Data for Optimization Policy</stringProp>
1689 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1690 <collectionProp name="Asserion.test_strings">
1691 <stringProp name="49586">200</stringProp>
1693 <stringProp name="Assertion.custom_message"></stringProp>
1694 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1695 <boolProp name="Assertion.assume_success">false</boolProp>
1696 <intProp name="Assertion.test_type">8</intProp>
1697 </ResponseAssertion>
1699 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1700 <collectionProp name="Asserion.test_strings">
1701 <stringProp name="3575610">type</stringProp>
1702 <stringProp name="-450004177">metadata</stringProp>
1704 <stringProp name="Assertion.custom_message"></stringProp>
1705 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1706 <boolProp name="Assertion.assume_success">false</boolProp>
1707 <intProp name="Assertion.test_type">2</intProp>
1708 </ResponseAssertion>
1710 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1711 <collectionProp name="Asserion.test_strings">
1712 <stringProp name="-926053069">properties</stringProp>
1714 <stringProp name="Assertion.custom_message"></stringProp>
1715 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1716 <boolProp name="Assertion.assume_success">false</boolProp>
1717 <intProp name="Assertion.test_type">2</intProp>
1718 </ResponseAssertion>
1721 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Default Guard Decisions" enabled="true">
1722 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1723 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1724 <collectionProp name="Arguments.arguments">
1725 <elementProp name="" elementType="HTTPArgument">
1726 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1727 <stringProp name="Argument.value">{
1728 "ONAPName": "Guard",
1729 "ONAPComponent": "Guard-component",
1730 "ONAPInstance": "Guard-component-instance",
1731 "requestId": "unique-request-guard-1",
1732 "action": "guard",
1733 "resource": {
1734 "guard": {
1735 "actor": "APPC",
1736 "operation": "ModifyConfig",
1737 "target": "f17face5-69cb-4c88-9e0b-7426db7edddd",
1738 "requestId": "c7c6a4aa-bb61-4a15-b831-ba1472dd4a65",
1739 "clname": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a"
1743 <stringProp name="Argument.metadata">=</stringProp>
1747 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1748 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1749 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1750 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1751 <stringProp name="HTTPSampler.protocol">https</stringProp>
1752 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1753 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1754 <stringProp name="HTTPSampler.method">POST</stringProp>
1755 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1756 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1757 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1758 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1759 <boolProp name="HTTPSampler.monitor">false</boolProp>
1760 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1761 <stringProp name="TestPlan.comments">Get Default Guard Decisions</stringProp>
1764 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1765 <collectionProp name="Asserion.test_strings">
1766 <stringProp name="49586">200</stringProp>
1768 <stringProp name="Assertion.custom_message"></stringProp>
1769 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1770 <boolProp name="Assertion.assume_success">false</boolProp>
1771 <intProp name="Assertion.test_type">8</intProp>
1772 </ResponseAssertion>
1774 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1775 <collectionProp name="Asserion.test_strings">
1776 <stringProp name="-1907855301">Permit</stringProp>
1778 <stringProp name="Assertion.custom_message"></stringProp>
1779 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1780 <boolProp name="Assertion.assume_success">false</boolProp>
1781 <intProp name="Assertion.test_type">2</intProp>
1782 </ResponseAssertion>
1785 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Frequency Limiter Guard Decisions" enabled="true">
1786 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1787 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1788 <collectionProp name="Arguments.arguments">
1789 <elementProp name="" elementType="HTTPArgument">
1790 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1791 <stringProp name="Argument.value">{
1792 "ONAPName": "Policy",
1793 "ONAPComponent": "drools-pdp",
1794 "ONAPInstance": "usecase-template",
1795 "requestId": "unique-request-id-1",
1796 "action": "guard",
1797 "resource": {
1798 "guard": {
1799 "actor": "SO",
1800 "operation": "scaleOut",
1801 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
1802 "target": "vLoadBalancer-00",
1803 "vfCount": "1"
1810 <stringProp name="Argument.metadata">=</stringProp>
1814 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1815 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1816 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1817 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1818 <stringProp name="HTTPSampler.protocol">https</stringProp>
1819 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1820 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1821 <stringProp name="HTTPSampler.method">POST</stringProp>
1822 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1823 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1824 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1825 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1826 <boolProp name="HTTPSampler.monitor">false</boolProp>
1827 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1828 <stringProp name="TestPlan.comments">Get Frequency Limiter Guard Decisions</stringProp>
1831 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1832 <collectionProp name="Asserion.test_strings">
1833 <stringProp name="49586">200</stringProp>
1835 <stringProp name="Assertion.custom_message"></stringProp>
1836 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1837 <boolProp name="Assertion.assume_success">false</boolProp>
1838 <intProp name="Assertion.test_type">8</intProp>
1839 </ResponseAssertion>
1841 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1842 <collectionProp name="Asserion.test_strings">
1843 <stringProp name="-1907855301">Permit</stringProp>
1845 <stringProp name="Assertion.custom_message"></stringProp>
1846 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1847 <boolProp name="Assertion.assume_success">false</boolProp>
1848 <intProp name="Assertion.test_type">2</intProp>
1849 </ResponseAssertion>
1852 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Min/Max Guard Decisions" enabled="true">
1853 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
1854 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
1855 <collectionProp name="Arguments.arguments">
1856 <elementProp name="" elementType="HTTPArgument">
1857 <boolProp name="HTTPArgument.always_encode">false</boolProp>
1858 <stringProp name="Argument.value">{
1859 "ONAPName": "Policy",
1860 "ONAPComponent": "drools-pdp",
1861 "ONAPInstance": "usecase-template",
1862 "requestId": "unique-request-id-1",
1863 "action": "guard",
1864 "resource": {
1865 "guard": {
1866 "actor": "SO",
1867 "operation": "scaleOut",
1868 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
1869 "target": "vLoadBalancer-00",
1870 "vfCount": "1"
1874 <stringProp name="Argument.metadata">=</stringProp>
1878 <stringProp name="HTTPSampler.domain">${XACML_HOST}</stringProp>
1879 <stringProp name="HTTPSampler.port">${XACML_PORT}</stringProp>
1880 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1881 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1882 <stringProp name="HTTPSampler.protocol">https</stringProp>
1883 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1884 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
1885 <stringProp name="HTTPSampler.method">POST</stringProp>
1886 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1887 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1888 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1889 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1890 <boolProp name="HTTPSampler.monitor">false</boolProp>
1891 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1892 <stringProp name="TestPlan.comments">Get Min/Max Guard Decisions</stringProp>
1895 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1896 <collectionProp name="Asserion.test_strings">
1897 <stringProp name="49586">200</stringProp>
1899 <stringProp name="Assertion.custom_message"></stringProp>
1900 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
1901 <boolProp name="Assertion.assume_success">false</boolProp>
1902 <intProp name="Assertion.test_type">8</intProp>
1903 </ResponseAssertion>
1905 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
1906 <collectionProp name="Asserion.test_strings">
1907 <stringProp name="-1907855301">Permit</stringProp>
1909 <stringProp name="Assertion.custom_message"></stringProp>
1910 <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
1911 <boolProp name="Assertion.assume_success">false</boolProp>
1912 <intProp name="Assertion.test_type">2</intProp>
1913 </ResponseAssertion>
1916 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1917 <collectionProp name="AuthManager.auth_list">
1918 <elementProp name="" elementType="Authorization">
1919 <stringProp name="Authorization.url">https://${XACML_HOST}:${XACML_PORT}/policy/pdpx/v1</stringProp>
1920 <stringProp name="Authorization.username">healthcheck</stringProp>
1921 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1922 <stringProp name="Authorization.domain"></stringProp>
1923 <stringProp name="Authorization.realm"></stringProp>
1926 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1927 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
1930 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1931 <boolProp name="ResultCollector.error_logging">false</boolProp>
1933 <name>saveConfig</name>
1934 <value class="SampleSaveConfiguration">
1936 <latency>true</latency>
1937 <timestamp>true</timestamp>
1938 <success>true</success>
1941 <message>true</message>
1942 <threadName>true</threadName>
1943 <dataType>true</dataType>
1944 <encoding>false</encoding>
1945 <assertions>true</assertions>
1946 <subresults>true</subresults>
1947 <responseData>false</responseData>
1948 <samplerData>false</samplerData>
1950 <fieldNames>true</fieldNames>
1951 <responseHeaders>false</responseHeaders>
1952 <requestHeaders>false</requestHeaders>
1953 <responseDataOnError>false</responseDataOnError>
1954 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1955 <assertionsResultsToSave>0</assertionsResultsToSave>
1957 <sentBytes>true</sentBytes>
1959 <threadCounts>true</threadCounts>
1960 <idleTime>true</idleTime>
1961 <connectTime>true</connectTime>
1964 <stringProp name="filename">/tmp/pdpx_perf_decisions.log</stringProp>
1968 <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
1969 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
1970 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
1971 <boolProp name="LoopController.continue_forever">false</boolProp>
1972 <stringProp name="LoopController.loops">1</stringProp>
1974 <stringProp name="ThreadGroup.num_threads">1</stringProp>
1975 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
1976 <boolProp name="ThreadGroup.scheduler">false</boolProp>
1977 <stringProp name="ThreadGroup.duration"></stringProp>
1978 <stringProp name="ThreadGroup.delay"></stringProp>
1979 <longProp name="ThreadGroup.start_time">1587406332000</longProp>
1980 <longProp name="ThreadGroup.end_time">1587406332000</longProp>
1981 <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp>
1984 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Monitoring Policy" enabled="true">
1985 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1986 <collectionProp name="Arguments.arguments"/>
1988 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
1989 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
1990 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1991 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1992 <stringProp name="HTTPSampler.protocol">https</stringProp>
1993 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1994 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/onap.restart.tca</stringProp>
1995 <stringProp name="HTTPSampler.method">DELETE</stringProp>
1996 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1997 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1998 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1999 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2000 <boolProp name="HTTPSampler.monitor">false</boolProp>
2001 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2004 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2005 <collectionProp name="AuthManager.auth_list">
2006 <elementProp name="" elementType="Authorization">
2007 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2008 <stringProp name="Authorization.username">healthcheck</stringProp>
2009 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2010 <stringProp name="Authorization.domain"></stringProp>
2011 <stringProp name="Authorization.realm"></stringProp>
2014 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2015 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2019 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Optimization Policy" enabled="true">
2020 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2021 <collectionProp name="Arguments.arguments"/>
2023 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2024 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2025 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2026 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2027 <stringProp name="HTTPSampler.protocol">https</stringProp>
2028 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2029 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/OSDF_CASABLANCA.Affinity_Default</stringProp>
2030 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2031 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2032 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2033 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2034 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2035 <boolProp name="HTTPSampler.monitor">false</boolProp>
2036 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2039 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2040 <collectionProp name="AuthManager.auth_list">
2041 <elementProp name="" elementType="Authorization">
2042 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2043 <stringProp name="Authorization.username">healthcheck</stringProp>
2044 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2045 <stringProp name="Authorization.domain"></stringProp>
2046 <stringProp name="Authorization.realm"></stringProp>
2049 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2050 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2054 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Min/Max Guard Policy" enabled="true">
2055 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2056 <collectionProp name="Arguments.arguments"/>
2058 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2059 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2060 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2061 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2062 <stringProp name="HTTPSampler.protocol">https</stringProp>
2063 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2064 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.minmax.scaleout</stringProp>
2065 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2066 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2067 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2068 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2069 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2070 <boolProp name="HTTPSampler.monitor">false</boolProp>
2071 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2074 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2075 <collectionProp name="AuthManager.auth_list">
2076 <elementProp name="" elementType="Authorization">
2077 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2078 <stringProp name="Authorization.username">healthcheck</stringProp>
2079 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2080 <stringProp name="Authorization.domain"></stringProp>
2081 <stringProp name="Authorization.realm"></stringProp>
2084 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2085 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2089 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Frequency Limiter Guard Policy" enabled="true">
2090 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2091 <collectionProp name="Arguments.arguments"/>
2093 <stringProp name="HTTPSampler.domain">${PAP_HOST}</stringProp>
2094 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
2095 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2096 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2097 <stringProp name="HTTPSampler.protocol">https</stringProp>
2098 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2099 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.frequency.scaleout</stringProp>
2100 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2101 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2102 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2103 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2104 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2105 <boolProp name="HTTPSampler.monitor">false</boolProp>
2106 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2109 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2110 <collectionProp name="AuthManager.auth_list">
2111 <elementProp name="" elementType="Authorization">
2112 <stringProp name="Authorization.url">https://${PAP_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
2113 <stringProp name="Authorization.username">healthcheck</stringProp>
2114 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2115 <stringProp name="Authorization.domain"></stringProp>
2116 <stringProp name="Authorization.realm"></stringProp>
2119 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2120 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2124 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Monitoring Policy" enabled="true">
2125 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2126 <collectionProp name="Arguments.arguments"/>
2128 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2129 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2130 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2131 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2132 <stringProp name="HTTPSampler.protocol">https</stringProp>
2133 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2134 <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>
2135 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2136 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2137 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2138 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2139 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2140 <boolProp name="HTTPSampler.monitor">false</boolProp>
2141 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2144 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2145 <collectionProp name="AuthManager.auth_list">
2146 <elementProp name="" elementType="Authorization">
2147 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2148 <stringProp name="Authorization.username">healthcheck</stringProp>
2149 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2150 <stringProp name="Authorization.domain"></stringProp>
2151 <stringProp name="Authorization.realm"></stringProp>
2154 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2155 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2159 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Optimization Policy" enabled="true">
2160 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2161 <collectionProp name="Arguments.arguments"/>
2163 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2164 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2165 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2166 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2167 <stringProp name="HTTPSampler.protocol">https</stringProp>
2168 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2169 <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>
2170 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2171 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2172 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2173 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2174 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2175 <boolProp name="HTTPSampler.monitor">false</boolProp>
2176 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2179 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2180 <collectionProp name="AuthManager.auth_list">
2181 <elementProp name="" elementType="Authorization">
2182 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2183 <stringProp name="Authorization.username">healthcheck</stringProp>
2184 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2185 <stringProp name="Authorization.domain"></stringProp>
2186 <stringProp name="Authorization.realm"></stringProp>
2189 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2190 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2194 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Min/Max Guard Policy" enabled="true">
2195 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2196 <collectionProp name="Arguments.arguments"/>
2198 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2199 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2200 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2201 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2202 <stringProp name="HTTPSampler.protocol">https</stringProp>
2203 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2204 <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>
2205 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2206 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2207 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2208 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2209 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2210 <boolProp name="HTTPSampler.monitor">false</boolProp>
2211 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2214 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2215 <collectionProp name="AuthManager.auth_list">
2216 <elementProp name="" elementType="Authorization">
2217 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2218 <stringProp name="Authorization.username">healthcheck</stringProp>
2219 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2220 <stringProp name="Authorization.domain"></stringProp>
2221 <stringProp name="Authorization.realm"></stringProp>
2224 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2225 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2229 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Frequency Limiter Guard Policy" enabled="true">
2230 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
2231 <collectionProp name="Arguments.arguments"/>
2233 <stringProp name="HTTPSampler.domain">${API_HOST}</stringProp>
2234 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
2235 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
2236 <stringProp name="HTTPSampler.response_timeout"></stringProp>
2237 <stringProp name="HTTPSampler.protocol">https</stringProp>
2238 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
2239 <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>
2240 <stringProp name="HTTPSampler.method">DELETE</stringProp>
2241 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2242 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2243 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2244 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2245 <boolProp name="HTTPSampler.monitor">false</boolProp>
2246 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
2249 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
2250 <collectionProp name="AuthManager.auth_list">
2251 <elementProp name="" elementType="Authorization">
2252 <stringProp name="Authorization.url">https://${API_HOST}:${API_PORT}/policy/api/v1</stringProp>
2253 <stringProp name="Authorization.username">healthcheck</stringProp>
2254 <stringProp name="Authorization.password">zb!XztG34</stringProp>
2255 <stringProp name="Authorization.domain"></stringProp>
2256 <stringProp name="Authorization.realm"></stringProp>
2259 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
2260 <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp>
2264 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
2265 <boolProp name="ResultCollector.error_logging">false</boolProp>
2267 <name>saveConfig</name>
2268 <value class="SampleSaveConfiguration">
2270 <latency>true</latency>
2271 <timestamp>true</timestamp>
2272 <success>true</success>
2275 <message>true</message>
2276 <threadName>true</threadName>
2277 <dataType>true</dataType>
2278 <encoding>false</encoding>
2279 <assertions>true</assertions>
2280 <subresults>true</subresults>
2281 <responseData>false</responseData>
2282 <samplerData>false</samplerData>
2284 <fieldNames>true</fieldNames>
2285 <responseHeaders>false</responseHeaders>
2286 <requestHeaders>false</requestHeaders>
2287 <responseDataOnError>false</responseDataOnError>
2288 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2289 <assertionsResultsToSave>0</assertionsResultsToSave>
2291 <sentBytes>true</sentBytes>
2293 <threadCounts>true</threadCounts>
2294 <idleTime>true</idleTime>
2295 <connectTime>true</connectTime>
2298 <stringProp name="filename">/tmp/pdpx_perf_teardown.log</stringProp>
2302 <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
2303 <boolProp name="ResultCollector.error_logging">false</boolProp>
2305 <name>saveConfig</name>
2306 <value class="SampleSaveConfiguration">
2308 <latency>true</latency>
2309 <timestamp>true</timestamp>
2310 <success>true</success>
2313 <message>true</message>
2314 <threadName>true</threadName>
2315 <dataType>true</dataType>
2316 <encoding>false</encoding>
2317 <assertions>true</assertions>
2318 <subresults>true</subresults>
2319 <responseData>false</responseData>
2320 <samplerData>false</samplerData>
2322 <fieldNames>true</fieldNames>
2323 <responseHeaders>false</responseHeaders>
2324 <requestHeaders>false</requestHeaders>
2325 <responseDataOnError>false</responseDataOnError>
2326 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2327 <assertionsResultsToSave>0</assertionsResultsToSave>
2329 <sentBytes>true</sentBytes>
2331 <threadCounts>true</threadCounts>
2332 <idleTime>true</idleTime>
2333 <connectTime>true</connectTime>
2336 <stringProp name="filename">/tmp/pdpx_perf_summaryReport.log</stringProp>
2337 <boolProp name="useGroupName">true</boolProp>
2340 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
2341 <boolProp name="ResultCollector.error_logging">false</boolProp>
2343 <name>saveConfig</name>
2344 <value class="SampleSaveConfiguration">
2346 <latency>true</latency>
2347 <timestamp>true</timestamp>
2348 <success>true</success>
2351 <message>true</message>
2352 <threadName>true</threadName>
2353 <dataType>true</dataType>
2354 <encoding>false</encoding>
2355 <assertions>true</assertions>
2356 <subresults>true</subresults>
2357 <responseData>false</responseData>
2358 <samplerData>false</samplerData>
2360 <fieldNames>true</fieldNames>
2361 <responseHeaders>false</responseHeaders>
2362 <requestHeaders>false</requestHeaders>
2363 <responseDataOnError>false</responseDataOnError>
2364 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2365 <assertionsResultsToSave>0</assertionsResultsToSave>
2367 <sentBytes>true</sentBytes>
2369 <threadCounts>true</threadCounts>
2370 <idleTime>true</idleTime>
2371 <connectTime>true</connectTime>
2374 <stringProp name="filename">/tmp/pdpx_perf_resultsTree.log</stringProp>
2377 <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
2378 <boolProp name="ResultCollector.error_logging">false</boolProp>
2380 <name>saveConfig</name>
2381 <value class="SampleSaveConfiguration">
2383 <latency>true</latency>
2384 <timestamp>true</timestamp>
2385 <success>true</success>
2388 <message>true</message>
2389 <threadName>true</threadName>
2390 <dataType>true</dataType>
2391 <encoding>false</encoding>
2392 <assertions>true</assertions>
2393 <subresults>true</subresults>
2394 <responseData>false</responseData>
2395 <samplerData>false</samplerData>
2397 <fieldNames>true</fieldNames>
2398 <responseHeaders>false</responseHeaders>
2399 <requestHeaders>false</requestHeaders>
2400 <responseDataOnError>false</responseDataOnError>
2401 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
2402 <assertionsResultsToSave>0</assertionsResultsToSave>
2404 <sentBytes>true</sentBytes>
2406 <threadCounts>true</threadCounts>
2407 <idleTime>true</idleTime>
2408 <connectTime>true</connectTime>
2411 <stringProp name="filename">/tmp/pdpx_perf_resultsTable.log</stringProp>