Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

Check for particular values in the response body

pm.test("Person is Jane", () => {
  const responseJson = pm.response.json();
  pm.expect(responseJson.name).to.eql("Jane");
  pm.expect(responseJson.age).to.eql(23);
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: Falsy Bouncer 
Javascript :: focus on child components on single page applications - 2 
Javascript :: syntax error unexpected number in js 
Javascript :: Make a ReactNative component take the height and width of the current window 
Javascript :: grid square random number 
Javascript :: javascript make variable 
Javascript :: how to search table using jquery 
Javascript :: websocket servcer connectrion refused nodejs 
Javascript :: Find greatest length if letters in a string 
Javascript :: moment iso string to zero 
Javascript :: if strings in array 
Javascript :: GetNameOfZone 
Javascript :: Get javascript object from array by filter 
Javascript :: Arrow Function Shorthand javascript 
Javascript :: closing all open files vscode 
Javascript :: Admobs For Ios 
Javascript :: comment creer des switch en react js 
Javascript :: Nodemailer Reuseable Code 
Javascript :: how to end tsc main --watch 
Javascript :: btoa in js string only 
Javascript :: loop with multiple conditions js codesmith 
Javascript :: express pass data between middleware 
Javascript :: code mirror detect change 
Javascript :: how do i make http post in nodejs without third party 
Javascript :: HimalayanCoffeeHouse Noida 
Javascript :: last iteration is for loop js ES6 
Javascript :: angular switch case multiple values 
Javascript :: Block Alignment Toolbar Using ES5 in Wordpress 
Javascript :: add script tag change on every new page in angular 8 
Javascript :: is enabled 
ADD CONTENT
Topic
Content
Source link
Name
1+3 =