A high-performance Java library for generating realistic business data with internationalization support.
JMock is a high-performance Java library for generating and simulating realistic business data. It solves the problem of needing test data that accurately reflects real-world scenarios, offering internationalization support and multiple storage options. Unlike basic random data generators, JMock produces data with business-realistic characteristics.
Java developers and QA engineers who need realistic, high-volume test data for applications, especially those with international business logic or complex data models.
Developers choose JMock for its exceptional performance (over 2M records/second), its ability to generate business-realistic data with i18n support, and its flexible dual-approach (annotation and function-based) architecture for defining data generation rules.
🔥 JMock is a high-performance data generation and simulation component library implemented in Java.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates over 2 million user records per second in a single thread, as stated in the README, making it ideal for high-volume data needs like performance testing.
Produces data that accurately mimics real-world business scenarios with built-in internationalization support, ensuring reliable testing for global applications.
Supports both annotation-based field definitions and function-based script files, allowing developers to choose the approach that best fits their workflow, as highlighted in the core features.
Features a plugin-based system for adding custom mock data functions, enabling easy extension and customization beyond built-in capabilities.
Limited to Java and JVM-based projects, making it unsuitable for teams using other programming languages or frameworks, which restricts its applicability.
The annotation and function syntax with special character escaping (e.g., using backslashes for @, ,, |) can have a steeper learning curve compared to simpler data generation tools.
As a relatively niche library, it may lack the extensive community support, third-party integrations, and documentation found in more established alternatives like Java Faker.