Versions Compared

Key

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

...

Test casePolicy/
Enrich
Slogan

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"

FTC1100 

Enrich

ECS full interface walkthrough

FTC1800 

Enrich

ECS Create 10000 jobs and restart, test job persistency

PM_DEMO

Policy

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

PM_EI_DEMO

Policy
Enrich

Preparation demo setup - PMS and ECS - policy management and enrichment information

Test execution

All function test scripts can be executed in your local environment. It is proven to work on MacOS and Ubuntu (brief tests has been made on Windows using git bash).

Required environment:

  • Bash shell
  • docker (latest)
  • docker-compose (latest)
  • python3 (latest)

The test engine as well as all available test scripts is available in the nonrtric repo. Clone the repo and go to the auto-test directory:

Code Block
languagebash
$ git clone "https://gerrit.o-ran-sc.org/r/nonrtric"
$ cd nonrtric/test/autotest

Start the appropriate test script with the command below. No further action is required. The tests are fully automated. Once the execution is completed a test report is printed. 

Example

Code Block
languagebash
$ ./FTC100.sh remote --env-file ../common/test_env-oran-master.sh

For further information and details, see README in the dirs 'auto-test' and 'common'.

Tested image versions

Componentimagetagprofile
Policy Management Service

nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-policy-agent

2.1.0master
A1-controller

nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-a1-controller

2.1.0master
Enrichment Coordinator Service 

nexus3.o-ran-sc.org:10003/o-ran-sc/nonrtric-enrichment-coordinator-service

1.0.0-SNAPSHOTmaster
Control Panel

nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-controlpanel

2.0.0master
A1-Simulator

nexus3.o-ran-sc.org:10004/o-ran-sc/a1-simulator

2.1.0master

"profile" refers to the name of the environment variable profile used when executed a test case. There is always a profile for "master" which is the lastest available version and then a profile for each release.

Currently (nov 2020) the master profile targets the Cherry release.