/rocky-locust

Web GUI to create Locust tests

Primary LanguageTypeScriptMIT LicenseMIT

Rocky Locust

Locust Java Quarkus Angular

Web GUI to create Locust test scripts

The project was separate into two parts.

  • rocky-locust-backend: The back-end is built in Java with Quarkus.
  • rocky-locust-frontend: The front-end is built in Angular and PO UI.

DEV

Exec command in rocky-locust-backend:

mvn quarkus:dev

Open http://localhost:8080

Exec commands in rocky-locust-frontend:

npm install
npm run start

Open http://localhost:3000

Build Docker Image

The Dockerfile create docker image base busybox with backend Quarkus native runner and frontend Angular build prod dist.

Build image exec command:

docker build -t rocky .

This build crate small image: image And container use little resources: image

Run Docker Image

Run image exec command:

docker run -d -p 8080:8080 rocky

Or use docker-compose exec command:

docker-compose up -d

See log exec command:

docker logs rocky -f

Open http://localhost:8080