tal-tech / conan

柯南平台开源版本,为用户提供流量回放全流程解决方案

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conan

柯南流量回放平台

English | 简体中文

MIT License Vue2.0 Vue2.0 Author Live Demo

After continuous polishing and iteration in online education business, Conan platform is finally open source, aiming to provide more professional and stable quality-effectiveness assurance scheme for more quality-effectiveness assurance teams in the industry. With the continuous changes of business and technology architecture, the quality assurance work of the service end becomes more and more complex. In recent years, the traffic playback has taken root in the industry, but most of them are tools based and the cost of use and secondary development are relatively high. Conan platform emerged.

Objectives

Based on the recording and playback capability and result verification capability of online real user traffic, the solution is provided for smoke test, integrated regression test, online verification and online inspection.

Core functions

Flow collection

The traffic recording and acquisition based on ES log source, platform configuration access, low cost of use, and detailed traffic collection data are provided.

Traffic playback

The distributed back-end architecture improves the execution efficiency for traffic playback, supports service authentication configuration, and the playback based on HTTP protocol conforms to the real business scenario.

Result verification

The routine verification mode of traffic playback is mainly diff of traffic results, but a large number of traffic noise (time stamp, self increasing data...) has always affected the accuracy of the results. Conan platform performs the first layer verification based on the configured jsonschema in playback, and then carries out the second layer verification of traffic diff based on the self-developed noise reduction comparison service, thus ensuring the accuracy of the result verification , which greatly improves the reliability of the traffic playback results.

Platform advantages and application scenarios

Advantages

-Solve the problem of low coverage and high maintenance cost of traditional automation

-Multi rule traffic result Assertion Verification

-Support for multi rule traffic result comparison

-Flow data can be used for automated testing and performance testing

-Simple interaction, configuration access

-Open source co construction, continuous optimization

Application scenarios

-Lift and measure the quality card point

-CI/CD pipeline quality card point

-Service line monitoring and inspection

Platform business architecture

后端业务架构.png

Business architecture

Platform technical architecture

后端技术架构.png

Server architecture


Platform capability and function

柯南能力图.png

Instructions for use

-Traffic collection: ES log;

-Playback protocol: http protocol;

-For specific environment, please refer to the open source detailed technical documents

##Write at the end

The improvement of quality and efficiency may not be achieved through a single platform, and the combination of technology and human can bring more breakthroughs. Being good at using technological innovation, we can calmly face more and more frequent demands and more complex business. The technical solution of Conan platform is produced by the class business of online school and gradually popularized. The platform is now open source, and hope more excellent people or teams will participate in it to provide more solutions for quality and efficiency assurance.

Detailed use of documents

https://dengkunnanmayun.gitee.io/conan-docs/#/use/README

More

https://mp.weixin.qq.com/s/1Cvi5kkqfF9y1rBi97qLwg



Project leader - Li Ning



Project member - Liu Jinsong huyaoguo dengkunnan Ji Ying



Official QQ group of Conan


About

柯南平台开源版本,为用户提供流量回放全流程解决方案

License:MIT License


Languages

Language:Java 57.8%Language:Vue 27.8%Language:PLpgSQL 7.0%Language:JavaScript 6.0%Language:SCSS 0.8%Language:HTML 0.2%Language:Shell 0.2%Language:Batchfile 0.1%