aboutsummaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/5-search-no-filter.js
diff options
context:
space:
mode:
Diffstat (limited to 'k6-tests/ncmp/5-search-no-filter.js')
-rw-r--r--k6-tests/ncmp/5-search-no-filter.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/k6-tests/ncmp/5-search-no-filter.js b/k6-tests/ncmp/5-search-no-filter.js
index fa08d0c40..f6a7c9971 100644
--- a/k6-tests/ncmp/5-search-no-filter.js
+++ b/k6-tests/ncmp/5-search-no-filter.js
@@ -19,6 +19,7 @@
*/
import { searchRequest } from './search-base.js';
+import { makeCustomSummaryReport } from "./utils.js";
export const options = {
vus: 5,
@@ -29,6 +30,12 @@ export const options = {
},
};
-export default function() {
+export default function () {
searchRequest('searches', '{}')
}
+
+export function handleSummary(data) {
+ return {
+ stdout: makeCustomSummaryReport(data, options),
+ };
+} \ No newline at end of file