openhealthcare/loadtesting

Name: loadtesting

Owner: Open Health Care

Description: Loadtesting scripts and utilities for OHC projects

Created: 2016-04-06 17:11:19.0

Updated: 2016-04-06 17:11:40.0

Pushed: 2016-04-13 12:24:25.0

Homepage: null

Size: 3

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

loadtesting

Loadtesting scripts and utilities for OHC projects

Our users like it when we make things that feel fast.

Project: elCID@UCH

Effectively loadtesting elCID@UCH involves us creating realistic simulations of two components - our users, and the upstream data sources that we integrate with.

The user simulations are performed from the Funkload test cases in this repo, while the custom Gloss load tests live there (for now).

The funkload tests are configured in the file elCID.conf. This file sets the target hostname, as well as the number of concurrent users and length of cycles. Do consult the Funkload documentation, source code, or conduct experiments for further detail.

To run:

cd ./gloss
# Simulate upstream data for a duration of 8 minutes 
# with a max throughput of 600 messages/second
python gloss/tests/load_test.py -d 8 -t 600 

# In a separate shell
cd ./loadtesting
# Runs the test_daily method of the class elCID in the file elcid_test.py
fl-run-bench elcid_test.py elCID.test_daily

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.