DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Script test to be oneOf
pm.test("Successful POST request", () => { pm.expect(pm.response.code).to.be.oneOf([201,202]); });
Source by learning.postman.com #
PREVIOUS
NEXT
Tagged:
#Script
#test
#oneOf
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit