Skip to content

CDLUC3/mrt-locust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Merritt UI Locust Tests

This library is part of the Merritt Preservation System.

Purpose

This code enables load testing of the Merritt UI using Locust

Prerequisites

  • Install pyenv
  • Install python 3.12+ using pyenv
  • pip install locust
  • pip install bs4

To run as guest user

locust

To run as a test user (use test credentials from SSM)

export MERRITTUSER=$(aws ssm get-parameter --name /uc3/mrt/dev/integ-tests/for-stage/user --query Parameter.Value --output text)
export MERRITTPASS=$(aws ssm get-parameter --name /uc3/mrt/dev/integ-tests/for-stage/password --with-decryption --query Parameter.Value --output text)
locust

Automated Builds

See the buildspec.yml for an example of a scripted execution of this tool.

About

Load testing for the Merritt UI

Resources

Stars

Watchers

Forks

Packages

No packages published