Release image version 1.12.2
[testsuite.git] / robot / testsuites / hvves-ci.robot
1 *** Settings ***
2 Documentation   HV-VES 'Sunny Scenario' Robot Framework test - message is sent to the collector and Kafka topic is checked if the message has been published. Content is decoded and checked.
3 Default Tags    hvves   ete
4 Test Timeout    5m
5 Resource    ../resources/global_properties.robot
6 Resource    ../resources/dcae/hvves.robot
7 Library    OperatingSystem
8 Library    ONAPLibrary.Protobuf
9
10 *** Test Cases ***
11 HV-VES test case
12     ${status}    ${data}=    Run Keyword And Ignore Error   Variable Should Exist    ${GLOBAL_KAFKA_BOOTSTRAP_SERVICE}
13     Send Message    ${GLOBAL_DCAE_HVVES_SERVER_NAME}        ${GLOBAL_DCAE_HVVES_SERVER_PORT}
14     Sleep   10s
15     ${msg}=  Run Keyword  Decode Last Message From Topic    ${GLOBAL_KAFKA_BOOTSTRAP_SERVICE}   HV_VES_PERF3GPP  ${GLOBAL_KAFKA_USER}
16     ${results}=    Compare File To Message    ${EXECDIR}/robot/assets/dcae/hvves_msg.raw    ${msg}
17     Should Be True    ${results}