1 # ============LICENSE_START=======================================================
2 # csit-dcaegen2-collectors-hv-ves
3 # ================================================================================
4 # Copyright (C) 2018-2019 NOKIA
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
20 Library DcaeAppSimulatorLibrary
22 Resource resources/common-keywords.robot
24 Suite Setup Multiple Clients Handling Suite Setup
25 Suite Teardown VES-HV Collector Suite Teardown
26 Test Teardown VES-HV Collector Test Shutdown
29 Multiple Clients Handling Suite Setup
30 Log Started Suite: VES-HV Multiple Clients Handling
31 ${XNF_PORTS_LIST}= Create List 7000 7001 7002
32 Configure xNF Simulators Using Valid Certificates On Ports ${XNF_PORTS_LIST}
33 Log Suite setup finished
36 Handle Multiple Connections
37 [Documentation] VES-HV Collector should handle multiple incoming transmissions
39 ${SIMULATORS_LIST}= Get xNF Simulators Using Valid Certificates 3
40 Send Messages From xNF Simulators ${SIMULATORS_LIST} ${XNF_SMALLER_PAYLOAD_REQUEST}
42 Wait until keyword succeeds 60 sec 5 sec
43 ... Assert Dcae App Consumed ${DEFAULT_PERF3GPP_TOPIC} ${AMOUNT_15000}
44 Assert Dcae App Consumed Proper Messages ${DEFAULT_PERF3GPP_TOPIC} ${DCAE_SMALLER_PAYLOAD_REQUEST}
48 ${HV_VES_SCENARIOS} %{WORKSPACE}/tests/dcaegen2-collectors-hv-ves/testcases/resources/scenarios
50 ${XNF_SMALLER_PAYLOAD_REQUEST} ${HV_VES_SCENARIOS}/multiple-simulators-payload/xnf-simulator-smaller-valid-request.json
51 ${DCAE_SMALLER_PAYLOAD_REQUEST} ${HV_VES_SCENARIOS}/multiple-simulators-payload/dcae-smaller-valid-request.json