how to verify api response size code example Example: how do you verify the size of the response in api I use Matchers from Hamcrest hasitems() equalTo()