当前位置:网站首页>Interface difference test - diffy tool
Interface difference test - diffy tool
2022-07-02 23:51:00 【Minmin 1020】
One 、Diffy working principle
Two 、Diffy Use
Clone Source :
git clone https://github.com/twitter/diffy.git
structure diffy-server.jar, Execute the following two commands in turn
cd diffy ./sbt assemblystart-up diffy service
- http Interface startup diffy command
java -jar diffy-server.jar -candidate=localhost:8080 -master.primary=localhost:8081 -master.secondary=localhost:8082 -service.protocol=http -serviceName=My-Service -proxy.port=:8880 -admin.port=:8881 -http.port=:8888 -rootUrl='localhost:8888' - https Interface startup diffy command ( Close test available , It's been a long time )
java -jar diffy-server.jar -candidate=www.baidu.test -master.primary=www.baidu.com -master.secondary=www.baidu.com -service.protocol=https -serviceName=My-Service -proxy.port=:9990 -admin.port=:9991 -http.port=:8888 -rootUrl='localhost:8888' -summary.email='[email protected]' -summary.delay="5" -allowHttpSideEffects=true -excludeHttpHeadersComparison='true' Parameter description
Parameters explain -candidate=www.baidu.test The version to be launched ip Or domain name .
If Baidu test environment host by www.baidu.test
-master.primary=www.baidu.com Online version ip1 Or domain name 1 -master.secondary=www.baidu.com Online version ip2 Or domain name 2 -service.protocol=https http Agreement or https agreement -serviceName=My-Service The service name . Write at will -proxy.port=:9990 The proxy port . All requests should be accessed from this port . Such as :curl localhost:9990/search/1 -admin.port=:9991 -http.port=:8888 diffy Report port .localhost:8888 -rootUrl='localhost:8888' ditto -summary.email='[email protected]' Report the email address -summary.delay="5" -allowHttpSideEffects=true diffy Considering the safety ,post、put、delete Request is ignored by default . Set to true These types of requests can still be sent normally -excludeHttpHeadersComparison='true' Whether to exclude header The difference of . Generally set as true. Different services header There's a difference , Negligible Pit description !!!
- responseMode=primary: Some articles write that parameters include responseMode, But the execution will report an error :. The error message indicates that there is no such parameter , If this item is removed, no error will be reported .
- excludeHttpHeadersComparison=false: An error occurs when this parameter is executed :. resolvent : to false Put double quotes , namely excludeHttpHeadersComparison="false"
- http Interface startup diffy command
diffy The report
- localhost:8888, The browser accesses the address , You can view it diffy The report .
- Example report
边栏推荐
- (stinger) use pystinger Socks4 to go online and not go out of the network host
- JSON data transfer parameters
- Bean load control
- Maybe you read a fake Tianlong eight
- Markdown basic grammar
- 【直播预约】数据库OBCP认证全面升级公开课
- A single element in an ordered array -- Valentine's Day mental problems
- MySQL Foundation
- Returns the maximum distance between two nodes of a binary tree
- Load balancing cluster (LBC)
猜你喜欢

How much do you know about synchronized?

C# MVC创建一个视图摆脱布局的影响

Interface switching based on pyqt5 toolbar button -2

RuntimeError: no valid convolution algorithms available in CuDNN

RuntimeError: no valid convolution algorithms available in CuDNN

Integration of revolution and batch normalization

PR FAQ, what about PR preview video card?

Program analysis and Optimization - 9 appendix XLA buffer assignment

Dishes launcher small green program and directory management (efficiency tool)

Ideal car × Oceanbase: when the new forces of car building meet the new forces of database
随机推荐
In February 2022, the ranking list of domestic databases: oceanbase regained its popularity with "three consecutive increases", and gaussdb is expected to achieve the largest increase this month
YOLOX加强特征提取网络Panet分析
Bean load control
Sourcetree details
基于FPGA的VGA协议实现
leetcode 650. 2 Keys Keyboard 只有两个键的键盘(中等)
QT 如何将数据导出成PDF文件(QPdfWriter 使用指南)
[ml] Li Hongyi III: gradient descent & Classification (Gaussian distribution)
富滇银行完成数字化升级|OceanBase数据库助力布局分布式架构中台
What can I do after buying a domain name?
Use redis to realize self increment serial number
Third party payment function test point [Hangzhou multi tester _ Wang Sir] [Hangzhou multi tester]
Fusion de la conversion et de la normalisation des lots
Connexion à distance de la tarte aux framboises en mode visionneur VNC
[Verilog tutorial]
ArrayList analysis 2: pits in ITR, listiterator, and sublist
Implementation of VGA protocol based on FPGA
[live broadcast appointment] database obcp certification comprehensive upgrade open class
返回二叉树两个节点间的最大距离
Analyze ad654: Marketing Analytics
https://blog.csdn.net/jinjiangongzuoshi/article/details/106799081/