Hi All,
I am pretty sure I am wrong somewhere but not able to figure out (after watsing 2 days on this).
val scn = scenario("RecordedSimulation")
.feed(patientfeeder) //has ids
.exec(session => {
val pid = session("ids").as[String]
session.set("patientid",pid) // also tried session.set("patientid",session ("ids").as[String])
print("value is ${patientid}") // Won't print patientid value
println(session ("ids").as[String]) //print the
patientid value
session}).pause(4)
I am not sure why it wouldn't print, when I give as ${patientid} . I am also trying to use it like ${patientid} in a following request and it won't resolve there as well.
Any feedback would really help !
Regards,
Maithrie