Recently, I investigated the mainstream API automated testing tools and found no automated testing tools based on traffic recording and playback (I mean recording and playback tools based on the real system traffic, page operation recording and playback are not within the scope of discussion). The traffic recording and playback technology of my previous company (Alibaba) has been adopted by many testing teams. Taking the test group of the transaction technology department as an example, this technology has brought them the following benefits:
-
Improved test coverage: helped them build about 100,000 core test cases and nearly one million non-core test cases. (Before using this technology, they could only maintain 2,000 core test cases due to the cost of test case writing and maintenance)
-
Improved test efficiency: In the past, completing an automated test relied on many downstream services, but now they are decoupled through the mock playback mechanism.
Why is this technology not widely used?
I recently tried JIterator, an innovative automated testing tool, in other companies, but there are few records of its use outside, so I would like to know some questions about the backend recording and playback technology.
Daniel Qin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.