From e3f23281573c0e75d281709bfdd74b01c2900313 Mon Sep 17 00:00:00 2001 From: waynedunican Date: Tue, 13 Feb 2024 16:10:00 +0000 Subject: Update S3Ps to use Kafka Issue-ID: POLICY-4927 Change-Id: I16d09153f5c44a4275fd336598df04d505a64af9 Signed-off-by: waynedunican --- testsuites/stability/src/main/resources/s3p.jmx | 585 ++++++++++++++---------- 1 file changed, 341 insertions(+), 244 deletions(-) (limited to 'testsuites/stability/src') diff --git a/testsuites/stability/src/main/resources/s3p.jmx b/testsuites/stability/src/main/resources/s3p.jmx index 8ca331896..c4ebb7ae9 100644 --- a/testsuites/stability/src/main/resources/s3p.jmx +++ b/testsuites/stability/src/main/resources/s3p.jmx @@ -1,8 +1,7 @@ - + - false true false @@ -28,14 +27,14 @@ 30003 = - - DMAAP_HOST + + KAFKA_HOST localhost = - - DMAAP_PORT - 30904 + + KAFKA_PORT + 9092 = @@ -60,7 +59,6 @@ - @@ -107,21 +105,15 @@ - 9696 http - - - 6 - - continue - false 1 + false 1 1 @@ -134,22 +126,25 @@ + false ${API_HOST} ${API_PORT} ${HTTP} - /policy/api/v1/healthcheck GET false false false false - - - + false + false + false + 6 + false + 0 @@ -230,16 +225,18 @@ ${API_HOST} ${API_PORT} ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies POST false false false false - - - + false + false + false + 6 + false + 0 @@ -311,16 +308,18 @@ ${API_HOST} ${API_PORT} ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies POST false false false false - - - + false + false + false + 6 + false + 0 @@ -392,16 +391,18 @@ ${API_HOST} ${API_PORT} ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies POST false false false false - - - + false + false + false + 6 + false + 0 @@ -419,22 +420,25 @@ + false ${PAP_HOST} ${PAP_PORT} ${HTTP} - /policy/pap/v1/healthcheck GET false false false false - - - + false + false + false + 6 + false + 0 @@ -471,16 +475,18 @@ ${PAP_HOST} ${PAP_PORT} ${HTTP} - policy/pap/v1/pdps/policies POST false false false false - - - + false + false + false + 6 + false + 0 @@ -508,16 +514,18 @@ ${PAP_HOST} ${PAP_PORT} ${HTTP} - policy/pap/v1/pdps/policies POST false false false false - - - + false + false + false + 6 + false + 0 @@ -545,16 +553,18 @@ ${PAP_HOST} ${PAP_PORT} ${HTTP} - policy/pap/v1/pdps/policies POST false false false false - - - + false + false + false + 6 + false + 0 @@ -570,22 +580,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-PDP-PAP/${__time()}/1?timeout=2000 + events/policy-pdp-pap/${__time()}/1?timeout=2000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -599,23 +612,26 @@ - + + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/APPC-LCM-READ/vcpesuccess/1?timeout=5000 + events/appc-lcm-read/vcpesuccess/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -629,23 +645,26 @@ - + + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-CL-MGT/vcpesuccess/1?timeout=5000 + events/policy-cl-mgt/vcpesuccess/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -660,22 +679,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/SDNR-CL/sonO1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -690,22 +712,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/SDNR-CL-RSP/sonO1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -720,22 +745,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/DCAE_CL_RSP/son01/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -750,22 +778,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/SDNR-CL/sonA1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -780,22 +811,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/SDNR-CL-RSP/sonA1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -810,22 +844,25 @@ + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/DCAE_CL_RSP/sonA1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -839,23 +876,26 @@ - + + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-CL-MGT/sonA1/1?timeout=5000 + events/policy-cl-mgt/sonA1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -869,23 +909,26 @@ - + + false - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-CL-MGT/sonA1/1?timeout=5000 + events/policy-cl-mgt/sonA1/1?timeout=5000 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -900,22 +943,25 @@ + false ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - policy/pdp/engine/controllers/usecases/drools/facts GET false false false false - - - + false + false + false + 6 + false + 0 @@ -942,8 +988,8 @@ startnextloop - false -1 + false 1 1 @@ -951,6 +997,7 @@ ${duration} 11 true + false @@ -1008,16 +1055,18 @@ ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - - policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events + policy/pdp/engine/topics/sources/dmaap/dcae_topic/events PUT false false false false - - - + false + false + false + 6 + false + 0 @@ -1042,7 +1091,8 @@ ${__javaScript(${counter} < 10)} - + + false @@ -1054,19 +1104,21 @@ - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/APPC-LCM-READ/${consumerGroup}/1?timeout=15000&limit=1 + events/appc-lcm-read/${consumerGroup}/1?timeout=15000&limit=1 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -1085,7 +1137,7 @@ \\"request-id\\": \\"(.+?)\\" $1$ none - + false @@ -1094,7 +1146,7 @@ correlation-id\\": \\"(.+?)\\" $1$ none - + false @@ -1103,7 +1155,7 @@ sub-request-id\\": \\"(.+?)\\" $1$ none - + false @@ -1153,7 +1205,7 @@ vars.put("counter", Integer.toString(counterTemp)); - + true @@ -1189,16 +1241,18 @@ vars.put("counter", Integer.toString(counterTemp)); ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - - policy/pdp/engine/topics/sources/dmaap/APPC-LCM-WRITE/events + policy/pdp/engine/topics/sources/dmaap/appc-lcm-write/events PUT false false false false - - - + false + false + false + 6 + false + 0 @@ -1223,7 +1277,8 @@ vars.put("counter", Integer.toString(counterTemp)); ${__javaScript(${counter} < 60)} - + + false @@ -1235,19 +1290,21 @@ vars.put("counter", Integer.toString(counterTemp)); - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&limit=1 + events/policy-cl-mgt/${consumerGroup}/1?timeout=15000&limit=1 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -1266,7 +1323,7 @@ vars.put("counter", Integer.toString(counterTemp)); requestId\\": \\"(.+?)\\" $1$ none - + false @@ -1275,7 +1332,7 @@ vars.put("counter", Integer.toString(counterTemp)); notification\\": \\"FINAL: (.+?)\\" $1$ none - + false @@ -1332,8 +1389,8 @@ vars.put("counter", Integer.toString(counterTemp)); startnextloop - false -1 + false 1 1 @@ -1341,6 +1398,7 @@ vars.put("counter", Integer.toString(counterTemp)); ${duration} 11 true + false @@ -1402,16 +1460,18 @@ vars.put("counter", Integer.toString(counterTemp)); ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - - policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events + policy/pdp/engine/topics/sources/dmaap/dcae_topic/events PUT false false false false - - - + false + false + false + 6 + false + 0 @@ -1437,6 +1497,7 @@ vars.put("counter", Integer.toString(counterTemp)); + false @@ -1448,19 +1509,21 @@ vars.put("counter", Integer.toString(counterTemp)); - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/SDNR-CL/${consumerGroup}/1?timeout=15000&limit=1 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -1479,7 +1542,7 @@ vars.put("counter", Integer.toString(counterTemp)); \\"RequestID\\": \\"(.+?)\\" $1$ none - + false @@ -1488,7 +1551,7 @@ vars.put("counter", Integer.toString(counterTemp)); correlation-id\\": \\"(.+?)\\" $1$ none - + false @@ -1497,7 +1560,7 @@ vars.put("counter", Integer.toString(counterTemp)); SubRequestID\\": \\"(.+?)\\" $1$ none - + false @@ -1585,16 +1648,18 @@ vars.put("counterO1", Integer.toString(counterTemp)); ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - - policy/pdp/engine/topics/sources/dmaap/SDNR-CL-RSP/events + policy/pdp/engine/topics/sources/dmaap/sdnr-cl-rsp/events PUT false false false false - - - + false + false + false + 6 + false + 0 @@ -1619,7 +1684,8 @@ vars.put("counterO1", Integer.toString(counterTemp)); ${__javaScript(${counterO1} < 60)} - + + false @@ -1631,19 +1697,21 @@ vars.put("counterO1", Integer.toString(counterTemp)); - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&limit=1 + events/policy-cl-mgt/${consumerGroup}/1?timeout=15000&limit=1 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -1662,7 +1730,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); requestId\\": \\"(.+?)\\" $1$ none - + false @@ -1671,7 +1739,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); notification\\": \\"FINAL: (.+?)\\" $1$ none - + false @@ -1728,8 +1796,8 @@ vars.put("counterO1", Integer.toString(counterTemp)); startnextloop - false -1 + false 1 1 @@ -1737,6 +1805,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); ${duration} 11 true + false @@ -1798,16 +1867,18 @@ vars.put("counterO1", Integer.toString(counterTemp)); ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - - policy/pdp/engine/topics/sources/dmaap/DCAE_TOPIC/events + policy/pdp/engine/topics/sources/dmaap/dcae_topic/events PUT false false false false - - - + false + false + false + 6 + false + 0 @@ -1833,6 +1904,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); + false @@ -1844,19 +1916,21 @@ vars.put("counterO1", Integer.toString(counterTemp)); - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - events/SDNR-CL/${consumerGroup}/1?timeout=15000&limit=1 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -1875,7 +1949,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); \\"RequestID\\": \\"(.+?)\\" $1$ none - + false @@ -1884,7 +1958,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); correlation-id\\": \\"(.+?)\\" $1$ none - + false @@ -1893,7 +1967,7 @@ vars.put("counterO1", Integer.toString(counterTemp)); SubRequestID\\": \\"(.+?)\\" $1$ none - + false @@ -1979,16 +2053,18 @@ vars.put("counterA1", Integer.toString(counterTemp)); ${DROOLS_HOST} ${DROOLS_PORT} ${HTTP} - - policy/pdp/engine/topics/sources/dmaap/SDNR-CL-RSP/events + policy/pdp/engine/topics/sources/dmaap/sdnr-cl-rsp/events PUT false false false false - - - + false + false + false + 6 + false + 0 @@ -2013,7 +2089,8 @@ vars.put("counterA1", Integer.toString(counterTemp)); ${__javaScript(${counterA1} < 60)} - + + false @@ -2025,19 +2102,21 @@ vars.put("counterA1", Integer.toString(counterTemp)); - ${DMAAP_HOST} - ${DMAAP_PORT} + ${KAFKA_HOST} + ${KAFKA_PORT} ${HTTP} - - events/POLICY-CL-MGT/${consumerGroup}/1?timeout=15000&limit=1 + events/policy-cl-mgt/${consumerGroup}/1?timeout=15000&limit=1 GET false false false false - - - + false + false + false + 6 + false + 0 @@ -2056,7 +2135,7 @@ vars.put("counterA1", Integer.toString(counterTemp)); requestId\\": \\"(.+?)\\" $1$ none - + false @@ -2065,7 +2144,7 @@ vars.put("counterA1", Integer.toString(counterTemp)); notification\\": \\"FINAL: (.+?)\\" $1$ none - + false @@ -2122,8 +2201,8 @@ vars.put("counterA1", Integer.toString(counterTemp)); continue - false 1 + false 1 1 @@ -2136,22 +2215,25 @@ vars.put("counterA1", Integer.toString(counterTemp)); + false ${PAP_HOST} ${PAP_PORT} ${HTTP} - policy/pap/v1/pdps/policies/operational.restart/versions/1.0.0 DELETE false false false false - - - + false + false + false + 6 + false + 0 @@ -2166,22 +2248,25 @@ vars.put("counterA1", Integer.toString(counterTemp)); + false ${PAP_HOST} ${PAP_PORT} ${HTTP} - policy/pap/v1/pdps/policies/op.5g.son.a1/versions/1.0.0 DELETE false false false false - - - + false + false + false + 6 + false + 0 @@ -2196,22 +2281,25 @@ vars.put("counterA1", Integer.toString(counterTemp)); + false ${PAP_HOST} ${PAP_PORT} ${HTTP} - policy/pap/v1/pdps/policies/op.5g.son.o1/versions/1.0.0 DELETE false false false false - - - + false + false + false + 6 + false + 0 @@ -2229,22 +2317,25 @@ vars.put("counterA1", Integer.toString(counterTemp)); + false ${API_HOST} ${API_PORT} ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/operational.restart/versions/1.0.0 DELETE false false false false - - - + false + false + false + 6 + false + 0 @@ -2259,22 +2350,25 @@ vars.put("counterA1", Integer.toString(counterTemp)); + false ${API_HOST} ${API_PORT} ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/op.5g.son.a1/versions/1.0.0 DELETE false false false false - - - + false + false + false + 6 + false + 0 @@ -2289,22 +2383,25 @@ vars.put("counterA1", Integer.toString(counterTemp)); + false ${API_HOST} ${API_PORT} ${HTTP} - policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies/op.5g.son.o1/versions/1.0.0 DELETE false false false false - - - + false + false + false + 6 + false + 0 -- cgit 1.2.3-korg