summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-10-25 15:53:48 +0000
committerGerrit Code Review <gerrit@onap.org>2022-10-25 15:53:48 +0000
commitb4d5c84ec7c8df8a412d4759a6ade7f63e53040d (patch)
treebaa763c9b1abf41e17573f4fed49809f440d84f3
parentf5d7963491dbb92dfd255498a277776a60ff54b0 (diff)
parentcc1c436d49f485dd0e517549148ac88fae14d8f2 (diff)
Merge "API S3P documentation"
-rw-r--r--docs/development/devtools/api-s3p-results/api-response-time-distribution_J.pngbin551122 -> 189340 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api-response-time-distribution_performance_J.pngbin619256 -> 217155 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api-response-time-overtime_J.pngbin964035 -> 417371 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api-response-time-overtime_performance_J.pngbin816068 -> 434459 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api-s3p-jm-1_J.pngbin806620 -> 267889 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api-s3p-jm-2_J.pngbin813500 -> 256815 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api_top_after_72h.jpgbin506016 -> 0 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api_top_after_72h.pngbin0 -> 43519 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api_top_before_72h.jpgbin443603 -> 0 bytes
-rw-r--r--docs/development/devtools/api-s3p-results/api_top_before_72h.pngbin0 -> 41751 bytes
-rw-r--r--docs/development/devtools/api-s3p.rst20
11 files changed, 10 insertions, 10 deletions
diff --git a/docs/development/devtools/api-s3p-results/api-response-time-distribution_J.png b/docs/development/devtools/api-s3p-results/api-response-time-distribution_J.png
index f9a1ba43..6b62b2b2 100644
--- a/docs/development/devtools/api-s3p-results/api-response-time-distribution_J.png
+++ b/docs/development/devtools/api-s3p-results/api-response-time-distribution_J.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api-response-time-distribution_performance_J.png b/docs/development/devtools/api-s3p-results/api-response-time-distribution_performance_J.png
index 3669bc95..60476027 100644
--- a/docs/development/devtools/api-s3p-results/api-response-time-distribution_performance_J.png
+++ b/docs/development/devtools/api-s3p-results/api-response-time-distribution_performance_J.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api-response-time-overtime_J.png b/docs/development/devtools/api-s3p-results/api-response-time-overtime_J.png
index 7d9f8cc0..b32ff6ae 100644
--- a/docs/development/devtools/api-s3p-results/api-response-time-overtime_J.png
+++ b/docs/development/devtools/api-s3p-results/api-response-time-overtime_J.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api-response-time-overtime_performance_J.png b/docs/development/devtools/api-s3p-results/api-response-time-overtime_performance_J.png
index f16030f7..82a0b8ae 100644
--- a/docs/development/devtools/api-s3p-results/api-response-time-overtime_performance_J.png
+++ b/docs/development/devtools/api-s3p-results/api-response-time-overtime_performance_J.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api-s3p-jm-1_J.png b/docs/development/devtools/api-s3p-results/api-s3p-jm-1_J.png
index a4f57635..c219a63c 100644
--- a/docs/development/devtools/api-s3p-results/api-s3p-jm-1_J.png
+++ b/docs/development/devtools/api-s3p-results/api-s3p-jm-1_J.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api-s3p-jm-2_J.png b/docs/development/devtools/api-s3p-results/api-s3p-jm-2_J.png
index 9c54bc71..0083f3ca 100644
--- a/docs/development/devtools/api-s3p-results/api-s3p-jm-2_J.png
+++ b/docs/development/devtools/api-s3p-results/api-s3p-jm-2_J.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api_top_after_72h.jpg b/docs/development/devtools/api-s3p-results/api_top_after_72h.jpg
deleted file mode 100644
index 048d61f3..00000000
--- a/docs/development/devtools/api-s3p-results/api_top_after_72h.jpg
+++ /dev/null
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api_top_after_72h.png b/docs/development/devtools/api-s3p-results/api_top_after_72h.png
new file mode 100644
index 00000000..de4c4553
--- /dev/null
+++ b/docs/development/devtools/api-s3p-results/api_top_after_72h.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api_top_before_72h.jpg b/docs/development/devtools/api-s3p-results/api_top_before_72h.jpg
deleted file mode 100644
index c4a499b8..00000000
--- a/docs/development/devtools/api-s3p-results/api_top_before_72h.jpg
+++ /dev/null
Binary files differ
diff --git a/docs/development/devtools/api-s3p-results/api_top_before_72h.png b/docs/development/devtools/api-s3p-results/api_top_before_72h.png
new file mode 100644
index 00000000..2b334377
--- /dev/null
+++ b/docs/development/devtools/api-s3p-results/api_top_before_72h.png
Binary files differ
diff --git a/docs/development/devtools/api-s3p.rst b/docs/development/devtools/api-s3p.rst
index c19e4d67..12c3a516 100644
--- a/docs/development/devtools/api-s3p.rst
+++ b/docs/development/devtools/api-s3p.rst
@@ -25,7 +25,7 @@ All the transaction flows are initiated from a test client server running JMeter
Setup Details
-------------
-The stability test was performed on a default ONAP OOM installation in the University of New Hampshire (UNH) Lab environment.
+The stability test was performed on a default ONAP OOM installation in the Nordix Lab environment.
JMeter was installed on a separate VM to inject the traffic defined in the
`API stability script
<https://git.onap.org/policy/api/tree/testsuites/stability/src/main/resources/testplans/policy_api_stability.jmx>`_
@@ -33,9 +33,9 @@ with the following command:
.. code-block:: bash
- nohup ./apache-jmeter-5.4.1/bin/jmeter.sh -n -t policy_api_stability.jmx -l stabilityTestResultsPolicyApi.jtl
+ nohup apache-jmeter-5.5/bin/jmeter -n -t policy_api_stability.jmx -l stabilityTestResultsPolicyApi.jtl &
-The test was run in the background via “nohup”, to prevent it from being interrupted.
+The test was run in the background via “nohup” and “&”, to prevent it from being interrupted.
Test Plan
---------
@@ -127,7 +127,7 @@ The load was performed against a non-tweaked ONAP OOM installation.
======================= ============= =========== =============================== =============================== ===============================
**Total # of requests** **Success %** **TPS** **Avg. time taken per request** **Min. time taken per request** **Max. time taken per request**
======================= ============= =========== =============================== =============================== ===============================
- 914881 100% 3.5 1413 ms 100 ms 22201 ms
+ 950839 100% 3.67 1351 ms 126 ms 16324 ms
======================= ============= =========== =============================== =============================== ===============================
.. image:: api-s3p-results/api-s3p-jm-1_J.png
@@ -147,11 +147,11 @@ A snapshot is taken before and after test execution to monitor the changes in re
Memory and CPU usage before test execution:
-.. image:: api-s3p-results/api_top_before_72h.jpg
+.. image:: api-s3p-results/api_top_before_72h.png
Memory and CPU usage after test execution:
-.. image:: api-s3p-results/api_top_after_72h.jpg
+.. image:: api-s3p-results/api_top_after_72h.png
Performance Test of Policy API
@@ -165,7 +165,7 @@ Performance test of policy-api has the goal of testing the min/avg/max processin
Setup Details
-------------
-The performance test was performed on a default ONAP OOM installation in the University of New Hampshire (UNH) Lab environment.
+The performance test was performed on a default ONAP OOM installation in the Nordix Lab environment.
JMeter was installed on a separate VM to inject the traffic defined in the
`API performance script
<https://git.onap.org/policy/api/tree/testsuites/performance/src/main/resources/testplans/policy_api_performance.jmx>`_
@@ -173,9 +173,9 @@ with the following command:
.. code-block:: bash
- nohup ./apache-jmeter-5.4.1/bin/jmeter.sh -n -t policy_api_performance.jmx -l performanceTestResultsPolicyApi.jtl
+ nohup apache-jmeter-5.5/bin/jmeter -n -t policy_api_performance.jmx -l performanceTestResultsPolicyApi.jtl &
-The test was run in the background via “nohup”, to prevent it from being interrupted.
+The test was run in the background via “nohup” and “&”, to prevent it from being interrupted.
Test Plan
---------
@@ -193,7 +193,7 @@ Running/Triggering performance test will be the same as stability test. That is,
======================= ============= =========== =============================== =============================== ===============================
**Total # of requests** **Success %** **TPS** **Avg. time taken per request** **Min. time taken per request** **Max. time taken per request**
======================= ============= =========== =============================== =============================== ===============================
- 10417 100% 1.1 17340 ms 100 ms 365982 ms
+ 16212 100% 1.8 11109 ms 162 ms 237265 ms
======================= ============= =========== =============================== =============================== ===============================
.. image:: api-s3p-results/api-s3p-jm-2_J.png