init project

This commit is contained in:
root
2026-04-13 13:59:26 -04:00
parent f190e6b91a
commit e26e15f98f
54 changed files with 3280 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import http from "k6/http";
import { check } from "k6";
export const options = {
vus: 5,
duration: "20s",
};
export default function () {
const payload = JSON.stringify({ query: "{ __typename }" });
const res = http.post("http://127.0.0.1:4000/graphql", payload, {
headers: { "Content-Type": "application/json" },
});
check(res, { "status 200": (r) => r.status === 200 });
}