aboutsummaryrefslogtreecommitdiff
path: root/contrib/locust/locustfile.py
blob: ca4e4d98da89e50a90d8c466d87be3fc21af88be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from locust import HttpUser, task

class HelloWorldUser(HttpUser):
    @task
    def index(self):
        self.client.get("/")

    @task
    def posts(self):
        self.client.get("/posts/2021-12-28K8S_private_gitlab_registry_using_podman.md")
        self.client.get("/posts/2021-12-26Enable_NFS_on_K3S.md")
        self.client.get("/posts/2020-08-22Moving_from_Github_to_Gilab_pages.md")
        self.client.get("/posts/2020-07-14Friz_box_turned_off_DHCP.md")
        self.client.get("/posts/2020-07-12Road_to_local_K3S.md")
        self.client.get("/posts/2019-11-16Compiling_emacs_from_source_code_on_fedora.md")
        self.client.get("/posts/2019-04-22Automating_desktop_setup_with_ansible-pull_part-2.md")
        self.client.get("/posts/2019-03-07Automating_desktop_setup_with_ansible-pull_part-1.md")