Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. val uuid = UUID.randomUUID().toString
  2. println(uuid)
  3.  
  4. val scn = scenario("Testing !")
  5. .exec(http("create resource")
  6. .post("/data")
  7. .body(StringBody(
  8. """{
  9. "add_name": "${uuid}",
  10. }""")).asJSON
  11. .check(status is(200)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement