Commit Graph

169 Commits

Author SHA1 Message Date
debugtalk
9aeb64c5a0 refactor: extract field 2018-07-25 19:13:56 +08:00
debugtalk
dee51b6682 refactor: query json content 2018-07-25 17:32:12 +08:00
debugtalk
fe9d5c497b remove exception type: ResponseFailure 2018-07-25 16:47:55 +08:00
debugtalk
b88b66b904 refactor: extract encoding/ok/reason/url 2018-07-25 16:22:08 +08:00
debugtalk
6c7e1be517 refactor: extract content/text/json 2018-07-25 16:10:45 +08:00
debugtalk
c33b81a2b7 refactor: extract headers 2018-07-25 12:18:33 +08:00
debugtalk
a2bd9c2574 refactor: extract elapsed 2018-07-25 12:04:07 +08:00
debugtalk
0b92b38143 refactor: extract cookie 2018-07-25 11:47:10 +08:00
debugtalk
22632d7110 refactor: extract status_code 2018-07-25 11:25:12 +08:00
debugtalk
4a87af51e7 rename excpetion module to exceptions 2018-07-25 10:52:16 +08:00
debugtalk
7478331cb5 group exceptions to 2 types: failure and error 2018-07-25 10:40:20 +08:00
debugtalk
6ae173d637 validate all validators even if failed 2018-07-24 18:04:10 +08:00
debugtalk
e2a46501fb support validate with response time 2018-07-23 21:30:01 +08:00
debugtalk
c7af7b3934 record more info about request and response, and display in report 2018-07-21 11:40:44 +08:00
debugtalk
4ab3666b52 display validators in report log 2018-07-19 23:56:24 +08:00
debugtalk
95db6f22dd refactor report: split test suite to separate tables 2018-07-19 15:15:09 +08:00
debugtalk
696a393776 fix #255: validate with custom functions 2018-06-11 21:52:21 +08:00
debugtalk
6539640fc5 bugfix: strip environment value 2018-06-11 20:00:37 +08:00
debugtalk
faa49ad74d add tests for loading api with hooks 2018-06-10 23:24:30 +08:00
debugtalk
50dfd40705 fix #260: auto remove space in function args 2018-06-02 22:32:07 +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
2dd9413674 update test_load_folder_files 2018-05-30 17:10:28 +08:00
debugtalk
c9354b5293 remove setup_hook_httpntlmauth from built-in hooks 2018-05-14 15:09:11 +08:00
debugtalk
d8c1a66971 bugfix: modify request with setup_hooks 2018-05-14 14:29:26 +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
a414fe56d5 call load_dot_env_file when initializing HttpRunner 2018-05-09 17:21:08 +08:00
debugtalk
29ac00fabf move tests/data/debugtalk.py to tests/debugtalk.py 2018-05-07 15:19:14 +08:00
debugtalk
cb57e4bec2 bugfix #210: SuiteNotFound 2018-05-07 12:10:20 +08:00
debugtalk
37a6615791 fix Python version compability 2018-05-03 16:04:58 +08:00
debugtalk
e1d49010c0 replace online httpbin service with httpbin lib 2018-05-02 17:43:07 +08:00
debugtalk
4b9cc0a9bd refactor testcase layer 2018-05-02 16:29:35 +08:00
debugtalk
915294ebd3 group file functions to utils.FileUtils 2018-04-29 13:30:25 +08:00
debugtalk
84e45dcc47 fix unittest 2018-04-24 20:54:59 +08:00
debugtalk
c0e5678778 fix #139: hooks execution order 2018-04-24 17:00:58 +08:00
debugtalk
bfb9b1e3e1 merge_validator: support checking unhashable values such as dict 2018-04-23 21:28:59 +08:00
debugtalk
84f5000d7a fix #188: display response image in html report 2018-04-22 13:29:41 +08:00
debugtalk
8209fdc207 bugfix: testset file path 2018-04-20 22:05:50 +08:00
debugtalk
0a3f5cc146 fix #191: request data dumps 2018-04-20 22:00:56 +08:00
debugtalk
ffff6fef52 #169: add builtin support for uploading files 2018-04-17 23:20:39 +08:00
debugtalk
de14f2877b refactor function name: load_testcases_by_path => load_testsets_by_path 2018-04-17 21:42:48 +08:00
debugtalk
37d9ea211f call HttpRunner class with testsets data structure other than path 2018-04-17 21:41:02 +08:00
debugtalk
b6450afd0b refactor lib function interface 2018-04-17 16:45:45 +08:00
debugtalk
3eb3a0eb57 add test for type_match comparator #94 2018-03-27 22:56:58 +08:00
debugtalk
2081a34b57 fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +08:00
debugtalk
da6c0cb848 encode request data if it is in unicode/str type 2018-03-26 00:10:41 +08:00
debugtalk
261169b70e refactor compatibility, learned from requests 2018-03-25 21:19:23 +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
0568debaf1 refactor parameterization:
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00