Postman Community
How to check whether Postman Response is matching the value from a set of data
Help Hub
tests
bpricilla
(Pricilla B)
March 27, 2021, 9:09am
2
Hello
@amitesh1505
, you can use “to.be.oneOf” method, please refer this
post
for more details
show post in topic
Related topics
Topic
Replies
Views
Activity
Help need with validating response that it is a string and contains a value
Help Hub
9
7785
May 30, 2021
How to verify if response contains specific text
Help Hub
tests
,
json
,
loop
6
2307
August 4, 2023
Assert portion of JSON with nested objects and arrays
Help Hub
tests
,
response
2
10055
January 28, 2021
Help on checking items in response
Help Hub
tests
4
835
December 6, 2020
How to write correct test - If I want to expect response to include PART oneOf text
Help Hub
tests
,
response
,
expect
1
3140
February 18, 2021