13 lines
251 B
Python
13 lines
251 B
Python
from locust import FastHttpUser, task
|
|
|
|
from api import BackendApi
|
|
|
|
class HealthGet(FastHttpUser):
|
|
api: BackendApi
|
|
|
|
@task
|
|
def user_create_test(self):
|
|
self.api.health_get()
|
|
|
|
def on_start(self):
|
|
self.api = BackendApi(self) |