What is baffle testing (Mock testing)?
Mainly dealing with some objects that are not easy to construct or obtain, as well as objects that have not yet been developed, design a virtual object, configure the business data required for testing, and complete the testing business.
TestOne is an integrated testing system independently developed by Zezhong Software. It is based on B/S architecture and integrates automated project management, test requirement management, test case management, defect management, automated test execution management, remote real machine debugging, and mobile script design. and other functions in one, covering GUI interface function automated testing, interface automated testing, mobile automated testing, mobile APP performance testing, baffle testing (Mock testing) and other test types, completely covering the entire process of automated testing projects, and can quickly automate Establish a testing management system to improve testing efficiency and quality.
Main functions of TestOne baffle test
1. The system supports multiple communication protocols, such as MQ, http/https, TCP/IP, Tuxedo, and CICS
2. Can run normally on Linux, Windows, and Unix
3. Support common message formats such as json, xml, soap, fixed-length strings, etc.
4. The system uses beanshell embedded scripts to customize the message data format.
5. Supports concurrent startup of servers of multiple different simulation systems. Transactions and messages are managed using a configurable interface. It is highly flexible and supports simple business logic configuration, such as requesting return value exchange.
6. Able to record the message data exchange log of each system and view it by system on the interface
Mock bezel-system management
1. Create, start, stop, and delete baffle services
2. Design of baffle service rules, configuration of protocol type, system type, encoding, port, length configuration, transaction code, etc.
Mock baffle-transaction management
1. Design of business rules for baffle services, mainly designing specific interface message formats
2. Define transaction codes, acceptance rules, and sending rules
3. The client supports online sending interface debugging
Mock baffle-message log
1. The bezel will record the process data of each system sending/receiving requests. You can see it in the message log interface. Select the corresponding system, and then the logs generated by the transactions made by the system will be displayed on the page.
2. For log details, select a log and double-click to view the detailed sending and receiving data of the log. The system type is MQ's active sending transaction, and the sending and return logs are not in the same article.