diff options
author | halil.cakal <halil.cakal@est.tech> | 2024-05-27 16:06:59 +0100 |
---|---|---|
committer | halil.cakal <halil.cakal@est.tech> | 2024-05-27 16:06:59 +0100 |
commit | 0613fbd654bacb9324e07bb2f9f4244302c48aaa (patch) | |
tree | 8fd4f5b3cfdac8f1baf59794395ac6bc9e2f6674 /k6-tests/ncmp/6-id-search-public-property.js | |
parent | c628542edebf7b000bc8646455378ae076bdc9c5 (diff) |
Print summary report for K6 tests
- add a generic template to print summary of k6 test results
- remove container logs since its around 50 mb
Issue-ID: CPS-2215
Change-Id: I8971fc30b9dc8be2ed16eda6755d17a91f608b48
Signed-off-by: halil.cakal <halil.cakal@est.tech>
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'k6-tests/ncmp/6-id-search-public-property.js')
-rw-r--r-- | k6-tests/ncmp/6-id-search-public-property.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/k6-tests/ncmp/6-id-search-public-property.js b/k6-tests/ncmp/6-id-search-public-property.js index e8b584aecb..0a06331a2d 100644 --- a/k6-tests/ncmp/6-id-search-public-property.js +++ b/k6-tests/ncmp/6-id-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('id-searches', JSON.stringify(search_filter)); } + +export function handleSummary(data) { + return { + stdout: makeCustomSummaryReport(data, options), + }; +}
\ No newline at end of file |