

Port number of API for making REST API calls Port number of PAP for making REST API calls

User Defined Variables - used to store following user defined parameters. HTTP Header Manager - used to store headers which will be used for making HTTP requests. HTTP Authorization Manager - used to store user/password authentication details. The following steps can be used to configure the parameters of the test plan. Undeploy/Delete Policy - Undeploys and deletes the Policy for the next loopĪssert PDP Group Query for Deleted Policy - Ensures the policy has been removed and does not exist Get Metrics - Ensures Metrics is returning 200 OKĪssert PDP Group Query - Checks that PDPGroupQuery contains the deployed policyĪssert PoliciesDeployed - Checks that the policy is deployed Get Statistics - Ensures Statistics is returning 200 OK Get Healthcheck - Ensures Healthcheck is returning 200 OK The 72h stability test will run the following steps sequentially in a single threaded loop.ĭelete Old CSAR - Checks if CSAR already exists in the watched directory, if so it deletes itĪdd CSAR - Adds CSAR to the directory that distribution is watching Then be undeployed and the test will loop continuously until 72 hours have elapsed. Results from PAP and PolicyAPI to verify the successful deployment of the policy. Into the special directory where policy distribution is monitoring and will then get the processed The test will be performed in an environment where Jmeter will continuously add/remove a test csar (JMeter) and the result will be pulled from the backend (PAP and PolicyAPI) by the test client The input CSAR will be added/removed by the test client The policy distribution isĬonfigured with a special FileSystemReception plugin to monitor a local directory for newly addedĬsar files to be processed by itself. Transactions initiated from a test client server running JMeter.

The 72 hour Stability Test for policy distribution has the goal of introducing a steady flow of This is the JMX port exposed by theĭouble click on the newly added nodes under “Remotes” to start monitoring CPU, Memory & GC.Įxample Screenshot of visualVM Stability Test of Policy Distribution Introduction On the visualvm toolbar, click on “Add JMX Connection”Įnter the Distribution container IP and Port 9090. Creating network "setup_default" with the default driverįa4e9bd26e60 :10001/onap/policy-pap:2.6-SNAPSHOT-latest "/opt/app/policy/pap…" 1 second ago Up Less than a second 6969/tcp policy-papĮfb65dd95020 :10001/onap/policy-api:2.6-SNAPSHOT-latest "/opt/app/policy/api…" 1 second ago Up Less than a second 6969/tcp policy-apiĬf602c2770ba :10001/onap/policy-db-migrator:2.4-SNAPSHOT-latest "/opt/app/policy/bin…" 2 seconds ago Up 1 second 6824/tcp policy-db-migratorĩ9383d2fecf4 pdp/simulator "sh /opt/app/policy/…" 2 seconds ago Up 1 second pdp-simulatorģc0e205c5f47 :10001/onap/policy-models-simulator:2.6-SNAPSHOT-latest "simulators.sh" 3 seconds ago Up 2 seconds 3904/tcp simulatorģad00d90d6a3 :10001/onap/policy-distribution:2.7-SNAPSHOT-latest "/opt/app/policy/bin…" 3 seconds ago Up 2 seconds 6969/tcp, 9090/tcp policy-distributionīb0b915cdecc :10001/mariadb:10.5.8 "docker-entrypoint.s…" 3 seconds ago Up 2 seconds 3306/tcp mariadb
