debugtalk
c537a50cc0
**Added**
...
- feat: implement global hooks `setup_testcase/teardown_testcase`, called before/after each testcase
- feat: implement global hooks `setup_teststep/teardown_teststep`, called before/after each teststep
**Changed**
- remove default header `HRUN-Request-ID`, implement the same function with global hooks
2020-04-17 21:56:20 +08:00
debugtalk
7ba22b1389
change: update unit tests for removing v1 format
2020-04-09 12:06:34 +08:00
debugtalk
ad7fa34b30
change: upload file
2019-12-12 21:58:07 +08:00
debugtalk
f07d9abcbd
change: remove test which has compatibility problem in Python 2.7 temporarily
2019-12-12 19:10:03 +08:00
debugtalk
92b5400e42
test: add upload tests in v2 format
2019-12-12 17:38:56 +08:00
debugtalk
26a5d39bd7
fix: unittest for upload httpbin
2019-12-12 17:35:31 +08:00
debugtalk
ff24fdb9d7
2.4.0
...
feat: validate with python script, ref #773
2019-12-04 17:38:13 +08:00
debugtalk
d7abc3e4ca
2.3.3
...
fix #768 : dump json file path error when folder name contains dot, such as a.b.c
2019-12-04 12:57:50 +08:00
fengyu
d513713ecf
增加#430修复代码测试案例
2019-11-05 19:08:07 +08:00
debugtalk
47ab44e30d
fix: unittests with host debugtalk.com
2019-07-18 18:23:15 +08:00
debugtalk
ce83c7b05f
fix: display api name when running api as testcase
2019-04-18 16:28:11 +08:00
debugtalk
75aa036548
support both "validate" and "validators"
2019-04-11 12:30:08 +08:00
debugtalk
e58e87befe
refactor upload files with requests-toolbelt:
...
1, Simplify usage syntax;
2, support upload multiple fields.
2019-04-11 12:25:20 +08:00
debugtalk
3d1c7f368c
feat: implement lazy parser for validators
2019-04-08 12:12:09 +08:00
debugtalk
850b9972fd
update unittest for api base_url
2018-12-27 16:39:37 +08:00
debugtalk
7eafa1678f
add unittest for request with params
2018-12-21 18:54:05 +08:00
debugtalk
05d2cc014d
enhance report: display all 30X redirect request and response
2018-12-20 17:59:11 +08:00
debugtalk
dcd50579a1
add unittest for running single api
2018-12-16 00:38:02 +08:00
debugtalk
2ec2d3c2d8
make variables in testcase template compatible with mapping style:
...
new mapping style:
"variables": {
"a": 1,
"b": 2
}
Also, the former list style is still valid:
"variables": [
{"a": 1},
{"b": 2}
]
2018-11-28 12:14:06 +08:00
debugtalk
4099ade49d
HttpRunner 2.0 is comming!
...
1, new design for testcase format;
2, refactor testcase layer mechanism.
2018-11-22 19:25:00 +08:00
debugtalk
822df7005a
remove obsolete key words: variable_binds, extractors, extract_binds, validators
2018-11-15 20:35:44 +08:00
debugtalk
626612061e
remove debugtalk.py variables mechanism
2018-11-15 14:48:44 +08:00
debugtalk
05bca2276f
fix #112 : RecursionError when running locust
2018-09-06 08:53:08 +08:00
debugtalk
45374cd71d
fix #278 : len_eq for content
2018-08-23 19:24:11 +08:00
debugtalk
6f3dbacf67
refactor: pipeline
2018-08-21 17:39:12 +08:00
debugtalk
f071c02513
define httpbin host and port in one place
2018-08-02 11:29:01 +08:00
debugtalk
6c7e1be517
refactor: extract content/text/json
2018-07-25 16:10:45 +08:00
debugtalk
0b3c6665c2
1.4.5:
...
1, refactor ResponseObject;
2, response can be modified in teardown_hooks.
2018-05-31 00:36:10 +08:00
debugtalk
41be67b627
fix #173 : testset hook in config block
2018-05-11 00:44:08 +08:00
debugtalk
dcc1e70181
refactor hook mechanism:
...
1, remove EventHook;
2, setup_hooks: could reference request dict;
3, teardown_hooks: could reference Response object.
2018-05-10 13:40:47 +08:00
debugtalk
ce995a798f
remove tests/httpbin/debugtalk.py
2018-05-10 12:39:37 +08:00
debugtalk
e1d49010c0
replace online httpbin service with httpbin lib
2018-05-02 17:43:07 +08:00
debugtalk
c0e5678778
fix #139 : hooks execution order
2018-04-24 17:00:58 +08:00
debugtalk
84f5000d7a
fix #188 : display response image in html report
2018-04-22 13:29:41 +08:00
debugtalk
ffff6fef52
#169 : add builtin support for uploading files
2018-04-17 23:20:39 +08:00