Skip to content

GrooveCommunity/e2e-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E2E Test Tool Benchmark

This tool runs a pool of Cypress processes in a Kubernetes cluster along with tools to collect, store and visualize their performance.

Architecture

Architecture

Dependencies

Installing

Init kind cluster:

kind create cluster

Inside cypress directory:

docker build . -t cypress-test:latest
kind load docker-image cypress-test:latest

Inside vector directory:

docker build . -t cypress-vector:latest
kind load docker-image cypress-vector:latest

Running the benchmark

Edit the file helm/values.yaml to suit your benchmark scenario (target URL, number of concurrent Cypress agents etc).

Inside helm directory:

helm upgrade --install cypress-test .

Visualizing benchmark metrics on Grafana

Run on a separate shell:

kubectl port-forward service/cypress-test-grafana 8080:80

Open the URL http://localhost:8080 in a browser

Log in with user admin and password prom-operator

Find and open the dashboard called Cypress

Grafana

Available metrics are (per Cypress agent):

  • Visited pages per second
  • Total visited pages
  • CPU usage

Cleaning up

kind delete cluster

About

Boilerplate to measure performance of E2E test tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published