feat: Add n8n-benchmark cli (no-changelog) (#10410)

This commit is contained in:
Tomi Turtiainen
2024-08-22 11:33:11 +03:00
committed by GitHub
parent 9fe6a71690
commit ea6ca04a7f
25 changed files with 1159 additions and 161 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.get(`${apiBaseUrl}/webhook/single-webhook`);
check(res, {
'is status 200': (r) => r.status === 200,
});
}