Performance Testing

Performance testing and monitoring allow us to have confidence that the platform will continue to operate well under load and that people using the system see it as responsive.

Measuring performance

Initial performance testing uses JMeter https://jmeter.apache.org/

Performance Testing Environment

https://gamma.voluntarily.nz

Gamma is a dedicated AWS ECS cluster setup to be comparable with the live production deployment cluster. it is then populated with large numbers of automatically generated data for organisations, people, members, activities, opportunities and interests.

Populating the database is via the x/db/perf/initPlatform script and requires a MONGODB_URI including credentials to act as a client to the gamma database.

Population scripts can take several hours to run and I use an AWS EC2 instance to run this in the background.

Setup an EC2 instance to run performance database setup scripts

Tests and Reports