Automated Testing Pyramid

Stress test

  • jmeter - Apache JMeter to load test functional behavior and measure performance
  • ab - Apache HTTP server benchmarking tool

5 clients 1000 times

ab -c 5 -n 1000 [url]

Usually what you get per service at least 4000 transactions per second. 4000-7000 per second per service.

What it means in practice in real world is that application service scalability is never the issue, the problem is always the database.

If the database is not scaled, the more application servers you will start upfront everyone will meet the backend and this usually probably causes problems.

Code Coverage

  • JaCoCo - Java Code Coverage Library
        <!--  implementation is needed only for Maven 2  -->
        <rule implementation="org.jacoco.maven.RuleConfiguration">
            <!--  implementation is needed only for Maven 2  -->
            <limit implementation="org.jacoco.report.check.Limit">