@nsshunt/ststestrunner 1.1.73 → 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,13 +553,24 @@ 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()}`));
|
|
559
570
|
this.Error(chalk.red(`TestCaseFhirQueryBase:ExecuteRunner(): ==> Note: While not specifically an error, this is logged as an error.`));
|
|
560
|
-
} else if (diff >
|
|
561
|
-
this.Debug(chalk.rgb(
|
|
562
|
-
this.Debug(chalk.rgb(
|
|
571
|
+
} else if (diff > 200) {
|
|
572
|
+
this.Debug(chalk.rgb(155, 120, 200)(`TestCaseFhirQueryBase:ExecuteRunner(): *** ==> Long execution: [${diff}] Completed`));
|
|
573
|
+
this.Debug(chalk.rgb(155, 120, 200)(`TestCaseFhirQueryBase:ExecuteRunner(): ==> ${this._GetDetail()}`));
|
|
563
574
|
}
|
|
564
575
|
const longExecTimeoutpublishTelemetry = setTimeout(() => {
|
|
565
576
|
this.Error(chalk.red(`TestCaseFhirQueryBase:ExecuteRunner(): *** ==> Long execution: [${this._longExecTimeoutVal}] for PublishTelemetry()`));
|