feat(benchmark): Add benchmark scenario for binary files (#10648)
This commit is contained in:
@@ -60,6 +60,7 @@ export function handleSummary(data) {
|
||||
env: {
|
||||
API_BASE_URL: this.opts.n8nApiBaseUrl,
|
||||
K6_CLOUD_TOKEN: this.opts.k6ApiToken,
|
||||
SCRIPT_FILE_PATH: augmentedTestScriptPath,
|
||||
},
|
||||
})`${k6ExecutablePath} run ${flattedFlags} ${augmentedTestScriptPath}`;
|
||||
|
||||
@@ -82,7 +83,7 @@ export function handleSummary(data) {
|
||||
|
||||
const augmentedTestScript = `${testScript}\n\n${summaryScript}`;
|
||||
|
||||
const tempFilePath = tmpfile(`${scenarioRunName}.ts`, augmentedTestScript);
|
||||
const tempFilePath = tmpfile(`${scenarioRunName}.js`, augmentedTestScript);
|
||||
|
||||
return tempFilePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user