Research on Microservice Application Testing Based on Mock Technology
Du Lin, Fang Liping, Han Jiajia, Tang Qingzhao, Changhua Sun, Zhang Xiao-hui · 2020
In order to overcome the problems existing in the use of the micro-service application system and improve the work efficiency of the micro-service application system, this paper proposes a novel construction method of the micro-service application system based on Mock technology. The construction method uses mock technology, and analyses and studies mock technology and stub technology. In addition, the construction method also deeply analyzes the requirements of unit test integration test, and then formulates a test scheme that meets the requirements of micro-service application system. Based on this, the construction method also studies and develops supporting test tools for the developed test scheme, and determines the deployment mode of test tools. The results of this study show that this construction method can better solve the problems existing in the use of the current micro-service application system, and can fundamentally improve the accuracy of testing the micro-service application system.