@nsshunt/ststestrunner 1.1.114 → 1.1.116
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
|
@@ -1006,7 +1006,7 @@ var TestCaseFhirBase = class {
|
|
|
1006
1006
|
const seedId = `seed-${workerIndex}-${runnerIndex}`;
|
|
1007
1007
|
this.randomSequence = getRandomIterationOrder(this.runner.options.executionProfile.iterations, seedId);
|
|
1008
1008
|
}
|
|
1009
|
-
return this.randomSequence[this.runner.iteration];
|
|
1009
|
+
return this.randomSequence[this.runner.iteration - 1];
|
|
1010
1010
|
};
|
|
1011
1011
|
Error = (message) => {
|
|
1012
1012
|
this.#runnerExecutionWorker.logger.error(message);
|
|
@@ -1088,7 +1088,7 @@ var TestCaseFhirBase = class {
|
|
|
1088
1088
|
const useId = `${prefix}-${index}`;
|
|
1089
1089
|
let firstName;
|
|
1090
1090
|
let lastName;
|
|
1091
|
-
const name = this.runnerExecutionWorker.resourceDataGenerator.GetFakerName(
|
|
1091
|
+
const name = this.runnerExecutionWorker.resourceDataGenerator.GetFakerName(index);
|
|
1092
1092
|
firstName = name.firstName;
|
|
1093
1093
|
lastName = name.lastName;
|
|
1094
1094
|
return {
|
|
@@ -1100,7 +1100,7 @@ var TestCaseFhirBase = class {
|
|
|
1100
1100
|
use: `usual`
|
|
1101
1101
|
}],
|
|
1102
1102
|
text: {
|
|
1103
|
-
div: `New Record ${
|
|
1103
|
+
div: `New Record ${index}`,
|
|
1104
1104
|
status: "generated"
|
|
1105
1105
|
},
|
|
1106
1106
|
meta: {
|
|
@@ -1321,7 +1321,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1321
1321
|
const client = await this.GetClient();
|
|
1322
1322
|
const __snapshot2 = this._CheckOutputLongDurationError(__snapshot1, "await this.GetClient()");
|
|
1323
1323
|
const prefix = this.runner.options.personPrefix;
|
|
1324
|
-
const personRecord = await this.GetPersonRecord(prefix, this.
|
|
1324
|
+
const personRecord = await this.GetPersonRecord(prefix, this.runner.iteration, "1");
|
|
1325
1325
|
const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
|
|
1326
1326
|
const retVal = await client.PostResource("Person", personRecord);
|
|
1327
1327
|
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|