当前位置:网站首页>Write a contract testing tool from scratch
Write a contract testing tool from scratch
2022-06-22 13:13:00 【Diandian Hanbin】
background
Recently, microservices have become more and more popular , Our company's applications are beginning to migrate to microservices , But for now , There are few testing technologies for microservices , What I see more on the Internet is a thing called contract testing , But in fact, it's all written demo, From being able to use , There is still a very long distance , So I want to test some theoretical knowledge according to the contract , Create a contract testing tool by yourself .
Environmental Science
Python:2.7
operating system :Mac OS X
Ideas
- First , What it wants to achieve is a
MockThe function of
This function is its most basic function , According to the request content of the consumer , Return a certain content to the consumer .
- secondly , It needs to be able to send requests down
Actually, contract testing is also required on the production side , At this time, the contract center should be able to request the messages from the consumer to the producer , Guarantee the integrity of the contract
- Again , It should have the function of alarm
When the contract changes , Be able to notify the contract stakeholders in real time , Ensure that the message structure of the production end and the consumer end of the contract is consistent
- Last , Its value should be changeable
The structure of each contract should be fixed , But the content of the message should be allowed to change
Last
The following should be the start of construction , These two days off , Take a break , Simply roll out a project at home .
边栏推荐
- SAP ABAP ole core code
- Parallels Desktop 17.1.4pd virtual machine
- 448. Find All Numbers Disappeared in an Array
- Hurun Research Institute launched the list of potential enterprises of China's meta universe, and Jushan database was selected as the future star enterprise
- SNC processing failed SAP Router证书重新生成
- 155. Min Stack
- 使用SQLAlchemy进行组合分页查询
- If Tiankeng majors learn IC design by themselves, will any company want it
- 2017年度总结
- CVPR 2022 | 针对场景文本检测的视觉语言模型预训练
猜你喜欢

这不会又是一个Go的BUG吧?

Application of motion capture system in positioning and mapping of mobile robot in underground tunnel

leetcode 11. 盛最多水的容器

MySQL_ Create and manage tables

SICF批量激活服务节点

MySQL notes

Sap-abap- how to transfer material master data, supplier master data, work orders, purchase orders and other information to external systems in real time - implicit enhancement.

巨杉数据库受邀出席鲲鹏开发者年度盛会2022,共建国产化数字底座

Under Xinchuang: when the domestic database stars shine

MySQL_数据处理之查询
随机推荐
MySQL_ Create and manage tables
巨杉数据库荣获艾媒咨询2022年中国信创产业双项荣誉
windows系统安装多个mysql版本(不用卸载原版本),新旧版本兼容。
Is the dynamic table of Flink created in this way? I use the flick CDC to read MySQL data, write the flick dynamic table, and send
Tis tutorial 04 client
leetcode 1579. 保证图可完全遍历
SNC processing failed SAP router certificate regeneration
Redis
On the routing tree of gin
老王说系列第六期:PHP程序员要建立自己的自信心
JAXB元素详解
【Qt】QFileInfo获取文件名的各个组成部分
Wisdom age voice +php
Redis
redis修改密码,及启动、查看等操作
leetcode 99.恢复二叉搜索树
CVPR 2022 | visual language model pre training for scene text detection
阿里云磁盘性能分析
SAP 系统License查看申请及导入
推荐一款M1芯片电脑快速搭建集群的虚拟机软件