Commit Graph

14 Commits

Author SHA1 Message Date
debugtalk
a0121b9007 add unittest to verify cookie persistence 2018-12-17 22:47:30 +08:00
debugtalk
e8e830c5d3 add unittest for request with cookies 2018-12-17 22:29:12 +08:00
debugtalk
9ef84a38e8 remove builtin setup hook: prepare post data 2018-12-17 20:55:19 +08:00
debugtalk
757fc975f1 bugfix: POST content-type is application/x-www-form-urlencoded 2018-11-30 22:46:09 +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
da6c0cb848 encode request data if it is in unicode/str type 2018-03-26 00:10:41 +08:00
debugtalk
8c618d2325 add hook feature:
1, setup_hook: call function before request
2, teardown_hook: call function after request
2018-03-14 11:57:35 +08:00
debugtalk
3e24926dd5 fix #99: if charset is specified in content-type, request data should be encoded with charset encoding 2018-02-24 15:33:18 +08:00
debugtalk
eec69275f3 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
debugtalk
df2f90a4f4 prepare_kwargs: reference kwargs do not need to return 2017-08-29 15:17:52 +08:00
debugtalk
68622f7843 fix travis-ci job 152 2017-08-29 14:57:27 +08:00
debugtalk
530f5bc89c if request content-type is application/json, request data should be dumped 2017-08-28 19:18:06 +08:00
debugtalk
f94f57d102 refactor mock server:
1, remove authentication switcher;
2, change authentication method: from verify request data's md5 to get token at the beginning.
2017-07-22 15:15:05 +08:00
debugtalk
31c73d036e rename test folder to tests 2017-07-20 11:18:09 +08:00