Skip to content
No description, website, or topics provided.
Java HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dependabot
application-monitoring
deployment
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

Testing Architecture Demo

Demo for the workshop "Softwarearchitektur automatisiert testen" at Software Architecture Summit 2019 in Berlin. Download Slides

Used Software

Application

mvn clean install
mvn spring-boot:run

Application URL: http://localhost:8080/hero

API for Prometheus: http://localhost:8080/actuator/prometheus

Application Monitoring

cd application-monitoring
docker-compose up

Start Prometheus and Grafana

Grafana: http://localhost:3000
Username: admin
Passwort: pass

Prometheus: http://localhost:9090

Simulation Application Requests

siege -c 100 http://localhost:8080/hero 

siege -c 50 -u "http://localhost:8080/hero/new POST hero.name=wonderwoman&hero.city=London&hero.universum=MARVEL&repository=duplicateHeroRepository"
siege -c 20 -u "http://localhost:8080/hero/new POST hero.name=ironfist&hero.city=NewYork&hero.universum=MARVEL&repository=uniqueHeroRepository" 

You can’t perform that action at this time.