You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function parseK6Output(data, testResultUrlsMap, totalTestRuns) {
30100
+
/*
30101
+
* This function is responsible for parsing the output of the k6 command.
30102
+
* It filters out the progress lines and logs the rest of the output.
30103
+
* It also extracts the test run URLs from the output.
30104
+
*
30105
+
* @param {Buffer} data - The k6 command output data
30106
+
* @param {TestResultUrlsMap | null} testResultUrlsMap - The map containing the script path and output URL. If null, the function will not extract test run URLs.
30107
+
* @param {number} totalTestRuns - The total number of test runs. This is used to determine when all test run URLs have been extracted.
* This function is responsible for parsing the output of the k6 command.
41
+
* It filters out the progress lines and logs the rest of the output.
42
+
* It also extracts the test run URLs from the output.
43
+
*
44
+
* @param {Buffer} data - The k6 command output data
45
+
* @param {TestResultUrlsMap | null} testResultUrlsMap - The map containing the script path and output URL. If null, the function will not extract test run URLs.
46
+
* @param {number} totalTestRuns - The total number of test runs. This is used to determine when all test run URLs have been extracted.
0 commit comments