-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Result Widget has confusing number of virtual users #206
Comments
I found an example in Taurus of them separating the two result graphs for Hits and Response Times I've made some changes to my widgets to emulate these two graphs: |
This is very comprehensive. Thanks for the analysis. I will go over it and update you on this. |
Addition: As a quick hack in my own metrics, I added a line for "engines" as "TIME_SERIES(4)" when I have 4 tasks, and then defined the Virtual Users to be "AVG([numVu0]) * engines" |
Describe the bug
After a test run, the results include an image of the main test parameters from a cloudwatch widget (for me, related to just region eu-west-2).
In a calibration run, setting the concurrency to 10, I expect to see this in the metrics as a nice steady line of 10, preceeded by a steady ramp.
Instead I get a line that jumps around, but is of the order of 200.
The logfile from Taurus consistently logs "10 vu" after the initial ramp up, but the logging interval varies from 5s down to 2s.
If I examine cloudwatch directly, I can simulate the view presented amongst the results, when the "virtual users" statistic is set to Sum.
I can get the correct graph by changing the statistic to "Average", "Minimum" or "Maximum".
"Sum" is the wrong statistic to use for VU, as there are multiple samples per minute. It is correct for the "Successes" and "Failures" counts.
However, once corrected, the "Virtual Users" count does not have the right size/scale to be properly visible using the right-hand y-axis (much smaller value than "Successes"; I suggest that the result be made into two graphs - but I'm not sure if cloudwatch can generate a single widget in this manner.
I suggest a fix around line 403 in results-parser/lib/parser/index.js from:
to:
but I'm not able to test, and I'm not sure of the impact to the other image, which brings me to the final point...
I am testing with a single region, and can only see the results image for that region. I can see that DLT has generated a "total" image as well, and I can see that the code changes some of the metric calculations ... but I can't get the DLT web GUI to display that "total" image.
To Reproduce
My test script happens to generate 23,000 requests in the 95 minutes (240 requests/min)
Expected behavior
Please complete the following information about the solution:
Screenshots
There is nothing visible because it sets the period to 10s
Additional context
The text was updated successfully, but these errors were encountered: