当前位置:网站首页>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
边栏推荐
- RuntimeError: no valid convolution algorithms available in CuDNN
- Bean加载控制
- 实用系列丨免费可商用视频素材库
- Ideal car × Oceanbase: when the new forces of car building meet the new forces of database
- leetcode 650. 2 Keys Keyboard 只有两个键的键盘(中等)
- How does win11 turn on visual control? Win11 method of turning on visual control
- 95页智慧教育解决方案2022
- Arduino - character judgment function
- Speech recognition Series 1: speech recognition overview
- JDBC練習案例
猜你喜欢

Interpretation of new plug-ins | how to enhance authentication capability with forward auth

【直播预约】数据库OBCP认证全面升级公开课

采用VNC Viewer方式遠程連接樹莓派

Fusion de la conversion et de la normalisation des lots

(stinger) use pystinger Socks4 to go online and not go out of the network host

95页智慧教育解决方案2022

Go basic anonymous variable

Intranet penetration | teach you how to conduct intranet penetration hand in hand

How difficult is it to be high? AI rolls into the mathematics circle, and the accuracy rate of advanced mathematics examination is 81%!

Three solutions to frequent sticking and no response of explorer in win11 system
随机推荐
The privatization deployment of SaaS services is the most efficient | cloud efficiency engineer points north
JSON data transfer parameters
YOLOX加强特征提取网络Panet分析
RTP 接发ps流工具改进(二)
JDBC practice cases
Convolution和Batch normalization的融合
返回二叉树两个节点间的最大距离
Leetcode DP three step problem
ArrayList analysis 2: pits in ITR, listiterator, and sublist
How difficult is it to be high? AI rolls into the mathematics circle, and the accuracy rate of advanced mathematics examination is 81%!
JDBC教程
Ideal car × Oceanbase: when the new forces of car building meet the new forces of database
Develop knowledge points
Integration of revolution and batch normalization
Practical series - free commercial video material library
容器运行时分析
Connexion à distance de la tarte aux framboises en mode visionneur VNC
Unique line of "Gelu"
Installing redis under Linux
Where is the win11 microphone test? Win11 method of testing microphone
https://blog.csdn.net/jinjiangongzuoshi/article/details/106799081/