@nsshunt/ststestrunner 1.0.56 → 1.0.58
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 +7 -2
- package/dist/ststestrunner.mjs.map +1 -1
- package/dist/ststestrunner.umd.js +7 -2
- package/dist/ststestrunner.umd.js.map +1 -1
- package/package.json +1 -1
- package/types/testCaseFhir02.d.ts.map +1 -1
- package/types/testCaseFhir03.d.ts.map +1 -1
- package/types/testCaseFhirBase.d.ts.map +1 -1
package/dist/ststestrunner.mjs
CHANGED
|
@@ -12779,6 +12779,7 @@ class TestCaseFhirBase {
|
|
|
12779
12779
|
};
|
|
12780
12780
|
return personRecord;
|
|
12781
12781
|
} else {
|
|
12782
|
+
console.error(`prefix: [${prefix}] index: [${index}]`);
|
|
12782
12783
|
throw new Error("this.#randomDataRecordset exhausted - no more elements.");
|
|
12783
12784
|
}
|
|
12784
12785
|
});
|
|
@@ -12803,9 +12804,9 @@ class TestCaseFhirBase {
|
|
|
12803
12804
|
for (let j2 = 0; j2 < qqq.length; j2++) {
|
|
12804
12805
|
__privateGet(this, _randomDataRecordset).push(qqq[j2]);
|
|
12805
12806
|
}
|
|
12806
|
-
console.
|
|
12807
|
+
console.error(chalk$1.magenta(__privateGet(this, _randomDataRecordset).length));
|
|
12807
12808
|
} else {
|
|
12808
|
-
console.
|
|
12809
|
+
console.error(chalk$1.magenta(`StartTestDataLoad(): Could not get person records.`));
|
|
12809
12810
|
}
|
|
12810
12811
|
await Sleep(10);
|
|
12811
12812
|
}
|
|
@@ -13273,6 +13274,8 @@ class TestCaseFhir02 extends TestCaseFhirBase {
|
|
|
13273
13274
|
this.runner.instrumentData.message.push(chalk$1.green(`Iteration: [${iteration} #authUtilsNode(): Agent Reset`));
|
|
13274
13275
|
}
|
|
13275
13276
|
const personRecord = this.GetPersonRecord(`${options.personPrefix}`, iteration);
|
|
13277
|
+
console.log(`***************************************************************`);
|
|
13278
|
+
console.log(`ID: [${personRecord.id}]`);
|
|
13276
13279
|
try {
|
|
13277
13280
|
const retVal = await this.fhirClient.CreateResource("Person", personRecord, (error) => {
|
|
13278
13281
|
this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);
|
|
@@ -13311,6 +13314,8 @@ class TestCaseFhir03 extends TestCaseFhirBase {
|
|
|
13311
13314
|
this.runner.instrumentData.message.push(chalk$1.green(`Iteration: [${iteration} #authUtilsNode(): Agent Reset`));
|
|
13312
13315
|
}
|
|
13313
13316
|
const personRecord = this.GetPersonRecord(`${options.personPrefix}`, iteration);
|
|
13317
|
+
console.log(`***************************************************************`);
|
|
13318
|
+
console.log(`ID: [${personRecord.id}]`);
|
|
13314
13319
|
const retVal = await this.fhirClient.GetResource("Person", personRecord.id, null, (error) => {
|
|
13315
13320
|
this.LogErrorMessage(`test(POST /stsresource and query using filter): ${error}`);
|
|
13316
13321
|
this.runner.instrumentData.errorCount++;
|