Skip to content

Instantly share code, notes, and snippets.

@ppcano
Created November 14, 2019 20:23
Show Gist options
  • Save ppcano/64036120262e20f64d1b2e37cf4208f9 to your computer and use it in GitHub Desktop.
Save ppcano/64036120262e20f64d1b2e37cf4208f9 to your computer and use it in GitHub Desktop.
import { sleep } from "k6";
import http from "k6/http";
export let options = {
duration: "1m",
vus: 50,
thresholds: {
http_req_duration: ["p(95)<500"]
}
};
export default function() {
let res = http.get("https://test-api.loadimpact.com/public/crocodiles/");
sleep(3);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment