Commit Graph

176 Commits

Author SHA1 Message Date
httprunner
35006a313e refactor teardown_hooks set attribute: remove response attributes interlayer 2018-07-27 12:10:45 +08:00
httprunner
bc56a7501b add TeardownHooksFailure exception 2018-07-27 11:41:59 +08:00
httprunner
3a2e07afcb bugfix: set repsonse attribute 2018-07-26 22:33:35 +08:00
httprunner
f3ef2ec821 update test data filename 2018-07-26 15:27:39 +08:00
httprunner
29073d7111 deprecate function_binds 2018-07-26 15:23:03 +08:00
httprunner
adb72e7d75 deprecate requires 2018-07-26 15:17:50 +08:00
httprunner
7ed962e803 deprecate import_module_items 2018-07-26 15:08:04 +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
007cfd9d1b remove exception type: ResponseFailure 2018-07-25 16:47:55 +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
b6e306fd38 validate all validators even if failed 2018-07-24 18:04:10 +08:00
httprunner
705df59ca1 support validate with response time 2018-07-23 21:30:01 +08:00
httprunner
8bdb05faf0 record more info about request and response, and display in report 2018-07-21 11:40:44 +08:00
httprunner
d198174ec0 display validators in report log 2018-07-19 23:56:24 +08:00
httprunner
834154cc4e refactor report: split test suite to separate tables 2018-07-19 15:15:09 +08:00
httprunner
28ae4d0c97 fix #255: validate with custom functions 2018-06-11 21:52:21 +08:00
httprunner
a202fc0866 bugfix: strip environment value 2018-06-11 20:00:37 +08:00
httprunner
230478edfa add tests for loading api with hooks 2018-06-10 23:24:30 +08:00
httprunner
6291c07109 fix #260: auto remove space in function args 2018-06-02 22:32:07 +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
c23016f3c1 update test_load_folder_files 2018-05-30 17:10:28 +08:00
httprunner
b9a1c839bd remove setup_hook_httpntlmauth from built-in hooks 2018-05-14 15:09:11 +08:00
httprunner
ae0e6e8049 bugfix: modify request with setup_hooks 2018-05-14 14:29:26 +08:00
httprunner
2900f5b955 fix #173: testset hook in config block 2018-05-11 00:44:08 +08:00
httprunner
2bb84b3874 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
httprunner
9bd0041eea remove tests/httpbin/debugtalk.py 2018-05-10 12:39:37 +08:00
httprunner
a223ca04d3 call load_dot_env_file when initializing HttpRunner 2018-05-09 17:21:08 +08:00
httprunner
901eaab220 move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
httprunner
1c7c65523e bugfix #210: SuiteNotFound 2018-05-07 12:10:20 +08:00
httprunner
017e6dc0ec fix Python version compability 2018-05-03 16:04:58 +08:00
httprunner
aff902d43c replace online httpbin service with httpbin lib 2018-05-02 17:43:07 +08:00
httprunner
7e263a0cbc refactor testcase layer 2018-05-02 16:29:35 +08:00
httprunner
d8ae4c0660 group file functions to utils.FileUtils 2018-04-29 13:30:25 +08:00
httprunner
48d1790695 fix unittest 2018-04-24 20:54:59 +08:00
httprunner
99d66db9b2 fix #139: hooks execution order 2018-04-24 17:00:58 +08:00
httprunner
e263021c3b merge_validator: support checking unhashable values such as dict 2018-04-23 21:28:59 +08:00
httprunner
e1bcb74c5f fix #188: display response image in html report 2018-04-22 13:29:41 +08:00
httprunner
2a20afb58e bugfix: testset file path 2018-04-20 22:05:50 +08:00
httprunner
43db00e4c1 fix #191: request data dumps 2018-04-20 22:00:56 +08:00
httprunner
e80dc2b262 #169: add builtin support for uploading files 2018-04-17 23:20:39 +08:00
httprunner
5dfdd6ad93 refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
httprunner
a92f382571 call HttpRunner class with testsets data structure other than path 2018-04-17 21:41:02 +08:00