当前位置:网站首页>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 assembly
start-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
边栏推荐
- JDBC practice cases
- yolov5test. Py comment
- Returns the size of the largest binary search subtree in a binary tree
- MySQL Foundation
- Judge whether the binary tree is full binary tree
- Go basic anonymous variable
- Create an interactive experience of popular games, and learn about the real-time voice of paileyun unity
- How to apply for company email when registering in company email format?
- 接口差异测试——Diffy工具
- RTP 接发ps流工具改进(二)
猜你喜欢
Interface switching based on pyqt5 toolbar button -2
Realization of mask recognition based on OpenCV
95页智慧教育解决方案2022
What if win11 can't turn off the sticky key? The sticky key is cancelled but it doesn't work. How to solve it
Mapper agent development
Wechat applet basic learning (wxss)
What can I do after buying a domain name?
C# MVC创建一个视图摆脱布局的影响
Connexion à distance de la tarte aux framboises en mode visionneur VNC
Convolution和Batch normalization的融合
随机推荐
2022 latest and complete interview questions for software testing
What experience is there only one test in the company? Listen to what they say
Develop knowledge points
Difference between NVIDIA n card and amda card
leetcode 650. 2 Keys Keyboard 只有两个键的键盘(中等)
返回二叉树两个节点间的最大距离
"A good programmer is worth five ordinary programmers!"
Go basic data type
Bean加载控制
采用VNC Viewer方式遠程連接樹莓派
MySQL基础
Fudian bank completes the digital upgrade | oceanbase database helps to layout the distributed architecture of the middle office
接口差异测试——Diffy工具
返回二叉树中最大的二叉搜索子树的根节点
67页新型智慧城市整体规划建设方案(附下载)
Third party payment function test point [Hangzhou multi tester _ Wang Sir] [Hangzhou multi tester]
可知论与熟能生巧
QT 如何将数据导出成PDF文件(QPdfWriter 使用指南)
Integration of revolution and batch normalization
yolov5train. py