T
Size: a a a
T
AV
T
AV
T
T
ΙΤ
AV
import java.util.UUID
…
val uuidfeeder: Iterator[Map[String, String]] = Iterator.continually(Map("uuid" -> UUID.randomUUID.toString))
…
.feed(uuidfeeder)
.exec(
http("comments_get")
.post("/comments")
.body(ElFileBody("path to file")) )
…
AV
VG
ΙΤ
import scala.util.Random
val feeder = Iterator.continually(Map("email" -> (Random.alphanumeric.take(20).mkString + "@foo.com")))
T
T
ΙΤ
// myFileBody.json is a file that contains
// { "myContent": "${myDynamicValue}" }
.body(ElFileBody("myFileBody.json")).asJson
ΙΤ
T
T
ΙΤ
.post(baseURI + GtmHibConstants.PRESENTATIONS)
.body(ElFileBody("create.json"))
.check(jsonPath("$.uuid) saveas (Id))
ΙΤ