@nsshunt/ststestrunner 1.0.2 → 1.0.4

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.
@@ -9142,7 +9142,8 @@ var __privateWrapper = (obj, member, setter, getter) => ({
9142
9142
  if (this.runner.instrumentData.requestCount % options.agentResetMod === 0) {
9143
9143
  this.runner.instrumentData.message.push(chalk$1.green(`Iteration: [${this.runner.iteration} #authUtilsNode(): Agent Reset`));
9144
9144
  }
9145
- await this.GetAccessToken();
9145
+ const retVal = await this.GetAccessToken();
9146
+ this.Debug(`ExecuteRunner(): RetVal: [${retVal}]`);
9146
9147
  this.accesssToken = null;
9147
9148
  this.runner.instrumentData.coreCount = 1;
9148
9149
  this.runner.instrumentData.requestCount++;
@@ -9174,12 +9175,15 @@ var __privateWrapper = (obj, member, setter, getter) => ({
9174
9175
  this.runner.instrumentData.message.push(chalk$1.green(`Iteration: [${iteration} #authUtilsNode(): Agent Reset`));
9175
9176
  }
9176
9177
  const personRecord = this.GetPersonRecord(`${options.personPrefix}`, iteration);
9178
+ console.log(chalk$1.yellow(JSON.stringify(personRecord, null, 2)));
9177
9179
  try {
9178
9180
  const retVal = await this.fhirClient.CreateResource("Person", personRecord, (error) => {
9179
9181
  this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);
9180
9182
  this.runner.instrumentData.errorCount++;
9181
9183
  });
9184
+ console.log(chalk$1.rgb(200, 100, 50)(JSON.stringify(retVal, null, 2)));
9182
9185
  } catch (error) {
9186
+ console.log(chalk$1.rgb(200, 100, 50)(error));
9183
9187
  this.runner.instrumentData.errorCount++;
9184
9188
  }
9185
9189
  this.runner.instrumentData.coreCount = 1;