summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/7-search-public-property.js
diff options
context:
space:
mode:
Diffstat (limited to 'k6-tests/ncmp/7-search-public-property.js')
-rw-r--r--k6-tests/ncmp/7-search-public-property.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/k6-tests/ncmp/7-search-public-property.js b/k6-tests/ncmp/7-search-public-property.js
index 3e052dabe0..9a8e339c6c 100644
--- a/k6-tests/ncmp/7-search-public-property.js
+++ b/k6-tests/ncmp/7-search-public-property.js
@@ -19,6 +19,7 @@
*/
import { searchRequest } from './search-base.js';
+import { makeCustomSummaryReport } from "./utils.js";
export const options = {
vus: 5,
@@ -29,14 +30,20 @@ export const options = {
},
};
-export default function() {
+export default function () {
const search_filter = {
"cmHandleQueryParameters": [
{
"conditionName": "hasAllProperties",
- "conditionParameters": [ {"Color": "yellow"}, {"Size": "small"} ]
+ "conditionParameters": [{"Color": "yellow"}, {"Size": "small"}]
}
]
};
searchRequest('searches', JSON.stringify(search_filter));
}
+
+export function handleSummary(data) {
+ return {
+ stdout: makeCustomSummaryReport(data, options),
+ };
+} \ No newline at end of file