annotate load_test/main.py @ 196:83f16548ba41

[AI] Adding s3 bucket uploader code using Seobeo.
author MrJuneJune <me@mrjunejune.com>
date Sat, 14 Feb 2026 16:08:15 -0800
parents 1aeee370837b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
1 from locust import HttpUser, task, between
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
2
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
3 class WebsiteUser(HttpUser):
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
4 wait_time = between(1, 5)
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
5
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
6 @task(3)
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
7 def index_page(self):
1aeee370837b simple locust file to use.
June Park <parkjune1995@gmail.com>
parents:
diff changeset
8 self.client.get("/")