Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.18 KB

File metadata and controls

46 lines (30 loc) · 1.18 KB

Usage

Pre-req's:

Usage

Configurations / Setup

export PATH=$PATH:/path/to/gatling/bin/

cd ~/configs/CACHE_OPTION
terraform init
terraform plan -out tf.plan

Execution

terraform apply -auto-approve tf.plan

Test

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'

Tear down

terraform destroy -auto-approve

Notes

wordpress cache plugin used is WP Fastest Cache with the following settings.

[IMG HERE]

Report Reading

Gatling.io has an explainatin of how to interprest the results output.