Commit Graph

32 Commits

Author SHA1 Message Date
httprunner
471bf0e2de fix unittest for httpbin response time 2018-09-10 07:51:48 +08:00
httprunner
7590f4772b fix unittest 2018-09-06 11:52:06 +08:00
httprunner
b92c234951 remove functions from utils 2018-08-11 17:29:48 +08:00
httprunner
febac4389d replace filter_module with load_python_module 2018-08-09 00:23:09 +08:00
httprunner
0079c2ebd7 remove get_imported_module 2018-08-08 14:31:20 +08:00
httprunner
abc304957e fix unstability in unittest 2018-08-03 23:42:20 +08:00
httprunner
9975c3dd7b bugfix: make compatible with Python 2.7 2018-08-02 13:34:12 +08:00
httprunner
fd1a722897 fix #279 #288: do not install httpbin as default, make compatible with Windows 2018-08-02 11:44:49 +08:00
httprunner
61deb3ab9d define httpbin host and port in one place 2018-08-02 11:29:01 +08:00
httprunner
58594905ca refactor: extract field 2018-07-25 19:13:56 +08:00
httprunner
85bb37194d refactor: query json content 2018-07-25 17:32:12 +08:00
httprunner
93bb6330d2 refactor: extract encoding/ok/reason/url 2018-07-25 16:22:08 +08:00
httprunner
7f640de79e refactor: extract content/text/json 2018-07-25 16:10:45 +08:00
httprunner
077cae3ca1 refactor: extract headers 2018-07-25 12:18:33 +08:00
httprunner
95a4740525 refactor: extract elapsed 2018-07-25 12:04:07 +08:00
httprunner
aff69944b8 refactor: extract cookie 2018-07-25 11:47:10 +08:00
httprunner
d5616b3a16 refactor: extract status_code 2018-07-25 11:25:12 +08:00
httprunner
3c17aa649c rename excpetion module to exceptions 2018-07-25 10:52:16 +08:00
httprunner
e6a834c6c6 group exceptions to 2 types: failure and error 2018-07-25 10:40:20 +08:00
httprunner
89cc9a2d1e 1.4.5:
1, refactor ResponseObject;
2, response can be modified in teardown_hooks.
2018-05-31 00:36:10 +08:00
httprunner
6ac43e39ea #29: refactor validator:
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
httprunner
155ad0167e #29: refactor validator, now support custom defined validators 2017-12-12 20:06:54 +08:00
httprunner
b262ae5e5e validate: set expect as alias for expected 2017-11-13 20:56:46 +08:00
httprunner
e8db476867 rename package name from ate to httprunner 2017-11-07 11:01:23 +08:00
httprunner
577cb01dcf extractor: add support to extract value from html text with regex string 2017-10-31 23:26:38 +08:00
httprunner
c53ff6992b make extract_response return as ordered dict 2017-09-19 18:05:12 +08:00
httprunner
1080d620bd bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +08:00
httprunner
4d471d7cda optimize response validation: if validation failed, then raise ValidationError directly 2017-08-02 15:10:38 +08:00
httprunner
a18c7bc62f optimize exception type 2017-08-02 14:19:14 +08:00
httprunner
cd27f325eb optimize response validation 2017-08-02 13:33:07 +08:00
httprunner
4849a25ea2 refactor variable context:
1, variable context has two level, testset and testcase;
2, testset level variables can be used in whole test suite, while testcase level variables can only be used in testcase;
3, when variable binds with functions, the funtions will be called and the result will be set to the variable.
2017-07-20 22:43:18 +08:00
httprunner
95649800e1 rename test folder to tests 2017-07-20 11:18:09 +08:00