Skip to content

Load and performance testing scripts for AWS/GCP, with Docker and Kubernetes deployment files for a Mattermost preview app. Includes stress, spike, smoke, and load testing using K6.

Notifications You must be signed in to change notification settings

dineshuday/Cloud-Performance-Test

Repository files navigation

Cloud-Performance-Test

This repository contains load testing scripts for AWS and GCP platforms, along with deployment files for a Mattermost Docker preview application and Kubernetes deployment.


Contents

  • Load Testing Scripts: Scripts for load, smoke, spike, and stress testing on AWS and GCP.
  • Mattermost Docker Preview: Files required to build and deploy the Mattermost Docker image.
  • Kubernetes Deployment: YAML file for deploying the application on any Kubernetes cluster.

Load Testing Scripts

These include:

  • Load Testing
  • Smoke Testing
  • Spike Testing
  • Stress Testing

Mattermost Docker Preview

The folder mattermost-docker-preview contains all files needed to build the Docker image.

Build Docker Image

Edit the docker build command based on your machine architecture. For example:

docker buildx build --platform=linux/amd64 -t test-mattermost:latest .

The latest image of the application is available on Docker Hub: https://hub.docker.com/repository/docker/siva1998/elg-5164-mattermost/general


Running K6 Load Testing Scripts

  1. Pull the K6 Docker image:
docker pull grafana/k6
  1. Run your test script (example with scriptgcp.js):
docker run --rm -i grafana/k6 run - < scriptgcp.js

Kubernetes Deployment

The file deployment-kube.yaml can be used to deploy the application to any Kubernetes cluster.

kubectl apply -f deployment-kube.yaml

New Relic Agent Integration

To monitor your Kubernetes cluster, you can install the New Relic agent using Helm. Follow the steps outlined in the official New Relic documentation for detailed instructions.


If you have any questions or need further assistance, feel free to open an issue.


About

Load and performance testing scripts for AWS/GCP, with Docker and Kubernetes deployment files for a Mattermost preview app. Includes stress, spike, smoke, and load testing using K6.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •