Versions Compared

Key

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

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 casePolicySlogan

FTC1 

Policy

Sanity

 test

test,

 

create

 service and 

service and then

 

create, update

 and 

and delete

 a policy 

a policy using

 http

http/https

 and Agent

and A1PMS REST

/DMAAP 

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

 policy

policy,

 

delete

 policy

policy, de-register

service 

service using

 

both

 STD

STD and OSC

interface 

interface while

 

mixing

 REST and Dmaap

REST

FTC100  

Policy

Full

agent

a1pms API

 

walkthrough

 

using

 agent

a1pms REST

/DMAAP and 

and with/without

 SDNC

SDNC A1 Controller

FTC110  

Policy

Testing

 

of

 service 

service registration

 timeouts and 

timeouts and keepalive

FTC150  

Policy

Sample

 tests 

tests of

 the

the SDNC A1

controller 

controller restconf

 API 

API using

 http

http/https

 

(no

agent

a1pms)

FTC300 

Policy

Resync

 10000 

10000 policies

 

using

 OSC

OSC and STD interface

FTC310 

Policy

Resync

 

of

 RIC via changes in the consul config or pushed config

RIC via changes in the pushed config

FTC350 

Policy

Change 

Change supported

 policy 

policy types

 and 

and reconfigure

 

rics

FTC800  

Policy

Create

 10000 

10000 policies

 in 

in sequence

 

using

 http

http/https

 and Agent

and a1pms REST

/DMAAP 

with/without

 SDNC controller

SDNC controller

FTC805Policy

A1PMS Create 10000 policies and restart, test polices persistency

FTC810

Policy

Repeatedly

 

create

 and 

and delete

 

policies

 in 

in each

 

RICs

 for

for 24h (

or 

or configured

 

number

 

of

 

days). Via

agent REST/DMAAP/DMAAP_BATCH and SDNC using http or https

a1pms REST and with SDNC using http or https

FTC850

Policy

Create/delete

 

policies

 in 

in parallel

 over a 

over a number

 

of

 ric 

rics using

 a 

a number

 

of

 

child

 process

process

FTC900

Policy

Preparation for test

 

of

 

the Control Panel and the Health Check

 

app

 

-

 

populating

 

a

 

number

 

of

 rics 

ric simulators

 

with

 

types

 

and

 

instances

"

PM_DEMO

Policy

Preparation demo

setup

setup  -

 

populating

 

a

 

number

 

of

 

ric

 

simulators

 

with

 types and instances

types 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.