...
Flow Step | Test Case Description | Status | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TC1 | Authenticate connection | Verifying the connection can be established using TCP. |
| ||||||||
TC2 | Collector validates event | Verify that HV-VES collector can receive and validate if event header and field population agrees with GPB. |
| ||||||||
TC3 | Publish event | Verify that direct publication is done successfully to Kafka). |
| ||||||||
TC4 | Topic content validation | Using a simple analytics program subscribe to the RTPM topic and verify amount events in topic. |
| ||||||||
TC5 | Message validation based on domain | N1=5 correct, N2=3 incorrect due to wrong domain, N3=5 correct messages are sent to HV-VES. The collector should publish N1+N3 messages to DMaaP Kafka topic. |
| ||||||||
TC6 | Message validation based on WTP marker byte | N1=5 correct, N2=3 incorrect due to wrong wire protocol, N3=5 correct messages are sent to HV-VES. The collector should publish N1 messages to DMaaP Kafka topic. |
| ||||||||
TC7 | Message validation based on undecodable GPB | N1=5 correct, N2=3 incorrect due to undecodable GPB, N3=5 correct messages are sent to HV-VES. The collector should publish N1+N3 messages to DMaaPKafka topic. |
| ||||||||
TC8 | Message validation based on payload size | N1=5 correct, N2=3 incorrect due to payload size greater than 1MB, N3=5 correct messages are sent to HV-VES. The collector should publish N1 messages to DMaaP Kafka topic. |
| ||||||||
TC9 | Message validation based on WTP invalid format | N1=5 correct, N2=3 incorrect due to WTP invalid format, N3=5 correct messages are sent to HV-VES. The collector should publish N1+N3 messages to DMaaPKafka topic. |
Detail test cases
TC1 : Authenticate Connection
TC1 : Authenticate Connection
. |
|
TC10 | Message over SSL | Verify that HV-VES collector can receive message over SSL. |
|
|
|
Detail test cases
Precondition:
ONAP setup with: consul, dcaegen2, dmaap, msb.
...
SSL activated in HV-VES (HV-VES simulator#VESsimulator-HV-VESwithSSLenabled)
TC1 : Authenticate Connection
TC1 : Authenticate Connection | VESwithtlsenabled)|||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Steps | 1. | Check if HV-VES component supports TLS using nmap command, e.g.:
| Expected results | 1. | HV-VES supports TCP and TLS connections:
|
...
TC2 : Collector validates event | |||||||
---|---|---|---|---|---|---|---|
Spec flow | 2. | Status |
Status | ||||
---|---|---|---|---|
|
Send valid VesEvent (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell) to HV-VES and check logs.
Message is received by the collector.
Send invalid VesEvent (WTP frame starting with 0xFF) to HV-VES and check logs.
Log is pointing that WTP frame should start with 0xAA instead of 0xFF.
TC3 : Publish Event
TC3 : Publish Event | |||||||
---|---|---|---|---|---|---|---|
Spec flow | 3. | Status |
Status | ||||
---|---|---|---|---|
|
Start Kafka log on HV_VES_PERF3GPP topic (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell).
The log is enabled.
The message is published on DMaaP: HV_VES_PERF3GPP topic.
...
TC4 : Topic Content Validation | |||||||
---|---|---|---|---|---|---|---|
Spec flow | 4. | Status |
Status | ||||
---|---|---|---|---|
|
Start Kafka log.
The log is enabled.
Published event contains expected content.
...
TC5 : Message validation based on domain | |||||
---|---|---|---|---|---|
Spec flow | * | Status | ONAP staging|||
Status | |||||
colour | Green | ||||
title | pass | ||||
Status | |||||
colour | Green | ||||
title | pass | ||||
Tester | Marek Pondel | ||||
Precondition | ONAP setup with: consul, dcaegen2, dmaap, msb. | ||||
Steps | 1. | Send N1=5 correct, N2=3 incorrect due to wrong domain, N3=5 correct messages to HV-VES. | Expected results | 1. | N1+N3 messages are published on DMaaP Kafka topic. |
TC6 : Message validation based on WTP marker byte
Tester | Marek Pondel | ||||||
---|---|---|---|---|---|---|---|
Precondition | ONAP setup with: consul, dcaegen2, dmaap, msb.TC6 : Message validation based on WTP marker byte | ||||||
Spec flow | * | Status | ONAP staging|||||
Status | |||||||
colour | Green | ||||||
title | pass | ||||||
Status | |||||||
colour | Yellow | ||||||
title | in progress | ||||||
Steps | 1. | Send N1=5 correct, N2=3 incorrect due to wrong Wire Transfer Protocol marker byte, N3=5 correct messages to HV-VES. | Expected results | 1. | N1 messages are published on DMaaP Kafka topic. TCP connection is interrupted by HV-VES when such a wrong message is received. |
...
TC7 : Message validation based on undecodable GPB | |||||||
---|---|---|---|---|---|---|---|
Spec flow | * | Status | ONAP staging|||||
Status | |||||||
colour | Green | ||||||
title | pass | ||||||
Status | |||||||
colour | Yellow | ||||||
title | in progress | ||||||
Tester | Marek Pondel | ||||||
Precondition | ONAP setup with: consul, dcaegen2, dmaap, msb.|||||||
Steps | 1. | Send N1=5 correct, N2=3 incorrect due to undecodable GPB, N3=5 correct messages are sent to HV-VES. | Expected results | 1. | N1+N3 messages are published on DMaaP Kafka topic. |
...
TC8 : Message validation based on payload size | |||||
---|---|---|---|---|---|
Spec flow | * | Status | ONAP staging|||
Status | |||||
colour | Green | ||||
title | pass | ||||
Status | |||||
colour | Yellow | ||||
title | in progress | ||||
Tester | Marek Pondel | ||||
Precondition | ONAP setup with: consul, dcaegen2, dmaap, msb. | ||||
Steps | 1. | Send N1=5 correct, N2=3 incorrect due to payload size greater than 1MB, N3=5 correct messages to HV-VES. | Expected results | 1. | N1 messages are published on DMaaP Kafka topic. HV-VES interrupts connection when it encounters a message with too big GPB payload |
TC9 : Message validation based on WTP invalid format
Status | ONAP staging|||||
---|---|---|---|---|---|
Status | |||||
colour | Green | ||||
title | pass | TC9 : Message validation based on WTP invalid format | |||
Spec flow | * | ||||
colour | Yellow | ||||
title | in progress | ||||
Tester | Marek Pondel | ||||
Precondition | ONAP setup with: consul, dcaegen2, dmaap, msb. | ||||
Steps | 1. | Send N1=5 correct, N2=3 incorrect due to wrong Wire Transfer Protocol invalid format, N3=5 correct messages to HV-VES. | Expected results | 1. | N1+N3 messages are published on DMaaP Kafka topic. |
TC10 : Message over SSL
TC10 : Message over SSL | |||||
---|---|---|---|---|---|
Steps | 1. | Send valid event to HV-VES over SSL. | Expected results | 1. | SSL connection to HV-VES is setup and the message is published on DMaaP topic. |