@nsshunt/ststestrunner 1.1.101 → 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,9 +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._id} : ${this.#accesssToken}`));
|
|
751
752
|
console.log(chalk.default.magenta(`************************************************************************* end `));
|
|
752
753
|
};
|
|
753
754
|
HandleError = (error) => {
|
|
@@ -781,7 +782,7 @@ var TestCaseFhirBase = class {
|
|
|
781
782
|
let start = performance.now();
|
|
782
783
|
try {
|
|
783
784
|
if (this.#accesssToken) {
|
|
784
|
-
this.Debug(`TestCaseFhirBase:GetAccessToken(): ${this.#accesssToken}`);
|
|
785
|
+
this.Debug(`TestCaseFhirBase:GetAccessToken(): ${this._id} : ${this.#accesssToken}`);
|
|
785
786
|
return this.#accesssToken;
|
|
786
787
|
}
|
|
787
788
|
this.Debug(`TestCaseFhirBase:GetAccessToken(): Getting new access token`);
|