1
val protocol = karateProtocol()

val create = scenario("create").exec(karateFeature("classpath:mock/cats-create.feature"))

setUp(
create.inject(rampUsers(10) over (5 seconds)).protocols(protocol)
)

For the code above, it is using Gatling to simulate karate service. Is there a way that I can get the http response and store it into a json file? Thanks!

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248
Silu Zhao
  • 21
  • 1
  • Possible duplicate of [Is there a way to write to a text file using Karate](https://stackoverflow.com/questions/54591724/is-there-a-way-to-write-to-a-text-file-using-karate) – Peter Thomas Mar 19 '19 at 15:51

0 Answers0