Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test Case Id

Description

Pre-conditions

Test Steps

Expected Results

CSIT/External Lab
1Health CheckXacml-PDP docker image available

API – healthcheck

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/healthcheck

Should pass Health checkCSIT/External Lab
2StatisticsXacml-PDP docker image available

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

Should list 0 policies loaded, 0 decisionsCSIT
3Deploy PolicyXacml-PDP and PAP docker images available

API – deployPolicy

Method - POST

Endpoint: http://<host>:6969/policy/pdpx/v1/deployPolicy

Success deploy of policy to XACML PDPCSIT/External Lab (stretch)
4StatisticsXacml-PDP and PAP docker images available

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

Statistics should list 1 policy loadedCSIT
5Decision API

Xacml-PDP docker image available

API – decision

Method - POST

Endpoint: http://<host>:6969/policy/pdpx/v1/decision

Correct DecisionCSIT/External Lab (stretch)
6StatisticsXacml-PDP docker image available

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

Statistics should increment decision countCSIT
7Undeploy PolicyXacml-PDP and PAP docker images available

API – deployPolicy

Method - POST

Endpoint: http://<host>:6969/policy/pdpx/v1/undeployPolicy

Success undeploy of policyCSIT
8StatisticsXacml-PDP docker image available

API – statistics

Method - GET

Endpoint: http://<host>:6969/policy/pdpx/v1/statistics

Should list 0 policies loaded, 1 decisionCSIT

...