Testing

Current Status

ItemStatus
Testing Blockers 

NO BLOCKER

High visibility bugs

NO HIGHLIGHTED BUG

Other issues for testing that should be seen at a summary level

NONE

Test contacts:

  Tamas Bakail      tamas.bakai@est.tech

 Björn Magnusson     bjorn.magnusson@est.tech

DCAE Data File Collector











Test Cases and Status:  DCAE Data File Collector

#Test CaseStatus
1

DFC consumes 1node/1file event, collects from XNF, then successfully publish it

NOT YET TESTED

2

Interface towards Message-Router -Negative tests

NOT YET TESTED

3

Interface towards xNF -Negative tests

NOT YET TESTED

Interface towards Data-Router -Negative tests

NOT YET TESTED

 XNF temporary disconnection

NOT YET TESTED

6

DR temporary disconnection

NOT YET TESTED

7

Ensure any files which are not available are logged.

Expected outcome: any errors such as non-existant file (e.g. file removed before retrieval) are logged

NOT YET TESTED

8

Confirm that in the event the maximum number of retries is exceeded, an error is logged.

Expected outcome: Error log indicating that the file was not able to retrieved.

NOT YET TESTED

9

Ensure the connection to xNF is closed.

Expected outcome: Connection to xNF is closed.

NOT YET TESTED





Test environment requirements for above test cases:

  • Docker-compose for XNF simulator
  • MR-sim and DR-sim requirements are fulfilled (virtualenv, npm, or docker-container)
  • The environment can be found in the Integration repo ./test/mocks/


Message router simulator:

  • Provides pre-configured FileReady Event replies based on start arguments. The achieved functionality (test-case) is also controlled by that. Use Unix signals to stop/kill as necessary and restart according to TC. Stdout shows the polling and replies.

Data router simulator:

  • Consists of two processes of http server to mimic forwarding properly. Use Unix signals to stop/kill as needed. Stdout shows published files. The number of the collected files can be queried using an HTTP interface for CI purposes.

XNF simulator: 

  • A set of FTPS, SFTP servers prepared with keys/certificates and files to be downloaded.
  • Controlled by a docker-compose configuration
  • There are NO VES events originated from this to keep the structure simple. All VES events (FileReady Events) are created by the MR-sim based on the pre-populated files and known ports/IP addresses.