-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleared the routing of canvas,annotation_page and annotation
- Loading branch information
Showing
11 changed files
with
1,029 additions
and
182 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from locust import HttpUser,task,between | ||
from locust.stats import global_stats | ||
import random | ||
manifest_ids = ["69429/g05t3fx73x7t"] | ||
class AppUser(HttpUser): | ||
wait_time = between(2,5) | ||
|
||
def on_start(self) -> None: | ||
""" | ||
Clear statistics at the start of the test. | ||
""" | ||
global_stats.reset_all() | ||
|
||
@task | ||
def get_files(self): | ||
manifest_id = random.choice(manifest_ids) | ||
self.client.get("/manifest/" + str(manifest_id)) |
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
Oops, something went wrong.