fix: use artillery v2 report format #1986
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Related to #1888
Mixpanel reporter update. Old reporter wasn't working anymore due to changes in Artillery's
stats
event configuration. I've adjusted it so it breaks down the v2 report format into properties and sends them to Mixpanel.Testing
I've tested manually with different scripts and combinations to make sure everything is formatted properly and that the events arrive as they should to Mixpanel and in those tests I did not notice any issues.
NOTE
I do have to note that I am not a Mixpanel user and therefore do not have further insight into what exact information and in which format would be most beneficial to send. For instance if maybe sending information per scenario and not per reporting period would be better.
The previous version just sent the intermediate reports at every reporting period, and since it was created by a user, I opted to replicate that same behaviour. If any users were to suggest any change or addition I would be happy to adjust it.
Screenshots