@nsshunt/ststestrunner 1.0.4 → 1.0.6

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++;
@@ -8945,6 +8945,7 @@ class TestCaseFhirBase {
8945
8945
  }
8946
8946
  });
8947
8947
  __publicField(this, "StartTestDataLoad", async () => {
8948
+ console.log(chalk$1.magenta(`StartTestDataLoad(): Start ...`));
8948
8949
  let VU = 0;
8949
8950
  if (__privateGet(this, _runner2).options.runnerPlan) {
8950
8951
  VU = __privateGet(this, _runner2).options.runnerPlan.planVU;
@@ -8955,6 +8956,7 @@ class TestCaseFhirBase {
8955
8956
  const recordId = `stsres_${blockNum + i}`;
8956
8957
  const retVal = await __privateGet(this, _fhirClient).GetResource("Person", recordId, null, (error) => {
8957
8958
  this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);
8959
+ console.error(chalk$1.red(`StartTestDataLoad(): Error: [${error}]`));
8958
8960
  });
8959
8961
  if (retVal) {
8960
8962
  const recordsetData = retVal.address;
@@ -8964,10 +8966,13 @@ class TestCaseFhirBase {
8964
8966
  __privateGet(this, _randomDataRecordset).push(qqq[j2]);
8965
8967
  }
8966
8968
  console.log(chalk$1.magenta(__privateGet(this, _randomDataRecordset).length));
8969
+ } else {
8970
+ console.log(chalk$1.magenta(`StartTestDataLoad(): Could not person records.`));
8967
8971
  }
8968
8972
  await Sleep(10);
8969
8973
  }
8970
8974
  console.log(`Finished load for VU: [${VU}]`);
8975
+ console.log(chalk$1.magenta(`StartTestDataLoad(): End`));
8971
8976
  });
8972
8977
  __privateAdd(this, _ForcePublishTelemetryData2, async () => {
8973
8978
  await __privateGet(this, _PublishTelemetryData2).call(this);