https://github.com/zsarge/ctfd-load-test
Before hosting an event with CTFd, it's good to know the performance you can expect from your setup. This repo includes basic k6 load tests to make sure nothing topples over under high load.
https://github.com/zsarge/ctfd-load-test
Last synced: about 1 year ago
JSON representation
Before hosting an event with CTFd, it's good to know the performance you can expect from your setup. This repo includes basic k6 load tests to make sure nothing topples over under high load.
- Host: GitHub
- URL: https://github.com/zsarge/ctfd-load-test
- Owner: zsarge
- License: mit
- Created: 2023-10-16T17:23:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T21:57:00.000Z (over 2 years ago)
- Last Synced: 2025-01-27T14:49:30.924Z (over 1 year ago)
- Language: JavaScript
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ctfd-load-test
Before hosting an event with [CTFd](https://ctfd.io/), it's good to know the performance you can expect from your setup. This repo includes basic [k6 load tests](https://k6.io/docs/) to make sure nothing topples over under high load.
Load tests:
- Create user
- Submit challenge
## Getting Started
### Install k6
From the [k6.io docs](https://k6.io/docs/get-started/installation/):
```bash
sudo dnf install https://dl.k6.io/rpm/repo.rpm
sudo dnf install k6
```
## Run Tests
```bash
k6 run -e CTFD_URL=https://example.com create_user.js
k6 run -e CTFD_URL=https://example.com submit_challenge.js
```