@nsshunt/ststestrunner 1.1.113 → 1.1.115
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.cjs
CHANGED
|
@@ -1007,7 +1007,8 @@ var TestCaseFhirBase = class {
|
|
|
1007
1007
|
ResetClient = () => {};
|
|
1008
1008
|
GetRandomSequenceFromIteration = () => {
|
|
1009
1009
|
if (this.runner.iteration === 1) {
|
|
1010
|
-
const
|
|
1010
|
+
const { workerIndex, runnerIndex } = this.#runner.options;
|
|
1011
|
+
const seedId = `seed-${workerIndex}-${runnerIndex}`;
|
|
1011
1012
|
this.randomSequence = getRandomIterationOrder(this.runner.options.executionProfile.iterations, seedId);
|
|
1012
1013
|
}
|
|
1013
1014
|
return this.randomSequence[this.runner.iteration];
|
|
@@ -1092,7 +1093,7 @@ var TestCaseFhirBase = class {
|
|
|
1092
1093
|
const useId = `${prefix}-${index}`;
|
|
1093
1094
|
let firstName;
|
|
1094
1095
|
let lastName;
|
|
1095
|
-
const name = this.runnerExecutionWorker.resourceDataGenerator.GetFakerName(
|
|
1096
|
+
const name = this.runnerExecutionWorker.resourceDataGenerator.GetFakerName(index);
|
|
1096
1097
|
firstName = name.firstName;
|
|
1097
1098
|
lastName = name.lastName;
|
|
1098
1099
|
return {
|
|
@@ -1104,7 +1105,7 @@ var TestCaseFhirBase = class {
|
|
|
1104
1105
|
use: `usual`
|
|
1105
1106
|
}],
|
|
1106
1107
|
text: {
|
|
1107
|
-
div: `New Record ${
|
|
1108
|
+
div: `New Record ${index}`,
|
|
1108
1109
|
status: "generated"
|
|
1109
1110
|
},
|
|
1110
1111
|
meta: {
|
|
@@ -1325,7 +1326,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1325
1326
|
const client = await this.GetClient();
|
|
1326
1327
|
const __snapshot2 = this._CheckOutputLongDurationError(__snapshot1, "await this.GetClient()");
|
|
1327
1328
|
const prefix = this.runner.options.personPrefix;
|
|
1328
|
-
const personRecord = await this.GetPersonRecord(prefix, this.
|
|
1329
|
+
const personRecord = await this.GetPersonRecord(prefix, this.runner.iteration, "1");
|
|
1329
1330
|
const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
|
|
1330
1331
|
const retVal = await client.PostResource("Person", personRecord);
|
|
1331
1332
|
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|