Welcome to mirror list, hosted at ThFree Co, Russian Federation.

k6.js « load « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 550acfa80747ad6b284f2dd0667aa688882ade52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import http from "k6/http";
import { check, sleep } from "k6";

export let options = {
    stages: [
        { duration: "30s", target: 1000 },
    ]
};

export default function() {
    let res = http.get("https://staging.gitlab.com/gitlab-qa-perf-sandbox-1ac92fcc40c4cfe1/my-test-project-1d8efe186f9da839/merge_requests/31");
    check(res, {
        "status was 200": (r) => r.status == 200
    });
    sleep(1);
};