diff options
2 files changed, 600 insertions, 918 deletions
diff --git a/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx b/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx index 864e6f511..2561e4d5d 100644 --- a/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx +++ b/testsuites/apex-pdp-stability/src/main/resources/apexPdpStabilityTestPlan.jmx @@ -5,7 +5,7 @@ ================================================================================ Copyright (C) 2020-2022 Nordix Foundation.All rights reserved. Modifications Copyright (C) 2021 Bell Canada. All rights reserved. - Modifications Copyright (C) 2023 Nordix Foundation. + Modifications Copyright (C) 2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ limitations under the License. ============LICENSE_END========================================================= --> -<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.2"> +<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="APEX PDP STABILITY TEST PLAN" enabled="true"> <boolProp name="TestPlan.functional_mode">false</boolProp> @@ -31,7 +31,7 @@ </elementProp> </TestPlan> <hashTree> - <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> + <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager"> <collectionProp name="HeaderManager.headers"> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Content-Type</stringProp> @@ -45,11 +45,12 @@ </HeaderManager> <hashTree/> <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="true"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> <stringProp name="HTTPSampler.port">23324</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> + <stringProp name="HTTPSampler.implementation"></stringProp> </ConfigTestElement> <hashTree/> <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> @@ -85,9 +86,9 @@ <stringProp name="Argument.value">${__P(APEX_PORT,30001)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> - <elementProp name="DMAAP_PORT" elementType="Argument"> - <stringProp name="Argument.name">DMAAP_PORT</stringProp> - <stringProp name="Argument.value">${__P(DMAAP_PORT,30904)}</stringProp> + <elementProp name="KAFKA_PORT" elementType="Argument"> + <stringProp name="Argument.name">KAFKA_PORT</stringProp> + <stringProp name="Argument.value">${__P(KAFKA_PORT,29092)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="CDS_PORT" elementType="Argument"> @@ -105,9 +106,9 @@ <stringProp name="Argument.value">${__P(LOG_PATH,/jmeter_results/apex_stability)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> - <elementProp name="SIM_HOST" elementType="Argument"> - <stringProp name="Argument.name">SIM_HOST</stringProp> - <stringProp name="Argument.value">${__P(SIM_HOST,localhost)}</stringProp> + <elementProp name="KAFKA_HOST" elementType="Argument"> + <stringProp name="Argument.name">KAFKA_HOST</stringProp> + <stringProp name="Argument.value">${__P(KAFKA_HOST,localhost)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> @@ -154,21 +155,26 @@ <boolProp name="AuthManager.controlledByThreadGroup">false</boolProp> </AuthManager> <hashTree/> - <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true"> + <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </SetupThreadGroup> <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -208,7 +214,7 @@ "taskParameters": [
 {
 "key": "logUrl",
 - "value": "http://${SIM_HOST}:${DMAAP_PORT}/events/APEX-CL-MGT"
 + "value": "http://${KAFKA_HOST}:${KAFKA_PORT}/events/apex-cl-mgt"
 }
 ]
 },
 @@ -3222,10 +3228,23 @@ "eventInputParameters": {
 "ApexExample_DCAEConsumer": {
 "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTCLIENT",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
 + "carrierTechnology": "KAFKA",
 + "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
 "parameters": {
 - "url": "http://${SIM_HOST}:${DMAAP_PORT}/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT/ApexExampleCG1/1?timeout=30000"
 + "bootstrapServers": "kafka:9092",
 + "groupId": "apex-grp2",
 + "enableAutoCommit": true,
 + "autoCommitTime": 1000,
 + "sessionTimeout": 30000,
 + "consumerPollTime": 100,
 + "consumerTopicList": [
 + "unauthenticated.dcae_cl_output"
 + ],
 + "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
 + "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
 + "kafkaProperties": [
 +
 + ]
 }
 },
 "eventProtocolParameters": {
 @@ -3303,8 +3322,22 @@ "eventOutputParameters": {
 "ApexExample_AAIProducer": {
 "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTREQUESTOR",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restrequestor.RestRequestorCarrierTechnologyParameters"
 + "carrierTechnology": "KAFKA",
 + "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
 + "parameters": {
 + "bootstrapServers": "kafka:9092",
 + "acks": "all",
 + "retries": 0,
 + "batchSize": 16384,
 + "lingerTime": 1,
 + "bufferMemory": 33554432,
 + "producerTopic": "apex-cl-mgt2",
 + "keySerializer": "org.apache.kafka.common.serialization.StringSerializer",
 + "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer",
 + "kafkaProperties": [
 +
 + ]
 + }
 },
 "eventProtocolParameters": {
 "eventProtocol": "JSON"
 @@ -3319,7 +3352,7 @@ "carrierTechnology": "GRPC",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
 "parameters": {
 - "host": "${SIM_HOST}",
 + "host": "${KAFKA_HOST}",
 "port": ${CDS_PORT},
 "username": "ccsdkapps",
 "password": "ccsdkapps",
 @@ -3339,7 +3372,7 @@ "carrierTechnology": "GRPC",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
 "parameters": {
 - "host": "${SIM_HOST}",
 + "host": "${KAFKA_HOST}",
 "port": ${CDS_PORT},
 "username": "ccsdkapps",
 "password": "ccsdkapps",
 @@ -3365,21 +3398,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -3394,6 +3412,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6175,7 +6201,7 @@ "carrierTechnology": "RESTCLIENT",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
 "parameters": {
 - "url": "http://${SIM_HOST}:${DMAAP_PORT}/events/unauthenticated.DCAE_CL_OUTPUT/cl/apex?timeout=30000"
 + "url": "http://${KAFKA_HOST}:${KAFKA_PORT}/events/unauthenticated.DCAE_CL_OUTPUT/cl/apex?timeout=30000"
 }
 },
 "eventProtocolParameters": {
 @@ -6256,7 +6282,7 @@ "carrierTechnology": "GRPC",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
 "parameters": {
 - "host": "${SIM_HOST}",
 + "host": "${KAFKA_HOST}",
 "port": ${CDS_PORT},
 "username": "ccsdkapps",
 "password": "ccsdkapps",
 @@ -6276,7 +6302,7 @@ "carrierTechnology": "RESTCLIENT",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
 "parameters": {
 - "url": "http://${SIM_HOST}:${DMAAP_PORT}/events/APEX-CL-MGT"
 + "url": "http://${KAFKA_HOST}:${KAFKA_PORT}/events/APEX-CL-MGT"
 }
 },
 "eventProtocolParameters": {
 @@ -6295,21 +6321,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -6324,6 +6335,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policies" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6355,21 +6374,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -6389,40 +6393,31 @@ <hashTree/> </hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> + <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <longProp name="ThreadGroup.duration">259200</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">259200</stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false"> @@ -6456,25 +6451,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prometheus Metrics" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/metrics</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response" enabled="true"> @@ -6512,26 +6500,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6556,6 +6537,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl success" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - simplecl success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6593,22 +6583,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - simplecl success</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6629,26 +6603,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl success" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - simplecl success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - simplecl success</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6691,26 +6658,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6735,6 +6695,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl failure" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - simplecl failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6772,22 +6741,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - simplecl failure</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6808,26 +6761,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl failure" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - simplecl failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - simplecl failure</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6891,26 +6837,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6935,6 +6874,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example success" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - example success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6974,22 +6922,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - example success</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7010,26 +6942,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example success" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - example success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - example success</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7072,26 +6997,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7116,6 +7034,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example failure" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - example failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -7155,22 +7082,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - example failure</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7191,26 +7102,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example failure" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - example failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=50&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - example failure</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7251,20 +7155,25 @@ if (prev.getResponseCode() == '200') { </hashTree> </hashTree> <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="false"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </PostThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Un deploy policy" enabled="false"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -7296,21 +7205,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -7325,25 +7219,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Simplecontrolloop/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -7358,25 +7245,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Example/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -7392,40 +7272,31 @@ if (prev.getResponseCode() == '200') { </hashTree> </hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Clear DMaaP" enabled="false"> + <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <longProp name="ThreadGroup.duration">259200</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">259200</stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> @@ -7456,6 +7327,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="false"> + <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -7493,22 +7373,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7529,26 +7393,19 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> @@ -7586,26 +7443,19 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> @@ -7642,26 +7492,19 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> @@ -7711,26 +7554,19 @@ if (prev.getResponseCode() == '200') { </CounterConfig> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> diff --git a/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx b/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx index 61e82e1c2..bb6870d17 100644 --- a/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx +++ b/testsuites/performance/performance-benchmark-test/src/main/resources/apexPdpPerformanceTestPlan.jmx @@ -5,7 +5,7 @@ ================================================================================ Copyright (C) 2020-2022 Nordix Foundation.All rights reserved. Modifications Copyright (C) 2021 Bell Canada. All rights reserved. - Modifications Copyright (C) 2023 Nordix Foundation. + Modifications Copyright (C) 2024 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ limitations under the License. ============LICENSE_END========================================================= --> -<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.2"> +<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3"> <hashTree> <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="APEX PDP PERFORMANCE TEST PLAN" enabled="true"> <stringProp name="TestPlan.comments"></stringProp> @@ -33,7 +33,7 @@ <stringProp name="TestPlan.user_define_classpath"></stringProp> </TestPlan> <hashTree> - <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true"> + <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager"> <collectionProp name="HeaderManager.headers"> <elementProp name="" elementType="Header"> <stringProp name="Header.name">Content-Type</stringProp> @@ -47,11 +47,12 @@ </HeaderManager> <hashTree/> <ConfigTestElement guiclass="HttpDefaultsGui" testclass="ConfigTestElement" testname="HTTP Request Defaults" enabled="false"> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> <stringProp name="HTTPSampler.port">23324</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> + <stringProp name="HTTPSampler.implementation"></stringProp> </ConfigTestElement> <hashTree/> <Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> @@ -87,9 +88,9 @@ <stringProp name="Argument.value">${__P(APEX_PORT,30001)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> - <elementProp name="DMAAP_PORT" elementType="Argument"> - <stringProp name="Argument.name">DMAAP_PORT</stringProp> - <stringProp name="Argument.value">${__P(DMAAP_PORT,30904)}</stringProp> + <elementProp name="KAFKA_PORT" elementType="Argument"> + <stringProp name="Argument.name">KAFKA_PORT</stringProp> + <stringProp name="Argument.value">${__P(KAFKA_PORT,29092)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> <elementProp name="CDS_PORT" elementType="Argument"> @@ -107,9 +108,9 @@ <stringProp name="Argument.value">${__P(LOG_PATH,/jmeter_results/apex_perf)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> - <elementProp name="SIM_HOST" elementType="Argument"> - <stringProp name="Argument.name">SIM_HOST</stringProp> - <stringProp name="Argument.value">${__P(SIM_HOST,localhost)}</stringProp> + <elementProp name="KAFKA_HOST" elementType="Argument"> + <stringProp name="Argument.name">KAFKA_HOST</stringProp> + <stringProp name="Argument.value">${__P(KAFKA_HOST,localhost)}</stringProp> <stringProp name="Argument.metadata">=</stringProp> </elementProp> </collectionProp> @@ -157,20 +158,25 @@ </AuthManager> <hashTree/> <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </SetupThreadGroup> <hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-ApexExample"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -210,7 +216,7 @@ "taskParameters": [
 {
 "key": "logUrl",
 - "value": "http://${SIM_HOST}:${DMAAP_PORT}/events/APEX-CL-MGT"
 + "value": "http://${KAFKA_HOST}:${KAFKA_PORT}/events/apex-cl-mgt"
 }
 ]
 },
 @@ -3224,10 +3230,23 @@ "eventInputParameters": {
 "ApexExample_DCAEConsumer": {
 "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTCLIENT",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
 + "carrierTechnology": "KAFKA",
 + "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
 "parameters": {
 - "url": "http://${SIM_HOST}:${DMAAP_PORT}/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT/ApexExampleCG1/1?timeout=30000"
 + "bootstrapServers": "kafka:9092",
 + "groupId": "apex-grp2",
 + "enableAutoCommit": true,
 + "autoCommitTime": 1000,
 + "sessionTimeout": 30000,
 + "consumerPollTime": 100,
 + "consumerTopicList": [
 + "unauthenticated.dcae_cl_output"
 + ],
 + "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
 + "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
 + "kafkaProperties": [
 +
 + ]
 }
 },
 "eventProtocolParameters": {
 @@ -3321,7 +3340,7 @@ "carrierTechnology": "GRPC",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
 "parameters": {
 - "host": "${SIM_HOST}",
 + "host": "${KAFKA_HOST}",
 "port": ${CDS_PORT},
 "username": "ccsdkapps",
 "password": "ccsdkapps",
 @@ -3341,7 +3360,7 @@ "carrierTechnology": "GRPC",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
 "parameters": {
 - "host": "${SIM_HOST}",
 + "host": "${KAFKA_HOST}",
 "port": ${CDS_PORT},
 "username": "ccsdkapps",
 "password": "ccsdkapps",
 @@ -3367,21 +3386,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -3395,7 +3399,15 @@ </ResponseAssertion> <hashTree/> </hashTree> - <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL" enabled="true"> + <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="CreatePolicy-SimpleCL"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6174,10 +6186,23 @@ "eventInputParameters": {
 "SimpleCL_DCAEConsumer": {
 "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTCLIENT",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
 + "carrierTechnology": "KAFKA",
 + "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
 "parameters": {
 - "url": "http://${SIM_HOST}:${DMAAP_PORT}/events/unauthenticated.DCAE_CL_OUTPUT/cl/apex?timeout=30000"
 + "bootstrapServers": "kafka:9092",
 + "groupId": "apex-grp2",
 + "enableAutoCommit": true,
 + "autoCommitTime": 1000,
 + "sessionTimeout": 30000,
 + "consumerPollTime": 100,
 + "consumerTopicList": [
 + "unauthenticated.dcae_cl_output"
 + ],
 + "keyDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
 + "valueDeserializer": "org.apache.kafka.common.serialization.StringDeserializer",
 + "kafkaProperties": [
 +
 + ]
 }
 },
 "eventProtocolParameters": {
 @@ -6258,7 +6283,7 @@ "carrierTechnology": "GRPC",
 "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.grpc.GrpcCarrierTechnologyParameters",
 "parameters": {
 - "host": "${SIM_HOST}",
 + "host": "${KAFKA_HOST}",
 "port": ${CDS_PORT},
 "username": "ccsdkapps",
 "password": "ccsdkapps",
 @@ -6275,10 +6300,21 @@ },
 "SimpleCL_LogEventProducer": {
 "carrierTechnologyParameters": {
 - "carrierTechnology": "RESTCLIENT",
 - "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.restclient.RestClientCarrierTechnologyParameters",
 + "carrierTechnology": "KAFKA",
 + "parameterClassName": "org.onap.policy.apex.plugins.event.carrier.kafka.KafkaCarrierTechnologyParameters",
 "parameters": {
 - "url": "http://${SIM_HOST}:${DMAAP_PORT}/events/APEX-CL-MGT"
 + "bootstrapServers": "kafka:9092",
 + "acks": "all",
 + "retries": 0,
 + "batchSize": 16384,
 + "lingerTime": 1,
 + "bufferMemory": 33554432,
 + "producerTopic": "apex-cl-mgt2",
 + "keySerializer": "org.apache.kafka.common.serialization.StringSerializer",
 + "valueSerializer": "org.apache.kafka.common.serialization.StringSerializer",
 + "kafkaProperties": [
 +
 + ]
 }
 },
 "eventProtocolParameters": {
 @@ -6297,21 +6333,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/api/v1/policies</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -6326,6 +6347,14 @@ <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy policies" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6357,21 +6386,6 @@ </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -6391,40 +6405,31 @@ <hashTree/> </hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Thread Group" enabled="true"> + <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <longProp name="ThreadGroup.duration">7200</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">7200</stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="false"> @@ -6458,25 +6463,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Prometheus Metrics" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> <stringProp name="HTTPSampler.path">/metrics</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response" enabled="true"> @@ -6514,26 +6512,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6558,6 +6549,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl success" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - simplecl success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.dcae_cl_output</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6595,22 +6595,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - simplecl success</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6631,26 +6615,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl success" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - simplecl success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - simplecl success</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6693,26 +6670,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6737,6 +6707,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - simplecl failure" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - simplecl failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.dcae_cl_output</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6774,22 +6753,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - simplecl failure</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6810,26 +6773,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - simplecl failure" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - simplecl failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - simplecl failure</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6871,26 +6827,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6915,6 +6864,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example success" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - example success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.dcae_policy_example_output</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -6954,22 +6912,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - example success</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -6990,26 +6932,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example success" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - example success</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - example success</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7052,26 +6987,19 @@ if (prev.getResponseCode() == '200') { <GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="Clean up DMaaP notification topic" enabled="true"/> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Clean up DMaaP notification topic" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=300&timeout=500</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Clean up DMaaP notification topic</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7096,6 +7024,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Trigger Event - example failure" enabled="true"> + <stringProp name="TestPlan.comments">Send Trigger Event - example failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.dcae_policy_example_output</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -7135,22 +7072,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_POLICY_EXAMPLE_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send Trigger Event - example failure</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7171,26 +7092,19 @@ if (prev.getResponseCode() == '200') { </ConstantTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Read notification events - example failure" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Read notification events - example failure</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=100&timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Read notification events - example failure</stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7231,20 +7145,25 @@ if (prev.getResponseCode() == '200') { </hashTree> </hashTree> <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true"> + <intProp name="ThreadGroup.num_threads">1</intProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <stringProp name="LoopController.loops">1</stringProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">1</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">false</boolProp> - <stringProp name="ThreadGroup.duration"></stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> </PostThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Un deploy policy" enabled="true"> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> + <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">https</stringProp> + <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -7276,21 +7195,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> - <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">https</stringProp> - <stringProp name="HTTPSampler.path">/policy/pap/v1/pdps/deployments/batch</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -7305,25 +7209,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Simplecontrolloop/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -7338,25 +7235,18 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Policy" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${API_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.path">/policy/api/v1/policytypes/onap.policies.native.Apex/versions/1.0.0/policies/onap.policies.apex.Example/versions/1.0.0</stringProp> - <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">DELETE</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true"> @@ -7372,40 +7262,31 @@ if (prev.getResponseCode() == '200') { </hashTree> </hashTree> <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Clear DMaaP" enabled="false"> + <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> + <intProp name="ThreadGroup.ramp_time">1</intProp> + <longProp name="ThreadGroup.duration">259200</longProp> + <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> + <boolProp name="ThreadGroup.scheduler">true</boolProp> <stringProp name="ThreadGroup.on_sample_error">continue</stringProp> - <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true"> + <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller"> <intProp name="LoopController.loops">-1</intProp> <boolProp name="LoopController.continue_forever">false</boolProp> </elementProp> - <stringProp name="ThreadGroup.num_threads">${threads}</stringProp> - <stringProp name="ThreadGroup.ramp_time">1</stringProp> - <boolProp name="ThreadGroup.scheduler">true</boolProp> - <stringProp name="ThreadGroup.duration">259200</stringProp> - <stringProp name="ThreadGroup.delay"></stringProp> - <boolProp name="ThreadGroup.same_user_on_next_iteration">true</boolProp> - <boolProp name="ThreadGroup.delayedStart">false</boolProp> </ThreadGroup> <hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Health Check" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> <stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp> <stringProp name="HTTPSampler.port">${APEX_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">https</stringProp> <stringProp name="HTTPSampler.path">/policy/apex-pdp/v1/healthcheck</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true"> @@ -7436,6 +7317,15 @@ if (prev.getResponseCode() == '200') { </SyncTimer> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Send Input Event" enabled="false"> + <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> + <stringProp name="HTTPSampler.protocol">http</stringProp> + <stringProp name="HTTPSampler.path">/events/unauthenticated.dcae_cl_output</stringProp> + <boolProp name="HTTPSampler.follow_redirects">true</boolProp> + <stringProp name="HTTPSampler.method">POST</stringProp> + <boolProp name="HTTPSampler.use_keepalive">true</boolProp> <boolProp name="HTTPSampler.postBodyRaw">true</boolProp> <elementProp name="HTTPsampler.Arguments" elementType="Arguments"> <collectionProp name="Arguments.arguments"> @@ -7473,22 +7363,6 @@ if (prev.getResponseCode() == '200') { </elementProp> </collectionProp> </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> - <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/unauthenticated.DCAE_CL_OUTPUT</stringProp> - <stringProp name="HTTPSampler.method">POST</stringProp> - <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> - <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Send input event to apex-pdp</stringProp> </HTTPSamplerProxy> <hashTree> <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Assert Response Code" enabled="true"> @@ -7509,26 +7383,19 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> @@ -7566,26 +7433,19 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=1&timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> @@ -7622,26 +7482,19 @@ if (prev.getResponseCode() == '200') { <hashTree/> </hashTree> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="false"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?limit=1&timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?limit=1&timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> @@ -7691,26 +7544,19 @@ if (prev.getResponseCode() == '200') { </CounterConfig> <hashTree/> <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get the ouput event response" enabled="true"> - <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> - <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true"> - <collectionProp name="Arguments.arguments"/> - </elementProp> - <stringProp name="HTTPSampler.domain">${SIM_HOST}</stringProp> - <stringProp name="HTTPSampler.port">${DMAAP_PORT}</stringProp> + <stringProp name="TestPlan.comments">Check output event </stringProp> + <intProp name="HTTPSampler.concurrentPool">6</intProp> + <stringProp name="HTTPSampler.domain">${KAFKA_HOST}</stringProp> + <stringProp name="HTTPSampler.port">${KAFKA_PORT}</stringProp> <stringProp name="HTTPSampler.protocol">http</stringProp> - <stringProp name="HTTPSampler.path">/events/APEX-CL-MGT/cg${__threadNum}/c1?timeout=30000</stringProp> - <stringProp name="HTTPSampler.method">GET</stringProp> + <stringProp name="HTTPSampler.path">/events/apex-cl-mgt/cg${__threadNum}/c1?timeout=30000</stringProp> <boolProp name="HTTPSampler.follow_redirects">true</boolProp> - <boolProp name="HTTPSampler.auto_redirects">false</boolProp> + <stringProp name="HTTPSampler.method">GET</stringProp> <boolProp name="HTTPSampler.use_keepalive">true</boolProp> - <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp> - <boolProp name="HTTPSampler.BROWSER_COMPATIBLE_MULTIPART">false</boolProp> - <boolProp name="HTTPSampler.image_parser">false</boolProp> - <boolProp name="HTTPSampler.concurrentDwn">false</boolProp> - <stringProp name="HTTPSampler.concurrentPool">6</stringProp> - <boolProp name="HTTPSampler.md5">false</boolProp> - <intProp name="HTTPSampler.ipSourceType">0</intProp> - <stringProp name="TestPlan.comments">Check output event </stringProp> + <boolProp name="HTTPSampler.postBodyRaw">false</boolProp> + <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables"> + <collectionProp name="Arguments.arguments"/> + </elementProp> </HTTPSamplerProxy> <hashTree> <ConstantTimer guiclass="ConstantTimerGui" testclass="ConstantTimer" testname="WAIT" enabled="false"> |