@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.mjs
CHANGED
|
@@ -1002,7 +1002,8 @@ var TestCaseFhirBase = class {
|
|
|
1002
1002
|
ResetClient = () => {};
|
|
1003
1003
|
GetRandomSequenceFromIteration = () => {
|
|
1004
1004
|
if (this.runner.iteration === 1) {
|
|
1005
|
-
const
|
|
1005
|
+
const { workerIndex, runnerIndex } = this.#runner.options;
|
|
1006
|
+
const seedId = `seed-${workerIndex}-${runnerIndex}`;
|
|
1006
1007
|
this.randomSequence = getRandomIterationOrder(this.runner.options.executionProfile.iterations, seedId);
|
|
1007
1008
|
}
|
|
1008
1009
|
return this.randomSequence[this.runner.iteration];
|
|
@@ -1087,7 +1088,7 @@ var TestCaseFhirBase = class {
|
|
|
1087
1088
|
const useId = `${prefix}-${index}`;
|
|
1088
1089
|
let firstName;
|
|
1089
1090
|
let lastName;
|
|
1090
|
-
const name = this.runnerExecutionWorker.resourceDataGenerator.GetFakerName(
|
|
1091
|
+
const name = this.runnerExecutionWorker.resourceDataGenerator.GetFakerName(index);
|
|
1091
1092
|
firstName = name.firstName;
|
|
1092
1093
|
lastName = name.lastName;
|
|
1093
1094
|
return {
|
|
@@ -1099,7 +1100,7 @@ var TestCaseFhirBase = class {
|
|
|
1099
1100
|
use: `usual`
|
|
1100
1101
|
}],
|
|
1101
1102
|
text: {
|
|
1102
|
-
div: `New Record ${
|
|
1103
|
+
div: `New Record ${index}`,
|
|
1103
1104
|
status: "generated"
|
|
1104
1105
|
},
|
|
1105
1106
|
meta: {
|
|
@@ -1320,7 +1321,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1320
1321
|
const client = await this.GetClient();
|
|
1321
1322
|
const __snapshot2 = this._CheckOutputLongDurationError(__snapshot1, "await this.GetClient()");
|
|
1322
1323
|
const prefix = this.runner.options.personPrefix;
|
|
1323
|
-
const personRecord = await this.GetPersonRecord(prefix, this.
|
|
1324
|
+
const personRecord = await this.GetPersonRecord(prefix, this.runner.iteration, "1");
|
|
1324
1325
|
const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
|
|
1325
1326
|
const retVal = await client.PostResource("Person", personRecord);
|
|
1326
1327
|
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|