Magnus Jensen
Magnus Jensen

Reputation: 993

Gatling ElFileBody and parameter + static test

I want to parameterize just the NIN (05129996961) in this example (I have it in session).

 "subject": {
            "reference": "urn:uuid:c1015cfa-d6b6-4f06-8150-ced7dbea759c",
            "type": "http://xxx/fhir/StructureDefinition/sfm-Patient",
            "display": "Patient 05129996961"
          },

Is there a way to say i.e. "display": "Patient + ${nin}" or something similar in the ElFileBody?

Upvotes: 1

Views: 155

Answers (1)

Stéphane LANDELLE
Stéphane LANDELLE

Reputation: 6623

Plain old Gatling EL:

 "subject": {
            "reference": "urn:uuid:c1015cfa-d6b6-4f06-8150-ced7dbea759c",
            "type": "http://xxx/fhir/StructureDefinition/sfm-Patient",
            "display": "Patient #{nin}"
          },

Upvotes: 2

Related Questions