Skip to content

Commit

Permalink
feat(loadtest): add support for loadtesting
Browse files Browse the repository at this point in the history
  • Loading branch information
NishantJoshi00 committed Oct 31, 2023
1 parent bb4942c commit fcb0428
Show file tree
Hide file tree
Showing 8 changed files with 1,807 additions and 0 deletions.
20 changes: 20 additions & 0 deletions loadtest/Makefile
@@ -0,0 +1,20 @@
CORES = 1

build:
cd .. && docker build -t locker .

start:
export CORES=$(CORES); \
SCRIPT='http-rs.js' \
docker compose up -d
echo "http://localhost:3000/d/k6/k6-load-testing-results?orgId=1&refresh=5s"

test:
export CORES=$(CORES); \
SCRIPT='http-rs.js' \
docker compose up k6

stop:
export CORES=$(CORES); \
SCRIPT='http-rs.js' \
docker compose down
Empty file added loadtest/README.md
Empty file.

0 comments on commit fcb0428

Please sign in to comment.