Skip to content

Load tests#854

Open
kiniry wants to merge 6 commits intomasterfrom
load-tests
Open

Load tests#854
kiniry wants to merge 6 commits intomasterfrom
load-tests

Conversation

@kiniry
Copy link
Contributor

@kiniry kiniry commented Oct 26, 2017

Closes #350 , #351.

@nealmcb
Copy link
Contributor

nealmcb commented Oct 26, 2017

.pyc files should not be included.

@nealmcb
Copy link
Contributor

nealmcb commented Oct 26, 2017

It seems like we should not capture the reset time in the timing for each script.

@kiniry
Copy link
Contributor Author

kiniry commented Oct 26, 2017

External timing on the scripts presumes an empty DB. I have been using some shell scripting to narrow log messages to get the precise timings you have seen in the load testing spreadsheet. I will add a someday issue to improve this and make it fully automated.

@@ -0,0 +1,8 @@
#!/bin/sh
./main.py -u http://192.168.24.43/api/ reset dos_init > 0.log
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to replace these scripts with scripts that take a command line parameter for the hostname?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A parameter would be better. Or my approach in autotest2.sh is to pass an environment variable, $URL.

Copy link
Contributor

@nealmcb nealmcb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR provides a variety of scripts and data files for testing performance of the full system. Future enhancements should focus on parallel entry of ACVRs from multiple counties at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants