Reputation: 95
In Postman I can see request and response size
How do I get this in gatling ? I need to validate the size.
Upvotes: 1
Views: 803
Reputation: 2545
You can validate size via check
and bodyLength
where pass expected size in bytes.
val request = http("request")
.get("localhost")
.check(
bodyLength.is(221)
)
Upvotes: 1