How to check whether Postman Response is matching the value from a set of data

I have a field which only accepts data from below Set:
[‘CRDTCD’,‘STDTID’,‘WRKID’,‘DLIC’,‘MLID’,‘UPAS’,‘RAID’]. Values other than these should not be processed. How can I check if the response is one of these values?

Hello @amitesh1505 , you can use “” method, please refer this post for more details :slight_smile:


Thank you. It worked for me.

1 Like