English

Automated Test Data Generation for Enterprise Protobuf Systems: A Metaclass-Enhanced Statistical Approach

Software Engineering 2025-07-31 v1 Computational Engineering, Finance, and Science Programming Languages

Abstract

Large-scale enterprise systems utilizing Protocol Buffers (protobuf) present significant challenges for performance testing, particularly when targeting intermediate business interfaces with complex nested data structures. Traditional test data generation approaches are inadequate for handling the intricate hierarchical and graph-like structures inherent in enterprise protobuf schemas. This paper presents a novel test data generation framework that leverages Python's metaclass system for dynamic type enhancement and statistical analysis of production logs for realistic value domain extraction. Our approach combines automatic schema introspection, statistical value distribution analysis, and recursive descent algorithms for handling deeply nested structures. Experimental evaluation on three real-world enterprise systems demonstrates up to 95\% reduction in test data preparation time and 80\% improvement in test coverage compared to existing approaches. The framework successfully handles protobuf structures with up to 15 levels of nesting and generates comprehensive test suites containing over 100,000 test cases within seconds.

Keywords

Cite

@article{arxiv.2507.22070,
  title  = {Automated Test Data Generation for Enterprise Protobuf Systems: A Metaclass-Enhanced Statistical Approach},
  author = {Y. Du},
  journal= {arXiv preprint arXiv:2507.22070},
  year   = {2025}
}

Comments

7 pages

R2 v1 2026-07-01T04:24:34.825Z