当前位置:网站首页>自动化测试Json通用解析器
自动化测试Json通用解析器
2022-07-22 11:06:00 【it-fans】
由于项目自动化测试的需求,为测试人员开发了一个专用的Json通用解析器,下面是主要使用说明。
使用情境:a、自动化接口测试 把接口响应内容与预期值进行比较判断 (常用)
特性:该Json解析器不依赖响应参数名,可通用任意参数
1、导入项目源码,打开Demo.java、FastJsonDiff.java 按main方法进行测试
2、点击此按钮运行程序
3、如果本地开发环境maven未成功下载fastjson的jar包
则将项目中lib目录下的jar包复制到maven的本地库中
如下是默认情况下maven本地库的地址
有需要, 邮件我。
[email protected]
边栏推荐
- YOLO9000: Better, Faster, Stronger
- Bash basic functions - wildcards and other special symbols
- [GXYCTF2019]BabyUpload1
- [lttng learning journey] - trace control -- advanced
- ssh如何免密登录远程主机
- 操场运动场室外扩声系统方案与功能分析
- Pytorch custom data set loading (label in CSV file)
- Character interception command
- Buuctf breakthrough diary 02-- [hctf 2018] warmup1
- Wechat applet introduction tutorial learning notes - layout basis of UI chapter
猜你喜欢
随机推荐
2020中南大学信息与通信夏令营面试
Juc-7.0-thread collaboration countdownlatch
Application & rich text editor & file upload
8.内存与磁盘管理
Buuctf breakthrough diary --[mrctf2020]ezpop1
编译gdb7.11.1报错解决
校园IP网络广播案例-石家庄法商中等专业学校鹿泉校区校园IP广播系统应用
[LTTng学习之旅]------LTTng的Feature
[lttng learning journey] - trace control - Preliminary
5.网络和安全
MVCC
FPN资料
Bash variable -- position parameter variable
[LTTng学习之旅]------Trace控制--进阶
Bash basic function - Historical command and completion
matlab中 FFT 的意义 学习记录
Bash basic functions - Multi command sequential execution and pipeline compliance
Nssctf-01-[swpuctf 2021 freshman competition]gift_ F12
LeetCode笔记(一)回溯
MySQL connection query using Convert in on causes the number of scan lines to increase