diff options
Diffstat (limited to 'csit/resources/tests')
-rw-r--r-- | csit/resources/tests/distribution-test.robot | 8 | ||||
-rw-r--r-- | csit/resources/tests/drools-applications-test.robot | 42 | ||||
-rw-r--r-- | csit/resources/tests/pap-test.robot | 12 |
3 files changed, 25 insertions, 37 deletions
diff --git a/csit/resources/tests/distribution-test.robot b/csit/resources/tests/distribution-test.robot index c85be4fd..b8b49248 100644 --- a/csit/resources/tests/distribution-test.robot +++ b/csit/resources/tests/distribution-test.robot @@ -20,11 +20,11 @@ MetricsAfterExecution [Documentation] Verify policy-distribution is exporting prometheus metrics after execution ${hcauth}= PolicyAdminAuth ${resp}= PerformGetRequest ${DISTRIBUTION_IP} /metrics 200 null ${hcauth} - Should Contain ${resp.text} total_distribution_received_count_total 2.0 - Should Contain ${resp.text} distribution_success_count_total 2.0 + Should Contain ${resp.text} total_distribution_received_count_total 1.0 + Should Contain ${resp.text} distribution_success_count_total 1.0 Should Contain ${resp.text} distribution_failure_count_total 0.0 - Should Contain ${resp.text} total_download_received_count_total 2.0 - Should Contain ${resp.text} download_success_count_total 2.0 + Should Contain ${resp.text} total_download_received_count_total 1.0 + Should Contain ${resp.text} download_success_count_total 1.0 Should Contain ${resp.text} download_failure_count_total 0.0 *** Keywords *** diff --git a/csit/resources/tests/drools-applications-test.robot b/csit/resources/tests/drools-applications-test.robot index a5c09c72..edbc1df6 100644 --- a/csit/resources/tests/drools-applications-test.robot +++ b/csit/resources/tests/drools-applications-test.robot @@ -74,69 +74,69 @@ DeployXacmlPolicies # Should Contain ${result} deployed-policies # Should Contain ${result} operational.scaleout # Should Contain ${result} operational.restart - +# #VcpeExecute # [Documentation] Executes VCPE Policy # OnSet ${CURDIR}/data/vcpeOnset.json -# ${result}= CheckTopic POLICY-CL-MGT ACTIVE +# ${result}= CheckKafkaTopic policy-cl-mgt ACTIVE # Should Contain ${result} ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e # Should Contain ${result} Sending guard query for APPC Restart -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e # Should Contain ${result} Guard result for APPC Restart is Permit -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e # Should Contain ${result} actor=APPC,operation=Restart -# ${result}= CheckTopic POLICY-CL-MGT OPERATION: SUCCESS +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION: SUCCESS # Should Contain ${result} ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e # Should Contain ${result} actor=APPC,operation=Restart -# ${result}= CheckTopic POLICY-CL-MGT FINAL: SUCCESS +# ${result}= CheckKafkaTopic policy-cl-mgt FINAL: SUCCESS # Should Contain ${result} ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e # Should Contain ${result} APPC # Should Contain ${result} Restart - +# #VdnsExecute # [Documentation] Executes VDNS Policy # OnSet ${CURDIR}/data/vdnsOnset.json -# ${result}= CheckTopic POLICY-CL-MGT ACTIVE +# ${result}= CheckKafkaTopic policy-cl-mgt ACTIVE # Should Contain ${result} ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 # Should Contain ${result} Sending guard query for SO VF Module Create -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 # Should Contain ${result} Guard result for SO VF Module Create is Permit -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 # Should Contain ${result} actor=SO,operation=VF Module Create -# ${result}= CheckTopic POLICY-CL-MGT OPERATION: SUCCESS +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION: SUCCESS # Should Contain ${result} ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 # Should Contain ${result} actor=SO,operation=VF Module Create -# ${result}= CheckTopic POLICY-CL-MGT FINAL: SUCCESS +# ${result}= CheckKafkaTopic policy-cl-mgt FINAL: SUCCESS # Should Contain ${result} ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 # Should Contain ${result} SO # Should Contain ${result} VF Module Create - +# #VfwExecute # [Documentation] Executes VFW Policy # OnSet ${CURDIR}/data/vfwOnset.json -# ${result}= CheckTopic POLICY-CL-MGT ACTIVE +# ${result}= CheckKafkaTopic policy-cl-mgt ACTIVE # Should Contain ${result} ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a # Should Contain ${result} Sending guard query for APPC ModifyConfig -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a # Should Contain ${result} Guard result for APPC ModifyConfig is Permit -# ${result}= CheckTopic POLICY-CL-MGT OPERATION +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION # Should Contain ${result} ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a # Should Contain ${result} actor=APPC,operation=ModifyConfig -# ${result}= CheckTopic POLICY-CL-MGT OPERATION: SUCCESS +# ${result}= CheckKafkaTopic policy-cl-mgt OPERATION: SUCCESS # Should Contain ${result} ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a # Should Contain ${result} actor=APPC,operation=ModifyConfig -# ${result}= CheckTopic POLICY-CL-MGT FINAL: SUCCESS +# ${result}= CheckKafkaTopic policy-cl-mgt FINAL: SUCCESS # Should Contain ${result} ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a # Should Contain ${result} APPC # Should Contain ${result} ModifyConfig diff --git a/csit/resources/tests/pap-test.robot b/csit/resources/tests/pap-test.robot index 21a37d3b..cd02e3ab 100644 --- a/csit/resources/tests/pap-test.robot +++ b/csit/resources/tests/pap-test.robot @@ -134,15 +134,3 @@ DeletePdpGroups QueryPdpGroupsAfterDelete [Documentation] Verify PdpGroups after delete QueryPdpGroups 1 defaultGroup ACTIVE 0 null null null - -# ValidateSlaForPap -# [Documentation] Run checks against Prometheus server to check response time -# Sleep 30s -# ValidateDeploymentTime -# ValidateResponseTime pap-metrics /components/healthcheck GET 10000 -# ValidateResponseTimeForPap /healthcheck GET -# ValidateResponseTimeForPap /policies/audit GET -# ValidateResponseTimeForPap /pdps/groups/{name} PUT -# ValidateResponseTimeForPap /pdps/policies/{name} DELETE -# ValidateResponseTimeForPap /pdps/groups/{name} DELETE -# ValidateResponseTimeForPap /pdps/groups/batch POST |