Application practice of combining Interface Automation with RPC Service mock platform
Original link: http://mp.weixin.qq.com/s/xESQTuCyuDLKbeLo1HelBg
Content outline:
Why should mock be carried out?
1. The downstream service interface is unstable, and the lack of environment leads to the unavailability of dependent services, blocking joint debugging or testing.
2. Because the online environment test data can not be constructed, the test scenario is single and insufficient.
3. Project development relies on third-party services, and third-party development self-testing is required before entering joint debugging. Mock can be used to achieve back-end separate development according to the contract package.
Automatic Application of mock Interface
1. The target interface to be tested by Case. All dependent services can be configured with mock.
2. Support mock configuration to associate with case
3. Support automatic upload of mock configuration data before case execution
4. Support automatic cleaning function after case execution