From 46f6fab5fde9b2bea9a912db55ab54975b07f63c Mon Sep 17 00:00:00 2001 From: Ludek Novy <13610612+ludeknovy@users.noreply.github.com> Date: Wed, 28 Jun 2023 22:09:15 +0200 Subject: [PATCH] std dev and error count displaying perc diff fix (#333) --- .../request-stats/request-stats-compare.component.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/item-detail/request-stats/request-stats-compare.component.ts b/src/app/item-detail/request-stats/request-stats-compare.component.ts index 168bc110..6be10632 100644 --- a/src/app/item-detail/request-stats/request-stats-compare.component.ts +++ b/src/app/item-detail/request-stats/request-stats-compare.component.ts @@ -252,7 +252,9 @@ export class RequestStatsCompareComponent implements OnInit, OnDestroy { bytesPerSecond: this.calculatePercDifference(_.bytesPerSecond, labelToBeCompared.bytesPerSecond), bytesSentPerSecond: this.calculatePercDifference(_.bytesSentPerSecond, labelToBeCompared.bytesSentPerSecond), errorRate: this.calculatePercDifference(_.errorRate, labelToBeCompared.errorRate), - throughput: this.calculatePercDifference(_.throughput, labelToBeCompared.throughput) + throughput: this.calculatePercDifference(_.throughput, labelToBeCompared.throughput), + failures: this.calculatePercDifference(_.failures, labelToBeCompared.failures), + standardDeviation: this.calculatePercDifference(_.standardDeviation, labelToBeCompared.standardDeviation), }; } else { this.comparisonWarning.push(`${_.label} label not found`); @@ -267,6 +269,8 @@ export class RequestStatsCompareComponent implements OnInit, OnDestroy { errorRate: null, throughput: null, bytes: null, + failures: null, + standardDeviation: null, }; } });