# Chạy từ thư mục d:\cnf\chatbot_canifa\backend\hehe

# 1. Khởi động Server (4 Workers)
python api_server_perf.py

# 2. Chạy Locust Test (500 Users)
locust -f locustfile_production.py --host=http://localhost:8000 --headless -u 500 -r 20 --run-time 1m --html report.html

# 3. Lệnh "trảm" process nếu bị treo
Stop-Process -Name python -Force