Notice
Recent Posts
Recent Comments
Link
250x250
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 블록체인
- polygon
- AWS
- WSL
- exceljs
- Kaikas
- Python
- Ai
- docker
- 오블완
- Remix
- Laravel
- PM2
- 티스토리챌린지
- React
- 배포
- threejs
- nft
- chatGPT
- CSS
- NextJS
- 회고
- huggingface
- nginx
- 라라벨
- metamask
- node
- miniconda
- netfunnel
- jquery
Archives
- Today
- Total
목록locust (1)
박주니 개발 정리

1. Locust를 설치합니다. pip install locust 2. locustfile.py를 생성하고 테스트 스크립트를 작성합니다. from locust import HttpUser, TaskSet, task, betweenclass UserBehavior(TaskSet): @task(1) def get_example(self): # GET 요청 예시 self.client.get("/api/example") @task(2) def post_example(self): # POST 요청 예시 self.client.post("/api/example", json={"key": "value"}) @task(3) def put_..
python
2024. 9. 4. 17:47