HI Team
…
.check(jsonPath("$…containers[0].containerNumber").exists)
.check(jsonPath("$…containers[*].containerNumber").findAll.saveAs(“containerList”))
}.exec {
session =>
concatenateFulfillOrderId(session(“fulfillOrderId”).as[String])
session
}
def concatenateFulfillOrderId(fulfillOrderId:String) =
{
val value = fulfillOrderId + “_containerList”
exec {
session =>
session.set(value, session(“containerList”))
println(value + session.toString)
session
}
}