- AWS Account
- Ansible 2.5.1 - Configur machine
- Gatling.io 3.0 - Load Test Tool
- Terraform 0.11.8 - Provision machine
export PATH=$PATH:/path/to/gatling/bin/
cd ~/configs/CACHE_OPTION
terraform init
terraform plan -out tf.plan
terraform apply -auto-approve tf.plan
cd /path/to/root/of/this/project
JAVA_OPTS="-Dtarget=TERRAFORM_OUTPUT_IP" \
gatling.sh \
-sf ./testing/load/gatling \
-rf ./testing/load/gatling/results/CACHE_OPTION/ \
-s HighLoadCMS
Exp:
JAVA_OPTS="-Dtarget=35.170.196.248" ./gatling.sh -sf ./testing/load/gatling -rf ./testing/load/gatling/results/nginx_cache -s HighLoadCMS -rd 'nginx cache test 2'
terraform destroy -auto-approve
wordpress cache plugin used is WP Fastest Cache with the following settings.
[IMG HERE]
Gatling.io has an explainatin of how to interprest the results output.