1 .. This work is licensed under a
2 .. Creative Commons Attribution 4.0 International License.
3 .. http://creativecommons.org/licenses/by/4.0
5 .. _policy-api-smoke-testing-label:
13 The policy-xacml-pdp smoke testing can be executed against a kubernetes based ONAP installation,
14 and/or a docker-compose set up similar to the one executed by CSIT tests.
22 For installation instructions, please refer to the following documentation:
24 `OOM Quick Start Guide <https://docs.onap.org/projects/onap-oom/en/latest/oom_quickstart_guide.html>`_
26 At a minimum policy needs the following components installed:
29 - AAF for certificate generation
30 - DMaaP message-router for communication among policy components.
35 A smaller testing environment can be put together by replicating the CSIT test environment:
37 `Policy CSIT Test infrastructure <https://git.onap.org/policy/docker/tree/csit>`_
42 The smoke tests should be focused on verifying the proper workings of the xacml
43 PDP and dependent components. The following scenarios should be considered:
45 - PDP-X registration with PAP.
46 - PDP-X restarts and re-registration with PAP.
48 - Statistics and Prometheus metrics.
49 - Verify decision with monitoring policies.
50 - Verify decision with optimization policy.
51 - Verify decision with min/max policy.
52 - Verify decision with frequency limiter policy.
53 - Verify decision with default guard policy.
54 - Verify decision with naming policy.
56 The following testsuites contain everything necessary for the previous verifications:
58 - `CSIT Robot framework <https://git.onap.org/policy/docker/tree/csit/xacml-pdp/tests/xacml-pdp-test.robot>`_
59 - `JMeter S3P <https://git.onap.org/policy/xacml-pdp/tree/testsuites/stability/src/main/resources/testplans/stability.jmx>`_