[Paper Review] Fuzzing Microservices: A Series of User Studies in Industry on Industrial Systems with EvoMaster
This paper evaluates EvoMaster, an open-source search-based software testing tool, in industrial microservice environments at Meituan, demonstrating its effectiveness in achieving 71.3% endpoint code coverage and 51.7% business logic coverage while detecting 21 real faults. The study combines empirical testing with practitioner feedback, revealing both immediate benefits and key challenges for industrial adoption of automated fuzzer tools in large-scale microservices.
With several microservice architectures comprising of thousands of web services, used to serve 630 million customers, companies like Meituan face several challenges in the verification and validation of their software. This paper reports on our experience of integrating EvoMaster (a search-based white-box fuzzer) in the testing processes at Meituan over almost 2 years. Two user studies were carried out in 2021 and in 2023 to evaluate two versions of EvoMaster, respectively, in tackling the test generation for industrial web services which are parts of a large e-commerce microservice system. The two user studies involve in total 321,131 lines of code from five APIs and 27 industrial participants at Meituan. Questionnaires and interviews were carried out in both user studies with employees at Meituan. The two user studies demonstrate clear advantages of EvoMaster (i.e., code coverage and fault detection) and the urgent need to have such a fuzzer in industrial microservices testing. To study how these results could generalize, a follow up user study was done in 2024 with five engineers in the five different companies. Our results show that, besides their clear usefulness, there are still many critical challenges that the research community needs to investigate to improve performance further.
Motivation & Objective
- To assess EvoMaster’s effectiveness in generating test cases for real industrial microservices in a large-scale production environment.
- To understand the practical usability, integration challenges, and adoption barriers of automated fuzzer tools like EvoMaster from the perspective of industrial engineers and managers.
- To identify key research gaps and industrial challenges—such as handling RPC services, external dependencies, and distributed databases—that hinder broader adoption of automated API fuzzing in enterprise systems.
- To bridge the gap between academic research and industrial practice by providing empirical evidence on the real-world applicability of search-based software testing tools.
Proposed method
- Applied EvoMaster on two production-grade REST APIs from Meituan Select, a large e-commerce microservice system with hundreds of services.
- Measured code coverage on endpoint definitions (71.3%) and business logic (51.7%) using EvoMaster-generated test cases.
- Conducted a structured questionnaire and semi-structured interviews with eight Meituan engineers and managers to assess tool applicability, usability, and integration needs.
- Performed manual code review and test case analysis to validate fault detection and test quality, including identifying 21 unique real faults.
- Explored automation of SUT (System Under Test) setup via templated configuration, leveraging consistent patterns in industrial frameworks like Spring.
- Evaluated feasibility of integrating EvoMaster into Continuous Integration (CI) pipelines, focusing on command-line execution and scheduling strategies.
Experimental results
Research questions
- RQ1To what extent can EvoMaster achieve high code coverage and detect real faults in industrial microservice APIs?
- RQ2How do industrial practitioners perceive the usability and practical integration of automated fuzzer tools like EvoMaster in their development workflows?
- RQ3What are the key technical and organizational challenges that hinder the adoption of automated API fuzzing in large-scale enterprise microservices?
- RQ4How can the quality and readability of generated test cases be improved to better support business logic coverage and developer maintainability?
- RQ5What role can automation of SUT configuration play in scaling fuzzer usage across thousands of microservices in a consistent enterprise environment?
Key findings
- EvoMaster achieved an average of 71.3% code coverage on endpoint definitions and 51.7% on business logic implementations across two industrial APIs.
- The tool successfully detected 21 unique, real faults in production systems, which were confirmed and fixed by Meituan’s engineering team.
- Engineers reported no major usability barriers in applying EvoMaster to their industrial applications, indicating strong practical feasibility.
- Manual configuration of SUTs (e.g., start/stop/reset) can be automated via templating, especially given consistent framework usage (e.g., Spring) across services.
- Integration into CI pipelines is technically feasible and considered highly beneficial, though scheduling strategies (e.g., after each pull request) require further investigation due to performance costs.
- Generated test cases were perceived as lacking in readability and composability, especially for testing complex business logic across multiple endpoints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.