@nsshunt/ststestrunner 1.1.74 → 1.1.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ststestrunner.cjs
CHANGED
|
@@ -576,6 +576,17 @@ var TestCaseFhirQueryBase = class extends TestCaseFhirBase {
|
|
|
576
576
|
this.runner.instrumentData.activeRequestCount--;
|
|
577
577
|
const diff = performance.now() - start;
|
|
578
578
|
this.runner.instrumentData.duration = diff;
|
|
579
|
+
if (diff <= 5) this.runner.instrumentData.duration5++;
|
|
580
|
+
else if (diff <= 10) this.runner.instrumentData.duration10++;
|
|
581
|
+
else if (diff <= 20) this.runner.instrumentData.duration20++;
|
|
582
|
+
else if (diff <= 30) this.runner.instrumentData.duration30++;
|
|
583
|
+
else if (diff <= 50) this.runner.instrumentData.duration50++;
|
|
584
|
+
else if (diff <= 100) this.runner.instrumentData.duration100++;
|
|
585
|
+
else if (diff <= 150) this.runner.instrumentData.duration150++;
|
|
586
|
+
else if (diff <= 250) this.runner.instrumentData.duration250++;
|
|
587
|
+
else if (diff <= 500) this.runner.instrumentData.duration500++;
|
|
588
|
+
else if (diff <= 1e3) this.runner.instrumentData.duration1000++;
|
|
589
|
+
else this.runner.instrumentData.duratione++;
|
|
579
590
|
if (diff > this._longExecTimeoutVal) {
|
|
580
591
|
this.Error(chalk.default.red(`TestCaseFhirQueryBase:ExecuteRunner(): *** ==> Long execution: [${diff}] Completed`));
|
|
581
592
|
this.Error(chalk.default.red(`TestCaseFhirQueryBase:ExecuteRunner(): ==> ${this._GetDetail()}`));
|