feat(benchmark): Add scenario for expressions with Set node (#10647)

This commit is contained in:
Tomi Turtiainen
2024-09-03 17:09:37 +03:00
committed by GitHub
parent d5d7b24f55
commit 35e6a87cba
3 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import http from 'k6/http';
import { check } from 'k6';
const apiBaseUrl = __ENV.API_BASE_URL;
export default function () {
const res = http.post(`${apiBaseUrl}/webhook/set-expressions-benchmark`, {});
check(res, {
'is status 200': (r) => r.status === 200,
});
}