Horje
Writing tests for API requests Code Example
Writing tests for API requests
pm.test("Request is successful with a status code of 200", function () {
  pm.response.to.have.status(200);
});

pm.test("Check that it returns an array", function () {
  var jsonData = pm.response.json();
  pm.expect(jsonData).to.be.an("array");
});
Source: circleci.com




C

Related
4 byte alignment c code Code Example 4 byte alignment c code Code Example
%hd c Code Example %hd c Code Example
finding characters in string Code Example finding characters in string Code Example
c arrays Code Example c arrays Code Example
fifo in c Code Example fifo in c Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9