summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/9-search-module.js
diff options
context:
space:
mode:
authorLee Anjella Macabuhay <lee.anjella.macabuhay@est.tech>2024-06-10 08:31:59 +0000
committerGerrit Code Review <gerrit@onap.org>2024-06-10 08:31:59 +0000
commitd3e64201a957ca4a1538ea0962c3e5218a5d34e8 (patch)
treefad30ced1270756051ed35df6928e51b0a324375 /k6-tests/ncmp/9-search-module.js
parent7f8dbc413ce1bd441714447075b4e2212084696f (diff)
parent0e006004acf07ee044c9a4c258cee5518ffd0988 (diff)
Merge "[k6] Refactor k6 tests for CM handle searches"
Diffstat (limited to 'k6-tests/ncmp/9-search-module.js')
-rw-r--r--k6-tests/ncmp/9-search-module.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/k6-tests/ncmp/9-search-module.js b/k6-tests/ncmp/9-search-module.js
index 3237e6a822..c6bbb06db1 100644
--- a/k6-tests/ncmp/9-search-module.js
+++ b/k6-tests/ncmp/9-search-module.js
@@ -18,7 +18,7 @@
* ============LICENSE_END=========================================================
*/
-import { searchRequest } from './search-base.js';
+import { executeCmHandleSearch } from './search-base.js';
import { makeCustomSummaryReport } from "./utils.js";
export const options = {
@@ -31,15 +31,7 @@ export const options = {
};
export default function () {
- const search_filter = {
- "cmHandleQueryParameters": [
- {
- "conditionName": "hasAllModules",
- "conditionParameters": [{"moduleName": "ietf-yang-types-1"}]
- }
- ]
- };
- searchRequest('searches', JSON.stringify(search_filter));
+ executeCmHandleSearch('module');
}
export function handleSummary(data) {