...
TC2 : NF sends Real Time PM event and HV-VES Collector validates Event
TC4 : Topic Content Validation
TC4 : Topic Content Validation
Start Kafka log.
The log is enabled.
No Format | ||
---|---|---|
| ||
root@hv-ves-sim:~# cat hv-ves_sim/samples/xnf-simulator-smaller-valid-request_edited.json
[
{
"commonEventHeader": {
"version": "sample-version",
"domain": "HVRANMEAS",
"sequence": 1,
"priority": 1,
"eventId": "SAMPLE-EVENT-ID",
"eventName": "sample-event-name",
"eventType": "sample-event-type",
"startEpochMicrosec": 120034455,
"lastEpochMicrosec": 120034455,
"nfNamingCode": "sample-nf-naming-code",
"nfcNamingCode": "sample-nfc-naming-code",
"reportingEntityId": "sample-reporting-entity-id",
"reportingEntityName": "sample-reporting-entity-name",
"sourceId": "sample-source-id",
"sourceName": "SAMPLE-SOURCE-NAME"
},
"messageType": "FIXED_PAYLOAD",
"messagesAmount": 1
}
]
root@hv-ves-sim:~# |
Published event contains expected content , e.g.
nopanel | true |
---|
TC2 : NF sends Real Time PM event and HV-VES Collector validates Event | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Spec flow | 2. | ||||||||||||||
Status | No run | ||||||||||||||
Tester | Marek Pondel | ||||||||||||||
Precondition | HV-VES XNF simulator (https://wiki.onap.org/display/DW/HV-VES+simulator) integrated to ONAP ONAP setup with : consul , dcaegen2 , dmaap , msb . | ||||||||||||||
Steps | 1. | Send valid GPB format event VesEvent (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell) to HV-VES and check logs , e.g .
| Expected results | 1. | Message is sent properly :
| ||||||||||
2. | Send invalid GPB format event to HV-VES and check logs :
| 2. | Invalid message was not sent to DMaaP topic. HV-VES log points proper number of messages processed :
|
TC3 : Publish Event
...
TC3 : Publish Event
...
Start Kafka log on ves_hvRanMeas topic :
No Format | ||
---|---|---|
| ||
root@marekpl-rtpmsim:~# docker exec -ti 0e0d1e4599b6 sh
/ # kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic ves_hvRanMeas |
...
The log is enabled.
...
...
The message is published on DMaaP ves_hvRanMeas topic :
Code Block | ||
---|---|---|
| ||
/ # kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic ves_hvRanMeas
?
sample-version
*sample-version2sample-version:sample-version@???9H???9Rsample-nf-naming-codeZsample-nfc-naming-codebsample-reporting-entity-idjsample-reporting-entity-namersample-source-idzsample-source-named |
Expected results | 1. | 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
TC3 : Publish Event | |||||
---|---|---|---|---|---|
Spec flow | 3. | ||||
Status | No run | ||||
Tester | Marek Pondel | ||||
Precondition | ONAP setup with : consul , dcaegen2 , dmaap , msb . | ||||
Steps | 1. | Start Kafka log on HV_VES_PERF3GPP topic (HV-VES simulator#VESsimulator-HV-VESmessagesimulationfromshell) . | Expected results | 1. | The log is enabled . |
2. | Send valid event to HV-VES using XNF simulator . | 2. | The message is published on DMaaP : HV_VES_PERF3GPP topic . |
TC4 : Topic Content Validation
TC4 : Topic Content Validation | |||||
---|---|---|---|---|---|
Spec flow | 4. | ||||
Status | No run | ||||
Tester | Marek Pondel | ||||
Precondition | ONAP setup with : consul , dcaegen2 , dmaap , msb . | ||||
Steps | 1. | Start Kafka log. | Expected results | 1. | 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 . |
To do
- Define non-functional (performance) requirements for HV-VES.
- TC5 - TC10 update based on non-functional HV-VES requirements.