You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
310 B
15 lines
310 B
import { sleep } from"k6";
|
|
import http from "k6/http";
|
|
|
|
export let options = {
|
|
duration: "1m",
|
|
vus: 50,
|
|
thresholds: {
|
|
http_req_duration: ["p(95)<500"] // 95 percent of response times must be below 500ms
|
|
}
|
|
};
|
|
|
|
export default function() {
|
|
http.get("http://test.k6.io/contacts.php");
|
|
sleep(3);
|
|
};
|