Created
November 14, 2019 20:23
-
-
Save ppcano/64036120262e20f64d1b2e37cf4208f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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