Commit Graph

50 Commits

Author SHA1 Message Date
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
1c8d38a2c8 bugfix: stringfy data before generating report 2018-07-21 12:57:55 +08:00
debugtalk
c7af7b3934 record more info about request and response, and display in report 2018-07-21 11:40:44 +08:00
debugtalk
b48dbc27b8 convert datetime object to string in summary data structure 2018-07-20 18:15:22 +08:00
debugtalk
97e884de61 display parameters and output in report 2018-07-20 11:09:42 +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
9819a3247d fix #269: display the former url when the current testcase failed 2018-07-01 22:52:25 +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
0b3c6665c2 1.4.5:
1, refactor ResponseObject;
2, response can be modified in teardown_hooks.
2018-05-31 00:36:10 +08:00
debugtalk
ca39577175 bugfix: make compatible with download api that response in bytes 2018-05-14 17:14:44 +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
a414fe56d5 call load_dot_env_file when initializing HttpRunner 2018-05-09 17:21:08 +08:00
debugtalk
cb57e4bec2 bugfix #210: SuiteNotFound 2018-05-07 12:10:20 +08:00
debugtalk
1164fab267 release 1.4.0 2018-05-03 16:12:18 +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
bfb9b1e3e1 merge_validator: support checking unhashable values such as dict 2018-04-23 21:28:59 +08:00
debugtalk
4a414e3604 refactor report template: display request and response data in popup table 2018-04-22 12:12:04 +08:00
debugtalk
b6450afd0b refactor lib function interface 2018-04-17 16:45:45 +08:00
debugtalk
ddfec58cc3 rename arg name: --cpu-cores => --processes 2018-04-11 22:53:46 +08:00
debugtalk
3882f41614 fix #155: XSS in Jinja2 rendering 2018-04-10 10:55:50 +08:00
debugtalk
787bf01286 bugfix: when variable reference in testcase name is extracted from former testcase, exception will occur 2018-04-02 16:28:46 +08:00
debugtalk
2081a34b57 fix #131: parameter data driven with pair keys 2018-03-27 22:39:43 +08:00
debugtalk
f5600aea03 bugfix #132: skip serialize class instance, e.g. MultipartEncoder 2018-03-27 15:56:08 +08:00
debugtalk
da6c0cb848 encode request data if it is in unicode/str type 2018-03-26 00:10:41 +08:00
debugtalk
01dda7b92d print python 2 retire message as warning 2018-03-25 23:07:07 +08:00
debugtalk
261169b70e refactor compatibility, learned from requests 2018-03-25 21:19:23 +08:00
debugtalk
1c44ae764b refactor: load csv file with csv.DictReader 2018-03-22 21:28:46 +08:00
debugtalk
7ca84de35e Prettify JSON testset format 2018-03-22 16:25:49 +08:00
debugtalk
7f2d2b10ab Validate JSON testset format 2018-03-22 15:49:03 +08:00
debugtalk
2edb05cf68 release 1.2.3 2018-03-22 11:55:31 +08:00
debugtalk
f177ffe680 fix #120: UnicodeEncodeError occured when response text contains Chinese in Python 2 2018-03-21 22:34:49 +08:00
debugtalk
6d05ac32dc add setup_hook_prepare_kwargs as default setup hook 2018-03-21 20:12:58 +08:00
debugtalk
8b7bbb4171 print warning message when no testcase found 2018-03-21 14:21:50 +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
9848256dc8 update version 2018-03-12 15:58:25 +08:00
debugtalk
dccfe4aaf1 bugfix 2018-03-09 15:49:37 +08:00
debugtalk
06ccff9be1 check parameters format. 2018-03-08 23:22:09 +08:00
debugtalk
0568debaf1 refactor parameterization:
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00
debugtalk
f53baaf757 refactor parameterization:
parameter value now can be in three types:
(1) data list
(2) call built-in parameterize function
(3) call custom function in debugtalk.py
2018-03-07 16:21:51 +08:00
debugtalk
1de4d6c6cc add setup.py upload support 2018-03-05 12:24:33 +08:00
debugtalk
f1cac82a15 #106: support builtin functions 2018-02-28 23:56:10 +08:00
debugtalk
41c979e897 upgrade to 0.9.7: support .env file 2018-02-27 16:36:05 +08:00
debugtalk
10efc8f772 add runtime env to report 2018-02-27 10:47:34 +08:00
debugtalk
b3d4eecdfd fix #104: popup ids are the same in default template 2018-02-26 23:16:36 +08:00
debugtalk
68227f6c0e bugfix: instal with dependencies 2018-02-26 22:38:17 +08:00