Skip to content

Instantly share code, notes, and snippets.

@AleksandraZuchewicz
Created February 22, 2019 17:35
Show Gist options
  • Save AleksandraZuchewicz/c128eedae874b687d5696cf66164238d to your computer and use it in GitHub Desktop.
Save AleksandraZuchewicz/c128eedae874b687d5696cf66164238d to your computer and use it in GitHub Desktop.
Postman script for API testing automation
pm.test("Response time is less than 300ms", function () {
pm.expect(pm.response.responseTime).to.be.below(300);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment