From 78c6f58b317633acfb934ec3bc0e2f3b511bf309 Mon Sep 17 00:00:00 2001 From: ramverma Date: Tue, 23 Oct 2018 16:58:34 +0100 Subject: Adding stability test plan of apex-pdp Change-Id: I41e1237c350b9cceca2b80db3fc9dcccf1173a66 Issue-ID: POLICY-817 Signed-off-by: ramverma --- .../main/resources/apexPdpStabilityTestPlan.jmx | 262 +++++++++++++++++++++ 1 file changed, 262 insertions(+) create mode 100644 testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx (limited to 'testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx') diff --git a/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx b/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx new file mode 100644 index 000000000..1ba0976de --- /dev/null +++ b/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx @@ -0,0 +1,262 @@ + + + + + + false + true + true + + + + + + + + + + Content-Type + application/json + + + Accept + application/json + + + + + + + + + + 23324 + http + + + 6 + + + + + + + + threads + 10 + = + + + threadsTimeOutInMs + 5000 + = + + + wait + 500 + Wait time between requests to apex-pdp + = + + + + + + stoptest + + false + -1 + + ${threads} + 1 + false + + + + + + + + ${threads} + ${threadsTimeOutInMs} + + + + true + + + + false + { + "nameSpace": "org.onap.policy.apex.sample.events", + "name": "Event0000", + "version": "0.0.1", + "source": "REST_0", + "target": "apex", + "TestSlogan": "Test slogan for External Event0", + "TestMatchCase": 3, + "TestTimestamp": 1536363522018, + "TestTemperature": 9080.866 +} + + = + + + + + + + + /apex/FirstConsumer/EventIn + PUT + true + false + true + false + + + + Send input event to apex-pdp + + + + + 200 + + + Assertion.response_code + false + 8 + Response code + Assert response code coming back from apex-pdp + + + + + "nameSpace": "org.onap.policy.apex.sample.events" + + + Assertion.response_data + false + 2 + Response code + Assert response message coming back from apex-pdp + + + + ${wait} + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + true + + + + + + + + -- cgit 1.2.3-korg