Introduction
Function test is conducted to verify the functionality of the ONAP A1 Policy functions and other Non-RT RIC as well as the individual components.
A test engine and a number of test script is used as a foundation for the test environment. The requirements to
The test environment uses docker images both the Non-RT RIC components as well as for the the needed simulators (from OSC). The test scripts support execution both in docker and kubernetes environment.
The basic idea of function test is to run the Non-RT RIC components and ONAP A1 Policy functions, test the exposed interfaces, and verify their behaviour using simulators. The test engine and the test scripts controls the behaviour of the simulators but also use the exposed interfaces for test and monitoring.
...
The majority of the test scripts test one or several aspects of the functionality but there is also test scripts for stability tests over longer period of time (currently 3 days max intensity test).
Test scripts/Test cases
The below table is a list of test cases. All scripts beginning with the letters "FTC" (Function Test Case) are considered test scripts to test functionality. The remaining test scripts are primarily used for demo purposes.
Test case | Policy | Slogan | ||
---|---|---|---|---|
FTC1 | Policy | Sanity testtest, create service andservice and then create, update andand delete a policya policy using httphttp/https and Agent REST/DMAAPand A1PMS REST with/without SDNC controller | ||
FTC1_A1PMS_ADAPTER | Policy | Sanity test, create service and then create,update and delete a policy with A1PMS adapter using http/https and A1PMS REST with/without | SDNC SDNC controller | |
FTC10 | Policy | Basic Basic use case, register service, create/update policypolicy, delete policypolicy, de-register service service using both STD STD and OSC interface interface while mixing REST and DmaapREST | ||
FTC100 | Policy | Full agenta1pms API walkthrough using agenta1pms REST /DMAAP andand with/without SDNCSDNC A1 Controller | ||
FTC110 | Policy | Testing of serviceservice registration timeouts andtimeouts and keepalive | ||
FTC150 | Policy | Sample teststests of thethe SDNC A1 controllercontroller restconf APIAPI using httphttp/https (no agenta1pms) | ||
FTC300 | Policy | Resync 1000010000 policies using OSCOSC and STD interface | ||
FTC310 | Policy | Resync of RIC via changes in the consul config or pushed configRIC via changes in the pushed config | ||
FTC350 | PolicyChange | Change supported policypolicy types andand reconfigure rics | ||
FTC800 | Policy | Create 1000010000 policies inin sequence using httphttp/https and Agentand a1pms REST /DMAAPwith/without SDNC controllerSDNC controller | ||
FTC805 | Policy | A1PMS Create 10000 policies and restart, test polices persistency | ||
FTC810 | Policy | Repeatedly create andand delete policies inin each RICs forfor 24h ( oror configured number of days). Via agent REST/DMAAP/DMAAP_BATCH and SDNC using http or httpsa1pms REST and with SDNC using http or https | ||
FTC850 | Policy | Create/delete policies inin parallel over aover a number of ricrics using aa number of child processprocess | ||
FTC900 | Policy | Preparation for test of the Control Panel and the Health Check app - populating a number of ricsric simulators with types and instances " | ||
PM_DEMO | Policy | Preparation demo setupsetup - populating a number of ric simulators with types and instancestypes and instances | ||
ONAP_UC | Policy | ONAP Use case REQ-626 |
Note: All test scripts and the associated test environment setup for ONAP is currently jointly managed in the this repo, see subdir "test/auto.test
". New tests are added frequently so make sure to check out the repo.