@nsshunt/ststestrunner 1.0.3 → 1.0.5

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.
@@ -8908,7 +8908,7 @@ class TestCaseFhirBase {
8908
8908
  }));
8909
8909
  __privateGet(this, _runner2).instrumentData.authenticationCount++;
8910
8910
  }
8911
- return "";
8911
+ return __privateGet(this, _accesssToken);
8912
8912
  } catch (error) {
8913
8913
  const errorTime = performance.now() - startTime;
8914
8914
  __privateGet(this, _runner2).instrumentData.authenticationErrorCount++;
@@ -9173,12 +9173,15 @@ class TestCaseFhir02 extends TestCaseFhirBase {
9173
9173
  this.runner.instrumentData.message.push(chalk$1.green(`Iteration: [${iteration} #authUtilsNode(): Agent Reset`));
9174
9174
  }
9175
9175
  const personRecord = this.GetPersonRecord(`${options.personPrefix}`, iteration);
9176
+ console.log(chalk$1.yellow(JSON.stringify(personRecord, null, 2)));
9176
9177
  try {
9177
9178
  const retVal = await this.fhirClient.CreateResource("Person", personRecord, (error) => {
9178
9179
  this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);
9179
9180
  this.runner.instrumentData.errorCount++;
9180
9181
  });
9182
+ console.log(chalk$1.rgb(200, 100, 50)(JSON.stringify(retVal, null, 2)));
9181
9183
  } catch (error) {
9184
+ console.log(chalk$1.rgb(200, 100, 50)(error));
9182
9185
  this.runner.instrumentData.errorCount++;
9183
9186
  }
9184
9187
  this.runner.instrumentData.coreCount = 1;