docker-compose up
- Download and install docker
- Download and install vegeta
Run AMQP Interconnect locally
docker run -it -p 5672:5672 ceposta/qdr
Once the interconnect sever is running, you can run following to get some stats
docker ps
docker exec -it CONTAINER_ID /bin/bash
#inside container
qdstat -a
qdstat -c
qdstat -l
cd frontend
mvn clean install
java -jar target/frontend-service-full.jar
In another terminal
cd backend
mvn clean install
java -jar target/backend-service-full.jar
In third terminal
echo "GET http://localhost:8080/" | ./vegeta attack -duration=60s -rate=50 | tee results.bin | ./vegeta report