The APPC OOM deployment consists of a 3 node ODL Cluster plus a DB node. The details for the environment can be found at APPC WindRiver Lab. From a testing persepctive a directory has been created on the Master APPC node (10.12.5.171). The directory is called "testing."
testing directory
ubuntu@k8s-master:~/testing$ ls -l total 36 drwxrwxr-x 10 ubuntu ubuntu 4096 May 5 00:11 apache-jmeter-4.0 drwxrwxr-x 3 ubuntu ubuntu 4096 May 4 15:16 ONAP-Testing -rw-rw-r-- 1 ubuntu ubuntu 1039 May 4 12:32 rebuild-VM3.json -rw-rw-r-- 1 ubuntu ubuntu 755 May 1 16:40 restart-test-dmaap.json -rw-rw-r-- 1 ubuntu ubuntu 1041 May 4 15:19 snapshot-VM3.json -rw-rw-r-- 1 ubuntu ubuntu 1031 May 4 12:11 start-VM2.json -rw-rw-r-- 1 ubuntu ubuntu 1031 May 4 11:50 stop-VM2.json -rw-rw-r-- 1 ubuntu ubuntu 1004 May 4 11:50 test.json -rw-rw-r-- 1 ubuntu ubuntu 675 Apr 30 17:56 test-restart.json ubuntu@k8s-master:~/testing/apache-jmeter-4.0/APPC-Tests$ ls -l total 167696 -rw-rw-r-- 1 ubuntu ubuntu 104327 May 5 20:34 APPC-LCM-Action-4272018.jmx -rw-rw-r-- 1 ubuntu ubuntu 48609 May 4 14:53 APPC-LCM-Action-Generic_Restart.jmx -rw-rw-r-- 1 ubuntu ubuntu 48673 May 5 20:42 APPC-LCM-Action-Rebuild.jmx -rw-rw-r-- 1 ubuntu ubuntu 56469 May 5 00:37 APPC-LCM-Action-Restart.jmx -rw-rw-r-- 1 ubuntu ubuntu 56425 May 4 14:53 APPC-LCM-Action-Start.jmx -rw-rw-r-- 1 ubuntu ubuntu 56406 May 4 18:02 APPC-LCM-Action-Stop.jmx -rw-rw-r-- 1 ubuntu ubuntu 95 May 4 23:48 appc-lcm-test.csv -rw-rw-r-- 1 ubuntu ubuntu 95 May 4 23:48 appc-lcm-test-Stability-Test-VM2.csv -rw-rw-r-- 1 ubuntu ubuntu 95 May 4 23:48 appc-lcm-test-Stability-Test-VM3.csv -rw-rw-r-- 1 ubuntu ubuntu 1451122 May 7 09:23 appc-oom-72hr.jtl -rw-rw-r-- 1 ubuntu ubuntu 2695327 May 7 09:25 appc-oom-rebuild-72hr.jtl -rw-rw-r-- 1 ubuntu ubuntu 167156886 May 7 09:30 jmeter.log drwxr-xr-x 2 root root 4096 May 4 23:48 temp -rw-r--r-- 1 root root 159 May 4 23:48 test-scott.jtl ubuntu@k8s-master:~/testing/ONAP-Testing$ ls -l total 12 drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:17 keys -rw-rw-r-- 1 ubuntu ubuntu 26 May 4 15:17 login.txt drwxrwxr-x 5 ubuntu ubuntu 4096 May 4 15:16 Test Data ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data$ ls -l total 24 drwxrwxr-x 4 ubuntu ubuntu 4096 May 4 15:17 APPC-Stability-Test -rw-rw-r-- 1 ubuntu ubuntu 999 May 4 15:16 Stop-Stability-Test-VM1-VM.json drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:16 vCPE drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:16 vDNS -rw-rw-r-- 1 ubuntu ubuntu 6144 May 4 15:16 vTESTVM1.xls ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data$ cd APPC-Stability-Test ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data/APPC-Stability-Test$ ls -l total 24 drwxrwxr-x 5 ubuntu ubuntu 4096 May 4 15:16 A&AI Data -rw-rw-r-- 1 ubuntu ubuntu 10079 May 4 15:17 APPC-AAI-Data.txt -rw-rw-r-- 1 ubuntu ubuntu 3587 May 4 15:17 APPC_Test_VM_SAMPLE.tar.gz drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:17 vDNS ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data/APPC-Stability-Test$ cd "A&AI Data" ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data/APPC-Stability-Test/A&AI Data$ ls -l total 12 drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:17 Stability-Test-VM1 drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:17 Stability-Test-VM2 drwxrwxr-x 2 ubuntu ubuntu 4096 May 4 15:17 Stability-Test-VM3 ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data/APPC-Stability-Test/A&AI Data/Stability-Test-VM1$ ls -l total 76 -rw-rw-r-- 1 ubuntu ubuntu 3325 May 4 15:17 cloud-region.json -rw-rw-r-- 1 ubuntu ubuntu 300 May 4 15:17 generic-vnf.json -rw-rw-r-- 1 ubuntu ubuntu 289 May 4 15:17 model.json -rw-rw-r-- 1 ubuntu ubuntu 314 May 4 15:17 named-query.json -rw-rw-r-- 1 ubuntu ubuntu 3381 May 4 15:17 put_closed_loop.sh -rw-rw-r-- 1 ubuntu ubuntu 1103 May 4 15:17 put_named_query.sh -rw-rw-r-- 1 ubuntu ubuntu 794 May 4 15:17 update-esr.sh -rw-rw-r-- 1 ubuntu ubuntu 518 May 4 15:17 update-esr-status.json -rw-rw-r-- 1 ubuntu ubuntu 125 May 4 15:17 update-identity-url.json -rw-rw-r-- 1 ubuntu ubuntu 492 May 4 15:17 update.sh -rw-rw-r-- 1 ubuntu ubuntu 337 May 4 15:17 update-vnf-status.json -rw-rw-r-- 1 ubuntu ubuntu 597 May 4 15:17 update-vserver-selflink.json -rw-rw-r-- 1 ubuntu ubuntu 799 May 4 15:17 update-vserver.sh -rw-rw-r-- 1 ubuntu ubuntu 450 May 4 15:17 verify.sh -rw-rw-r-- 1 ubuntu ubuntu 950 May 4 15:17 VNFC_APPC_Test_VM.json -rw-rw-r-- 1 ubuntu ubuntu 10901 May 4 15:17 vnf-to-esr-info-1.0.json -rw-rw-r-- 1 ubuntu ubuntu 115 May 4 15:17 vserver-generic-vnf-relationship.json ubuntu@k8s-master:~/testing/ONAP-Testing/Test Data/APPC-Stability-Test/A&AI Data/Stability-Test-VM1$
Within the testing directory there are sample test json requests along with jmeter and A&AI data load scripts. The breakdown for these directories is below:
apache-jmeter-4.0
This directory contains APACHE Jmeter along with APPC-Tests. The APPC-Tests subfolder contains jmx files that can be utilized to run specific APPC LCM Actions. The tests can be executed either command line or via the UI.
- Command Line (The example below is executing the test from the testing->apache-jmeter-4.0->APPC-Tests folder):
- ../bin/jmeter.sh -n -L DEBUG -t APPC-LCM-Action-Rebuild.jmx l APPCLCM-Action-Rebuild.jtl
- The jmx file actually contains the test "script" and the jtl file is the formatted test results file.
- ../bin/jmeter.sh -n -L DEBUG -t APPC-LCM-Action-Rebuild.jmx l APPCLCM-Action-Rebuild.jtl
- Executing JMeter from the UI:
- /home/ubuntu/testing/apache-jmeter-4.0/jmeter
- This will pull up the UI. However, you will need to have X11 setup on your desktop.