Closed hannahhoward closed 1 year ago
I have since updated the way the summary json files are saved. In fact, the new way that makes the file contents easier to distinguish for humans might make this ticket harder. PR can be found here #10
We could trash the entire out
directory on subsequent runs. If we do that, then you can basically just read every json file in a test directory without having to know the details of it's name.
What
At the end of a load tests, we want to aggregate overall results from various test runs into a CSV, where each row contains:
parameters
results *
Suggested implementation
At the end of
loadtest.sh
, run a program that:Use any programming language you like, though probably recommend node.
Alternate implementation idea
dig the various values out directly in handleSummary() the only issue is that return values for handleSummary overwrite previous values you might try reading in the current CSV into a SharedArray during the init context, and then appending only the last row in handle summary before rewriting.
Acceptance Criteria
At the end of running loadtest.sh, a CSV is generated in the requested format
Including headers would be nice as well.