Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Flow Step

Test Case Description

Status
TC1

Authenticate connection

Verifying the connection can be established using TCP.

Status
colourGreen
titlepass

TC2

Collector validates event

Verify that HV-VES collector can receive and validate if event header and field population agrees with GPB.

Status
colourGreen
titlepass

TC3

Publish event

Verify that direct publication is done successfully to Kafka).

Status
colourGreen
titlepass

TC4

Topic content validation

Using a simple analytics program subscribe to the RTPM topic and verify amount events in topic.

Status
colourGreen
titlepass

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.

Status
colourGreen
titlepass

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 +N3 messages to DMaaP Kafka topic.

Status
colourGreen
titlepass

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.

Status
colourGreen
titlepass

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 +N3 messages to DMaaP Kafka topic

Detail test cases

TC1 : Authenticate Connection

.

Status
colourGreen
titlepass

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.

TC1 : Authenticate Connection

Spec flow1.StatusONAP staging

Status
colourGreen
titlepass

ONAP release

TC10Message over SSLVerify that HV-VES collector can receive message over SSL.

Status
colour

Grey

Green
title

no runTesterMarek PondelPrecondition

pass

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

VESwithtlsenabled)

TC1 : Authenticate Connection

Steps1.

Check if HV-VES component supports TLS using nmap command, e.g.:

No Format
nopaneltrue
nmap --script ssl-enum-ciphers -p30222 k8s_node_ip


Expected results1.

HV-VES supports TCP and TLS connections:

No Format
nopaneltrue
Starting Nmap 7.01 ( https://nmap.org ) at 2018-10-15 12:56 UTC
Nmap scan report for 10-183-35-200.es-si-os-ohn-30.eecloud.nsn-net.net (10.183.35.200)
Host is up (0.00079s latency).
PORT      STATE SERVICE
30222/tcp open  unknown
| ssl-enum-ciphers: 
|   TLSv1.0: 
|     ciphers: 
|       TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256k1) - A
|       TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256k1) - A
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A
|     compressors: 
|       NULL
|     cipher preference: client
|   TLSv1.1: 
|     ciphers: 
|       TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256k1) - A
|       TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256k1) - A
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A
|     compressors: 
|       NULL
|     cipher preference: client
|   TLSv1.2: 
|     ciphers: 
|       TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (secp256k1) - A
|       TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256k1) - A
|       TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (secp256k1) - A
|       TLS_RSA_WITH_AES_128_CBC_SHA (rsa 2048) - A
|       TLS_RSA_WITH_AES_128_GCM_SHA256 (rsa 2048) - A
|       TLS_RSA_WITH_AES_256_CBC_SHA (rsa 2048) - A
|     compressors: 
|       NULL
|     cipher preference: client
|_  least strength: A

Nmap done: 1 IP address (1 host up) scanned in 1.08 seconds


...

2.

ONAP staging

TC2 : Collector validates event

Spec flow

Status
Status
colourGreen
titlepass

ONAP release StatuscolourGreytitleno runTesterMarek PondelPrecondition

ONAP setup with: consul, dcaegen2, dmaap, msb.

Steps1.

Send valid VesEvent (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell) to HV-VES and check logs.


Expected results1.

Message is received by the collector.


2.

Send invalid VesEvent (WTP frame starting with 0xFF) to HV-VES and check logs.


2.

Log is pointing that WTP frame should start with 0xAA instead of 0xFF.


TC3 : Publish Event

ONAP staging

TC3 : Publish Event

Spec flow3.
Status
Status
colourGreen
titlepass

ONAP release StatuscolourGreytitleno runTesterMarek PondelPrecondition

ONAP setup with: consul, dcaegen2, dmaap, msb.Steps1.

Start Kafka log on HV_VES_PERF3GPP topic (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell).



Expected results1.

The log is enabled.

2.
Send valid event to HV-VES.
2.

The message is published on DMaaP: HV_VES_PERF3GPP topic.

...

ONAP staging

TC4 : Topic Content Validation

Spec flow4.
Status
Status
colourGreen
titlepass

ONAP release StatuscolourGreytitleno runTesterMarek PondelPreconditionONAP setup with: consul, dcaegen2, dmaap, msb.Steps1.

Start Kafka log.

Expected results1.

The log is enabled.

2.
Send valid event to HV-VES and validate its content (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell).


2.

 Published event contains expected content.




...

ONAP staging ONAP release

TC5 : Message validation based on domain

Spec flow*
Status
Status
colourYellow
titlein progress
Status
colourGrey
titleno run
TesterMarek Pondel
PreconditionONAP setup with: consul, dcaegen2, dmaap, msb.
Steps1.

Send N1=5 correct, N2=3 incorrect due to wrong domain, N3=5 correct messages to HV-VES.

Expected results1.

N1+N3 messages are published on DMaaP Kafka topic.

TC6 : Message validation based on WTP marker byte

ONAP release ONAP setup with: consul, dcaegen2, dmaap, msb.ONAP staging 
Status
colourGrey
titleno run
TesterMarek Pondel
Precondition

TC6 : Message validation based on WTP

Spec flow*
Status
Status
colourYellow
titlein progress

marker byte


Steps1.

Send N1=5 correct, N2=3 incorrect due to wrong Wire Transfer Protocol marker byte, N3=5 correct messages to HV-VES.

Expected results1.

N1 +N3 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 flowONAP staging ONAP release

TC7 : Message validation based on undecodable GPB

*Status
Status
colourYellow
titlein progress
Status
colourGrey
titleno run
TesterMarek Pondel
PreconditionONAP setup with: consul, dcaegen2, dmaap, msb.
Steps1.

Send N1=5 correct, N2=3 incorrect due to undecodable GPB, N3=5 correct messages are sent to HV-VES.

Expected results1.

N1+N3 messages are published on DMaaP Kafka topic.

...

Spec flow

ONAP staging 

TC8 : Message validation based on payload size

Steps*Status
Status
colourYellow
titlein progress

ONAP release StatuscolourGreytitleno runTesterMarek Pondel1.

Send N1=5 correct, N2=3 incorrect due to payload size greater than 1MB, N3=5 correct messages to HV-VES.

Expected results1.

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

ONAP setup with: consul, dcaegen2, dmaap, msb.
Precondition

TC9 : Message validation based on WTP invalid format


Steps1.

Send N1=5 correct, N2=3 incorrect due to payload size greater than 1MBwrong Wire Transfer Protocol invalid format, N3=5 correct messages to HV-VES.

Expected results1.

N1+N3 messages are published on DMaaP Kafka topic.

TC10 : Message over SSL

TC10 : Message over SSL

Steps1.

Send valid event to HV-VES over SSL.

Expected results1.

SSL connection to HV-VES is setup and the message is published on DMaaP topic.