Skip to content

cloudhubs/microservice-tests

 
 

Repository files navigation

Capstone-Project5

DevOps: Stress, Load, and Functional tests for OSS Microservices

The aim of our project was to develop comprehensive tests for the TrainTicket and eShopOnContainers microservices, specifically covering load and functional regression testing using Gatling and Selenium, respectively.

For this project, we are using the microservices TrainTicket and eShopOnContainers.

To run the eShopOnContainers microservice using Docker, run the makefile.

  • make build - builds the main application and eShopOnContainers
    • To build just eshop: make build-eshop
    • To build just react app: make build-react
  • make - runs main application and eShopOnContainers
    • To run just eshop: make eshop
    • To run just react app: make react
  • make stop - stops the containers on Docker

To run TrainTicket 1.0.1, use the following instructions.

Access the React App (frontend):

eShopOnContainers Health Check:

eShopOnContainers Main View:

Installation Information for Tools

  • Minikube
  • kubectl
    • Use binary using curl
    • curl.exe -LO "https://dl.k8s.io/release/v1.26.0/bin/windows/amd64/kubectl.exe"
  • Helm
    • Best: use scoop to install
    • Scoop
  • NGINX Ingress Controller
    • Used for eShopOnContainers
    • Install using kubectl
    • kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.1/deploy/static/provider/cloud/deploy.yaml

Main Contributions

  1. Provided an open-source example of automated functional regression tests and load tests for microservice systems, as previous published examples are not sufficient
  2. Produced an initial set of comprehensive tests for a proposed benchmark of well-established microservice systems
  3. Demonstrated how a business process reconstruction can be used as a way to validate test scenarios

Developed by Ethan Robinson, Timmy Frederiksen, Trae Stevens and Sheldon Smith.

Project Walkthrough

YouTube Link: https://youtu.be/flkiH4gcPZ4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 98.5%
  • Other 1.5%