[webapi] Change the promise cases to auto tests

Impacted tests(approved): new 0, update 0, delete 0
Unit test platform: [Android]
Unit test result summary: pass 4, fail 0, block 0
Merge pull request #652 from zhuyongyong/yongzhu/webapi/promise-auto

[webapi] Change the promise cases from menual tests to auto tests