INNER CODE UNIT · Python
error
akutayural/APIException · benchmark/test_app/main.py:18
async def error():
raise APIException(
error_code=TestExceptionCode.FAIL_CASE,
http_status_code=500,
status=ExceptionStatus.FAIL
)
"""
# Once dockerdan build alip docker composer i ayaga kaldirmak gerekiyor
docker-compose build --no-cache
docker-compose up
# test icin bu kodu kullanabilirsiniz
docker-compose run --user root locust \
-f /mnt/locustfile.py \
--headless -u 200 -r 10 --run-time 2m \
--host http://test_app:8000 \