On occasion it can be useful to compare test reports to each other and examine any differences in reported results. In BlazeMeter, test reports for two different tests or two executions of the same test can easily be compared to each other.
Setup the Comparison
To begin, open one of the reports you want to compare, then click the "..." button to the right of the test report name to open a sub-menu from which you can click the "Compare Report" option:
The Test Runs Comparison page will appear, which will initially show only the test from which you launched the comparison from. Click the "Add Test Runs" button to select a test to compare it to:
A prompt will appear from which you can select the test run for comparison. First, select the project the test belongs to, then the test, then the test run you want to compare. Click the "Add" button to confirm your selections. As noted in the menu, you can compare up to 10 test runs (though for the purposes of this demonstration, we'll stick to two):
You'll be taken back to the Test Runs Comparison view, where you'll now see both tests shown:
The view will immediately populate with data from both reports, each represented by a different color line in each graph:
Filter by Labels
If you would like finer control over what report data is actually included in the comparison, you can use the "Add Labels" button to filter results based on the label names you included in your test script (the default selection is "ALL", meaning all labels or all report data):
Adjust Resolution
You have the option to configure the graphs to measure by minutes or seconds using the "Resolution" drop-down menu:
Export Graphs
Each individual graph can be exported to one of several formats by clicking the three horizontal bars in the top-right corner of the graph:
0 Comments