@nsshunt/ststestrunner 1.0.3 → 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.
package/dist/ststestrunner.mjs
CHANGED
|
@@ -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;
|