Full-Process Automated Testing Platform for Airline Ticket System: Design, Implementation, and Operations
This article describes the design, implementation, and operational management of a full‑process automated testing platform for airline ticket systems, covering background analysis, goals, measurement metrics, platform architecture, case handling, result verification, quality gates, and future improvement plans to enhance system stability and quality.
The article introduces a full‑process automated testing platform aimed at improving the stability and quality of complex airline ticket business systems by linking multiple workflows and covering multiple client endpoints.
Background and Problem Analysis
Fault analysis revealed that a recent change to the pricing service caused an 80% failure rate for child ticket purchases due to missing data in the booking flow. Existing interface automation tests were isolated and failed to capture cross‑process dependencies.
Current Situation
Analysis of historical incidents showed that 25% of failures stemmed from incomplete process verification, with 67% of those occurring on the APP side.
Goals and Scope
The platform aims to automatically verify the primary P1/P2 services of the domestic airline ticket flow across all endpoints, thereby reducing defects and improving reliability.
Measurement
Key metrics include case coverage, case pass rate, execution time (<10 min), application coverage (100%), and project skip rate (<5%).
Implementation
Platform Construction
The platform consists of four core components: case acquisition, process linking, result validation, and quality gate.
Case acquisition pulls real user scenarios from the online system, stores matching rules, logs, and parameters in MongoDB, and indexes relevant data in Elasticsearch.
Process Linking
The system supports full‑business‑process coverage and multi‑endpoint execution (APP, PC, etc.) by routing all requests through the main system and using a preqtrace identifier to stitch together the end‑to‑end data.
Result Verification
Both assertion and diff methods are used; diff is preferred for the fast‑changing airline ticket domain, but a combined diff + assertion approach ensures accurate detection of both workflow and code issues.
Quality Gate
The quality gate ties projects to automated checks, supports both automatic and manual triggers, and notifies stakeholders of results.
Operational Mechanism
Daily monitoring, weekly data aggregation, and close collaboration with development teams drive continuous improvement.
Future Plans
Upcoming work includes increasing case coverage and concurrency, simplifying visual configuration, and extending the platform to support international main‑process linking.
Conclusion
Building a full‑process automated testing platform is crucial for enhancing system stability and quality; it enables comprehensive functional and performance verification, reduces defects, and provides a solid operational foundation for delivering reliable airline ticket services.
Qunar Tech Salon
Qunar Tech Salon is a learning and exchange platform for Qunar engineers and industry peers. We share cutting-edge technology trends and topics, providing a free platform for mid-to-senior technical professionals to exchange and learn.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.