summaryrefslogtreecommitdiffstats
path: root/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
diff options
context:
space:
mode:
authoremaclee <lee.anjella.macabuhay@est.tech>2023-09-26 11:01:38 +0100
committeremaclee <lee.anjella.macabuhay@est.tech>2023-10-11 09:39:06 +0100
commit500134c9c745eeda707e5738a5a699c69bb899c6 (patch)
tree94f29be320647bfd01939d159ca03a424a866dad /integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
parentb4939f3dc286b23edd6f7950e74952208f983eb4 (diff)
Add memory usage to integration tests [UPDATED]
Issue-ID: CPS-1753 Signed-off-by: emaclee <lee.anjella.macabuhay@est.tech> Change-Id: I08fd0802f536b8fe333ddbfc9301356095f58171
Diffstat (limited to 'integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy')
-rw-r--r--integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy3
1 files changed, 3 insertions, 0 deletions
diff --git a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
index f5d7c5e15..7bacf1d6e 100644
--- a/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
+++ b/integration-test/src/test/groovy/org/onap/cps/integration/performance/base/NcmpPerfTestBase.groovy
@@ -21,6 +21,7 @@
package org.onap.cps.integration.performance.base
import java.time.OffsetDateTime
+import org.onap.cps.integration.ResourceMeter
class NcmpPerfTestBase extends PerfTestBase {
@@ -36,6 +37,8 @@ class NcmpPerfTestBase extends PerfTestBase {
def numberOfFiltersPerCmHandle = 10
def numberOfCmHandlesPerCmDataSubscription = 200
+ ResourceMeter resourceMeter = new ResourceMeter()
+
// SHORT versions for easier debugging
// def subscriberIdPrefix = 'sub'
// def xpathPrefix = 'f'