@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.mjs
CHANGED
|
@@ -553,6 +553,17 @@ var TestCaseFhirQueryBase = class extends TestCaseFhirBase {
|
|
|
553
553
|
this.runner.instrumentData.activeRequestCount--;
|
|
554
554
|
const diff = performance.now() - start;
|
|
555
555
|
this.runner.instrumentData.duration = diff;
|
|
556
|
+
if (diff <= 5) this.runner.instrumentData.duration5++;
|
|
557
|
+
else if (diff <= 10) this.runner.instrumentData.duration10++;
|
|
558
|
+
else if (diff <= 20) this.runner.instrumentData.duration20++;
|
|
559
|
+
else if (diff <= 30) this.runner.instrumentData.duration30++;
|
|
560
|
+
else if (diff <= 50) this.runner.instrumentData.duration50++;
|
|
561
|
+
else if (diff <= 100) this.runner.instrumentData.duration100++;
|
|
562
|
+
else if (diff <= 150) this.runner.instrumentData.duration150++;
|
|
563
|
+
else if (diff <= 250) this.runner.instrumentData.duration250++;
|
|
564
|
+
else if (diff <= 500) this.runner.instrumentData.duration500++;
|
|
565
|
+
else if (diff <= 1e3) this.runner.instrumentData.duration1000++;
|
|
566
|
+
else this.runner.instrumentData.duratione++;
|
|
556
567
|
if (diff > this._longExecTimeoutVal) {
|
|
557
568
|
this.Error(chalk.red(`TestCaseFhirQueryBase:ExecuteRunner(): *** ==> Long execution: [${diff}] Completed`));
|
|
558
569
|
this.Error(chalk.red(`TestCaseFhirQueryBase:ExecuteRunner(): ==> ${this._GetDetail()}`));
|