Skip to content

Instantly share code, notes, and snippets.

@kusakawazeusu
Created August 14, 2021 08:11
Show Gist options
  • Save kusakawazeusu/37ccd268d0578f8759be37cefa38729b to your computer and use it in GitHub Desktop.
Save kusakawazeusu/37ccd268d0578f8759be37cefa38729b to your computer and use it in GitHub Desktop.
k6 simple example
import http from "k6/http";
import { sleep } from "k6";
export default function() {
http.get("http://localhost:3000");
sleep(1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment