summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/common/search-base.js
diff options
context:
space:
mode:
Diffstat (limited to 'k6-tests/ncmp/common/search-base.js')
-rw-r--r--k6-tests/ncmp/common/search-base.js20
1 files changed, 12 insertions, 8 deletions
diff --git a/k6-tests/ncmp/common/search-base.js b/k6-tests/ncmp/common/search-base.js
index a7d0c925c4..beb3aad07c 100644
--- a/k6-tests/ncmp/common/search-base.js
+++ b/k6-tests/ncmp/common/search-base.js
@@ -22,19 +22,23 @@ import http from 'k6/http';
import { NCMP_BASE_URL, CONTENT_TYPE_JSON_PARAM } from './utils.js';
const SEARCH_PARAMETERS_PER_SCENARIO = {
- 'module': {
- 'cmHandleQueryParameters': [
+ "module-and-properties": {
+ "cmHandleQueryParameters": [
{
- 'conditionName': 'hasAllModules',
- 'conditionParameters': [{'moduleName': 'ietf-yang-types'}]
+ "conditionName": "hasAllModules",
+ "conditionParameters": [{"moduleName": "ietf-yang-types"}]
+ },
+ {
+ "conditionName": "hasAllProperties",
+ "conditionParameters": [{"Color": "yellow"}]
}
]
},
- 'readyCmHandles': {
- 'cmHandleQueryParameters': [
+ "readyCmHandles": {
+ "cmHandleQueryParameters": [
{
- 'conditionName': 'cmHandleWithCpsPath',
- 'conditionParameters': [{'cpsPath': '//state[@cm-handle-state="READY"]'}]
+ "conditionName": "cmHandleWithCpsPath",
+ "conditionParameters": [{"cpsPath": "//state[@cm-handle-state='READY']"}]
}
]
}