How can verify the response image/jpeg?

Hi everyone, I’m writing the K6 script to send a GET request and verify the image in response. The response content type is image/jpeg, so how can I convert it to base64 or something else that I could make sure the picture is correct?
Thanks in advance!

Hello!
You can check the size image Checks

oh, that’s great solution, thank you so much!

1 Like