@nsshunt/ststestrunner 1.1.100 → 1.1.102
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
|
@@ -391,6 +391,7 @@ var TestCaseFhirBase = class {
|
|
|
391
391
|
#resetSocketClientTrigger = 50;
|
|
392
392
|
#clientSocketFetchCount = 0;
|
|
393
393
|
#authAgentManager;
|
|
394
|
+
_id = crypto.randomUUID();
|
|
394
395
|
retryCount = 0;
|
|
395
396
|
maxAuthRetryCount = 5;
|
|
396
397
|
runnerDurationList = [];
|
|
@@ -721,10 +722,9 @@ var TestCaseFhirBase = class {
|
|
|
721
722
|
};
|
|
722
723
|
ResetAccessToken = () => {
|
|
723
724
|
console.log(chalk.magenta(`************************************************************************* start `));
|
|
724
|
-
console.log(chalk.magenta(`Old Token: ${this.#accesssToken}`));
|
|
725
|
+
console.log(chalk.magenta(`Old Token: ${this._id} : ${this.#accesssToken}`));
|
|
725
726
|
this.#accesssToken = null;
|
|
726
|
-
console.log(chalk.magenta(`New Token: ${this.#accesssToken}`));
|
|
727
|
-
console.log(chalk.magenta(`New Token: ${this.GetAccessToken()}`));
|
|
727
|
+
console.log(chalk.magenta(`New Token: ${this._id} : ${this.#accesssToken}`));
|
|
728
728
|
console.log(chalk.magenta(`************************************************************************* end `));
|
|
729
729
|
};
|
|
730
730
|
HandleError = (error) => {
|
|
@@ -758,7 +758,7 @@ var TestCaseFhirBase = class {
|
|
|
758
758
|
let start = performance.now();
|
|
759
759
|
try {
|
|
760
760
|
if (this.#accesssToken) {
|
|
761
|
-
this.Debug(`TestCaseFhirBase:GetAccessToken(): ${this.#accesssToken}`);
|
|
761
|
+
this.Debug(`TestCaseFhirBase:GetAccessToken(): ${this._id} : ${this.#accesssToken}`);
|
|
762
762
|
return this.#accesssToken;
|
|
763
763
|
}
|
|
764
764
|
this.Debug(`TestCaseFhirBase:GetAccessToken(): Getting new access token`);
|