@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.cjs
CHANGED
|
@@ -415,6 +415,7 @@ var TestCaseFhirBase = class {
|
|
|
415
415
|
#resetSocketClientTrigger = 50;
|
|
416
416
|
#clientSocketFetchCount = 0;
|
|
417
417
|
#authAgentManager;
|
|
418
|
+
_id = crypto.randomUUID();
|
|
418
419
|
retryCount = 0;
|
|
419
420
|
maxAuthRetryCount = 5;
|
|
420
421
|
runnerDurationList = [];
|
|
@@ -745,10 +746,9 @@ var TestCaseFhirBase = class {
|
|
|
745
746
|
};
|
|
746
747
|
ResetAccessToken = () => {
|
|
747
748
|
console.log(chalk.default.magenta(`************************************************************************* start `));
|
|
748
|
-
console.log(chalk.default.magenta(`Old Token: ${this.#accesssToken}`));
|
|
749
|
+
console.log(chalk.default.magenta(`Old Token: ${this._id} : ${this.#accesssToken}`));
|
|
749
750
|
this.#accesssToken = null;
|
|
750
|
-
console.log(chalk.default.magenta(`New Token: ${this.#accesssToken}`));
|
|
751
|
-
console.log(chalk.default.magenta(`New Token: ${this.GetAccessToken()}`));
|
|
751
|
+
console.log(chalk.default.magenta(`New Token: ${this._id} : ${this.#accesssToken}`));
|
|
752
752
|
console.log(chalk.default.magenta(`************************************************************************* end `));
|
|
753
753
|
};
|
|
754
754
|
HandleError = (error) => {
|
|
@@ -782,7 +782,7 @@ var TestCaseFhirBase = class {
|
|
|
782
782
|
let start = performance.now();
|
|
783
783
|
try {
|
|
784
784
|
if (this.#accesssToken) {
|
|
785
|
-
this.Debug(`TestCaseFhirBase:GetAccessToken(): ${this.#accesssToken}`);
|
|
785
|
+
this.Debug(`TestCaseFhirBase:GetAccessToken(): ${this._id} : ${this.#accesssToken}`);
|
|
786
786
|
return this.#accesssToken;
|
|
787
787
|
}
|
|
788
788
|
this.Debug(`TestCaseFhirBase:GetAccessToken(): Getting new access token`);
|