Created
July 27, 2017 19:23
-
-
Save JamesMessinger/82efb4b41075f1eb5df392bd879b017d to your computer and use it in GitHub Desktop.
Reusing code in Postman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First, run the common tests | |
eval(globals.commonTests)(); | |
// Then run any request-specific tests | |
tests["Status code is 200"] = responseCode.code === 200; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment