1

In Postman I can see request and response size enter image description here

How do I get this in gatling ? I need to validate the size.

shrusthip
  • 85
  • 1
  • 10

1 Answers1

1

You can validate size via check and bodyLength where pass expected size in bytes.

val request = http("request")
    .get("localhost")
    .check(
      bodyLength.is(221)
    )

Amerousful
  • 2,292
  • 1
  • 12
  • 26