Comments (3)
@HD-charleschen 生成的用例只有 eq,其它校验方式可以自己写。
http://httprunner.org/write-testcases/#Comparator
from har2case.
作者你好:
由于目前本人的py编码能力较弱, 添加验证方式的时候遇到困难,你的博客里面说改这三个类:然后我看了源码, context.py , validator.py里面都有do_validation 和validate 类,而parse_validator在 testcase类
所以不清楚怎么加上你这边本身就支持的 comparator表里面的其他验证方法。。。
能否抽空截图示意下?
非常感谢
from har2case.
应该不用改了,我已经明白了,不好意思,请无视上面的问题。
from har2case.
Related Issues (16)
- har2case AttributeError HOT 1
- x-www-form-urlencoded处理的问题 HOT 1
- 对转换导出测试用例request中的key进行排序
- har转case时的问题。具体看描述 HOT 3
- 除了post请求,其他请求也需要参数 HOT 1
- 现在生成 validate 的时候,只解析支持 dict 类型的 json 吗 HOT 4
- execute commond error HOT 5
- har转换,缺少cookie信息 HOT 1
- 自定义结果校验器问题
- 我用charles把报文导出为har文件,使用命令行转换文件报错 HOT 1
- exclude支持同时指定多个条件 HOT 1
- firefox导出的har和fiddler导出的har有些区别,其中fiddler导出har是可以转换的,firefox不行,具体情况下面详述。 HOT 2
- python2的转换的yaml文件结果不太友好啊 HOT 1
- POST二进制的用例转换报错 HOT 5
- 中文使用手册中 demo-quickstart-6.json 和 demo-quickstart-6.yml无法查看 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from har2case.