Skip to content

Instantly share code, notes, and snippets.

View bubbajoe's full-sized avatar
🏠
Working from home

Joe Williams bubbajoe

🏠
Working from home
View GitHub Profile
@bubbajoe
bubbajoe / script.js
Created March 8, 2024 23:32 — forked from tetebueno/script.js
K6 website test
import http from 'k6/http';
import { check, sleep } from 'k6';
export const URL = 'https://test.k6.io';
export default function () {
let res = http.get(URL);
check(res, {
'resource returns status 200': (r) => r.status === 200,
});