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