Html, Javascript, Chrome debug mode.
Download and install from here.
在不同的environment中共同使用 若environment variable跟global variable重複的話,會以environment為主
Postman will create a online mock server.

Url is https://httpbin.org/json
and add default test case of http 200.

Free account only can use hour timer.
You can setting receive email when run fail.

Click monitor column will open monitor web page.
If click run button, it will create report.

Add a fail test case in test script.
pm.test("Your test name", function () {
var jsonData = pm.response.json();
pm.expect(jsonData.slideshow.author).to.eql("lalala");
});And run it, you will receive alert mail.
Setting->更多工具->開發人員工具(shortcut: command + option + i)

Download and install from here.
Open terimal, and input command.
node -v
If console show node's version, it mean you install success.
npm install -g newman
Verify newman install success.
newman -v
newman run checkin.postman_collection.json --environment cathay.prod.postman_environment.json If you want how to set schedule in MacOS, you can reference this.
newman run checkout.postman_collection.json --environment cathay.prod.postman_environment.json You can set check out in Monitor server.
Follow this article to create an application from shell script.
PATH="/usr/local/bin:$PATH"
/usr/local/bin/newman run /Users/caichengfu/Develop/github/PostmanTutorial/checkout.postman_collection.json -e /Users/caichengfu/Develop/github/PostmanTutorial/charles_cathay.postman_environment.json
Follow this article and install Scheduler for Macintosh.

Must use cathaybk wifi.
Someone will get 302 error when they login, it is server side bug, but I don't who will happen.
You need modify cathay.prod.postman_environment.json. To change username and password.













