-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
812 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ target/ | |
.git/ | ||
.project | ||
.classpath | ||
.settings/ | ||
.settings/ | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 好未来技术 | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,219 @@ | ||
<<<<<<< HEAD | ||
# conan | ||
|
||
柯南流量回放整体服务 | ||
http://conan.xesv5.com | ||
======= | ||
## 柯南流量回放平台 | ||
English | [简体中文](readmeCN.md) | ||
<p align="left"> | ||
<a href="https://github.com/1042970366/"> | ||
<img src="https://img.shields.io/badge/license-MIT-green" alt="MIT License" /> | ||
</a> | ||
<a href="https://java.org/"> | ||
<img src="https://img.shields.io/badge/java-1.8.1-green" alt="Vue2.0"> | ||
</a> | ||
<a href="https://vuejs.org/"> | ||
<img src="https://img.shields.io/badge/vue.js-2.0-green" alt="Vue2.0"> | ||
</a> | ||
<a href="https://github.com/1042970366/"> | ||
<img src="https://img.shields.io/badge/author-TALconan-blueviolet" alt="Author"> | ||
</a> | ||
<a href="https://github.com/1042970366/"> | ||
<img src="https://img.shields.io/badge/🚀-open--in--browser-blueviolet" alt="Live Demo"> | ||
</a> | ||
</p> | ||
|
||
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. | ||
>>>>>>> 30ba50a602a7c0331b6e4a096cdcecce4f7dd7b2 | ||
## 一、 背景 | ||
|
||
柯南是一站式的开源流量回放平台,基于线上流量回放能力助力开发和测试团队快速拥有相关能力,加速高质量软件的交付。 | ||
|
||
<<<<<<< HEAD | ||
- 流量采集: ES日志; | ||
- 回放协议: http协议; | ||
- 接入成本: 无需安装采集,对服务性能无影响; | ||
- 支持场景: 目前支持读接口。 | ||
======= | ||
>>>>>>> 30ba50a602a7c0331b6e4a096cdcecce4f7dd7b2 | ||
## 二、项目介绍 | ||
|
||
<<<<<<< HEAD | ||
### 1. 工程文件目录 | ||
|
||
柯南项目整体采用的父子结构 | ||
======= | ||
## 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. | ||
>>>>>>> 30ba50a602a7c0331b6e4a096cdcecce4f7dd7b2 | ||
conan-common存放的是公共资源 | ||
|
||
<<<<<<< HEAD | ||
conan-admin提供的是与前端数据交互的接口 | ||
|
||
conan-agent提供的是比较费时的服务包括录制回放和比对 | ||
conan-agent提供的是比较费时的服务包括录制回放和比对 | ||
======= | ||
|
||
|
||
## 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](http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605259627/%E5%90%8E%E7%AB%AF%E4%B8%9A%E5%8A%A1%E6%9E%B6%E6%9E%84.png) | ||
|
||
<center> | ||
|
||
Business architecture | ||
|
||
</center> | ||
|
||
|
||
|
||
**Platform technical architecture** | ||
|
||
![后端技术架构.png](http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605255935/%E5%90%8E%E7%AB%AF%E6%8A%80%E6%9C%AF%E6%9E%B6%E6%9E%84.png) | ||
<center> | ||
|
||
Server architecture | ||
|
||
</center> | ||
|
||
<br> | ||
|
||
|
||
|
||
**Platform capability and function** | ||
|
||
|
||
![柯南能力图.png](http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605261800/%E6%9F%AF%E5%8D%97%E8%83%BD%E5%8A%9B%E5%9B%BE.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 | ||
|
||
|
||
|
||
</br> | ||
|
||
</br> | ||
|
||
|
||
**Project leader** - Li Ning | ||
|
||
|
||
|
||
<img src=" http://ttc-tal.oss-cn-beijing.aliyuncs.com/1606904630/image.png " width="100" height="100" align="middle" /> | ||
|
||
</br> | ||
|
||
</br> | ||
|
||
|
||
|
||
**Project member** - Liu Jinsong huyaoguo dengkunnan Ji Ying | ||
|
||
|
||
|
||
<img src=" http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605698754/image.png " width="100" height="100" /> | ||
|
||
<img src=" http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605702320/image.png " width="100" height="100" /> | ||
|
||
<img src=" http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605702371/image.png " width="100" height="100" /> | ||
|
||
<img src=" http://ttc-tal.oss-cn-beijing.aliyuncs.com/1605698855/image.png " width="100" height="100" /> | ||
|
||
</br> | ||
|
||
</br> | ||
|
||
|
||
|
||
**Official QQ group of Conan** | ||
|
||
<img src="http://ttc-tal.oss-cn-beijing.aliyuncs.com/1614485571/image.png" width="150" height="230" align="middle" /> | ||
|
||
<br> | ||
>>>>>>> 30ba50a602a7c0331b6e4a096cdcecce4f7dd7b2 |
32 changes: 0 additions & 32 deletions
32
...admin/src/main/java/com/tal/wangxiao/conan/admin/constant/CompareatorResultConstants.java
This file was deleted.
Oops, something went wrong.
66 changes: 0 additions & 66 deletions
66
conan-admin/src/main/java/com/tal/wangxiao/conan/admin/constant/GlobalConst.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
conan-admin/src/main/java/com/tal/wangxiao/conan/admin/constant/ScriptionConstants.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.