...
Test Case Id | Description | Pre-conditions | Test Steps | Expected Results | CSIT/External Lab | |
---|---|---|---|---|---|---|
1 | Health Check | Xacml-PDP docker image available | API – healthcheck Method - GET Endpoint: http://<host>:6969/policy/pdpx/v1/healthcheck | The component should return health status as “true” Status code 200 Should pass Health check | CSIT/External Lab | |
2 | Statistics | Xacml-PDP docker image available | API – statistics Method - GET Endpoint: http://<host>:6969/policy/pdpx/v1/statistics | Should list The Xacml PDP should return statistics report consisting of 0 policies loaded ,and 0 decisions Status code 200 | CSIT | |
3 | Deploy Policy | Xacml-PDP and PAP docker images available Policy created on the PAP | API – deployPolicy Method - POST Endpoint: http://<host>:6969/policy/pdpx/v1/deployPolicy | Success Successfully deploy ofa policy to the XACML PDP Statistics should increment policy count Status code 201 | CSIT/External Lab (stretch) | |
4 | Statistics | Xacml-PDP and PAP docker images available Test Case 3 success | API – statistics Method - GET Endpoint: http://<host>:6969/policy/pdpx/v1/statistics | Statistics should list The Xacml PDP should return statistics report consisting of 1 policy loaded and 0 decisions Status code 200 | CSIT | |
5 | Decision API | Xacml-PDP docker image available Test Case 4 success | API – decision Method - POST Endpoint: http://<host>:6969/policy/pdpx/v1/decision | Correct Decision | The Xacml PDP should return a Decision object containing the decision Statistics should increment decision count Status code 200 | CSIT/External Lab (stretch) |
6 | Statistics | Xacml-PDP docker image available Test Case 5 success | API – statistics Method - GET Endpoint: http://<host>:6969/policy/pdpx/v1/statistics | Xacml PDP should return a statistics report consisting of 1 policy loaded and 1 decisions Status code 200 Statistics should increment decision count | CSIT | |
7 | Undeploy Policy | Xacml-PDP and PAP docker images available | API – deployPolicy Method - POST Endpoint: http://<host>:6969/policy/pdpx/v1/undeployPolicy | Success Successfully undeploy of policy from the Xacml PDP Statistics should decrement the policy count Status code 201 | CSIT | |
8 | Statistics | Xacml-PDP docker image available Test Case 7 success | API – statistics Method - GET Endpoint: http://<host>:6969/policy/pdpx/v1/statistics | Should list Xacml PDP should return a statistics report consisting of 0 policies loaded ,and 1 decision Status code 200 | CSIT |
Triggered by merges in policy/apex-pdp (NOT FINISHED)
...