Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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 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 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 test scripts are designed in a way so that the same script can be used for testing of the functionality in the master branch as well as previous release(s).

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 casePolicySlogan

FTC1 

Policy

Sanity test, create service and then create, update and delete a policy using http/https and Agent REST/DMAAP with/without SDNC controller

FTC10  

Policy

Basic use case, register service, create/update policy, delete policy, de-register service using both STD and OSC interface while mixing REST and Dmaap

FTC100  

Policy

Full agent API walkthrough using agent REST/DMAAP and with/without SDNC A1 Controller

FTC110  

Policy

Testing of service registration timeouts and keepalive

FTC150  

Policy

Sample tests of the SDNC A1 controller restconf API using http/https (no agent)

FTC300 

Policy

Resync 10000 policies using OSC and STD interface

FTC310 

Policy

Resync of RIC via changes in the consul config or pushed config

FTC350 

Policy

Change supported policy types and reconfigure rics

FTC800  

Policy

Create 10000 policies in sequence using http/https and Agent REST/DMAAP with/without SDNC controller

FTC810

Policy

Repeatedly create and delete policies in each RICs for 24h (or configured number of days). Via agent REST/DMAAP/DMAAP_BATCH and SDNC using http or https

FTC850

Policy

Create/delete policies in parallel over a number of ric using a number of child process

FTC900

Policy

Preparation for test of the Control Panel and the Health Check app - populating a number of rics simulators with types and instances"

PM_DEMO

Policy

Preparation demo setup - populating a number of ric simulators with types and instances

  • No labels