Verifying value in response

I wanted to verify whether a particular value is in response to a GET request
what do i write for the test? I tried the below but i think i must be doing something wrong

pm.test(“Body matches string”, function () {



Hey @hannahbroch !

I think the community can help you better if you could also share the response that you are getting.

1 Like