apache-jmeter-4.0
This directory contains APACHE Jmeter The APPC Test Client VM (robot VM) 10.12.5.54 contains a folder "apache-jmeter-4.0" which is home to 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.
- Beijing JMeter code can be found here.
- APPC-LCM-Action-V1.jmx
- appc-lcm-test.csv, appc-lcm-test-Stability-Test-VM2.csv, appc-lcm-test-Stability-Test-VM3.csv
- The csv files are utilized by the JMeter APPC-LCM-Action-V1.jmx to identify "DMaaP IP,DMaaP READ Topic,DMaaP WRITE Topic, vnf-id,vm-id"
- 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 APPCt APPC-LCM-Action-RebuildV1.jmx l APPCLCMAPPC-LCM-Action-RebuildV1.jtl
- The jmx file actually contains the test "script" and the jtl file is the formatted test results file.
- Check out the jtl file to see the results of your tests.
- ../bin/jmeter.sh -n -L DEBUG -t APPCt APPC-LCM-Action-RebuildV1.jmx l APPCLCMAPPC-LCM-Action-RebuildV1.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.
ONAP-Testing
ONAP Testing directory contains the data and scripts that will allow the user to update a particular A&AI instance.
put_closed_loop_sh is the script that actually "puts" news data into A&AI.
./put_closed_loop.sh aaiporhost |python -m json.tool
The below files need to be configured for the specific VNF being loaded:
cloud-region.json
model.json
generic-vnf-.json
vserver-generic-vnf-relationship.json
Additionally, for the Stability Testing 3 VMs were created. Each VM has a separate directory named accordingly. These files for the specific VNFs do not require modification if there is need to load the data for that VNF in a new or cleaned out A&AI>
verify.sh is the script that can be utilized to verify the VNF is loaded into A&AI. In order to query for the specific VNF simply modify the named-query.json file to reflect that VNF.
Pre-Defined data has been created for:
Stability-Test-VM1
Stability-Test-VM2
Stability-Test-VM3
vDNS- Clicking on the "View Results Tree" will display the results tree.
- Submit request - Actual request submitted
- SYNC response - DMaaP Accept/Failure response
- ASYNC Response - APPC Response on whether the action was a SUCCESS or FAILURE
- Start (Or whichever action is being tested) Transaction Controller - Transaction result (Green for success and Red for failure)