httprunner
|
953a1d54ca
|
fix travis-ci job 152
|
2017-08-29 14:57:27 +08:00 |
|
httprunner
|
1080d620bd
|
bugfix #34: handle exception when response content is empty
|
2017-08-29 14:44:44 +08:00 |
|
httprunner
|
accff05ce0
|
fix pep8
|
2017-08-23 15:42:47 +08:00 |
|
httprunner
|
2e9da796ef
|
bugfix #31: comparator endswith
|
2017-08-22 17:51:31 +08:00 |
|
httprunner
|
73dd8128fa
|
bugfix: Python2 does not support encoding parameter in open function; use codecs.open instead.
|
2017-08-17 21:56:43 +08:00 |
|
httprunner
|
78ac4049c1
|
bugfix: open file with utf-8 encoding
|
2017-08-17 17:15:41 +08:00 |
|
httprunner
|
dfba8143ee
|
make comparator classified
|
2017-08-03 23:56:05 +08:00 |
|
httprunner
|
393fea8d84
|
bugfix: comparison with None should raise exception in Python 2.7
|
2017-08-02 16:44:51 +08:00 |
|
httprunner
|
74d653f94d
|
bugfix: TypeError in match_expected
|
2017-08-02 15:21:37 +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
|
5267d4f5e5
|
restructure code: move code related to testcase from ate/utils.py to ate/testcase.py
|
2017-07-31 22:51:28 +08:00 |
|
httprunner
|
233978007e
|
bugfix: when the bind value of variable is not in string type, it should be converted to string first, or it will raise TypeError in replace function
|
2017-07-31 21:04:19 +08:00 |
|
httprunner
|
c3856f7599
|
bugfix #9: handle string content with multiple variables.
|
2017-07-30 16:18:11 +08:00 |
|
httprunner
|
16307e2ebe
|
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 |
|
httprunner
|
da04c8793e
|
bugfix: variable name and function name could have _
|
2017-07-20 12:24:44 +08:00 |
|
httprunner
|
fc6e4c8eef
|
add match method: startswith
|
2017-07-05 15:14:10 +08:00 |
|
httprunner
|
3e8647e5fd
|
deep_update_dict: update origin dict with override dict recursively
|
2017-07-04 18:28:08 +08:00 |
|
httprunner
|
17bf07f012
|
change variable marker and function marker:
1, variable marker: ${var} => $var;
2, function marker: {'func': 'gen_random_string', 'args': [5]} => ${gen_random_string(5).
|
2017-07-04 16:45:18 +08:00 |
|
httprunner
|
d941f3a3d5
|
parse functions: add support for variable argument
|
2017-07-04 15:17:45 +08:00 |
|
httprunner
|
f80ebdc511
|
add helpers to parse variable and functions
|
2017-07-04 14:45:03 +08:00 |
|
httprunner
|
ae151c3b09
|
match_expected comparator: add len_gt, len_lt, len_ge, len_le, etc.
|
2017-06-30 17:04:20 +08:00 |
|
httprunner
|
038a5d8aef
|
bugfix: length equal
|
2017-06-30 16:57:56 +08:00 |
|
httprunner
|
d21f041437
|
match_expected: add comparator str_len/string_length
|
2017-06-29 17:32:49 +08:00 |
|
httprunner
|
387e5beeab
|
bugfix: match_expected should raise ParamsError when comparator is not supported
|
2017-06-29 17:27:23 +08:00 |
|
httprunner
|
5da07a1652
|
add comparators
|
2017-06-29 16:13:20 +08:00 |
|
httprunner
|
a9c4af3a82
|
change method of checking python version
|
2017-06-29 15:39:14 +08:00 |
|
httprunner
|
67a5de3575
|
refactor: add extract_binds and validators
|
2017-06-29 15:27:26 +08:00 |
|
httprunner
|
246bf5e4e1
|
query_json: Do an xpath-like query with json_content.
|
2017-06-28 21:25:28 +08:00 |
|
httprunner
|
e538a86669
|
move response relevant code to ate/response.py
|
2017-06-28 15:29:40 +08:00 |
|
httprunner
|
93a9872a6c
|
make variables marker unified to be
|
2017-06-27 23:56:59 +08:00 |
|
httprunner
|
dc1ea46036
|
load_testcases_by_path: make compatible with none exist path
|
2017-06-27 19:17:48 +08:00 |
|
httprunner
|
17d6fea218
|
load_testcases_by_path: ignore file path that is not JSON or YAML
|
2017-06-27 18:30:09 +08:00 |
|
httprunner
|
9da315620f
|
update function doc strings
|
2017-06-27 16:14:31 +08:00 |
|
httprunner
|
0cdd1d9c1e
|
load_testcases_by_path: testset has a config dict and a testcases list
|
2017-06-27 11:57:26 +08:00 |
|
httprunner
|
e7ca4f26fd
|
load_testcases_by_path: return testcase sets list, each testset is corresponding to a file
|
2017-06-26 20:57:22 +08:00 |
|
httprunner
|
f2bc07ada5
|
load_testcases_by_path
|
2017-06-26 19:46:23 +08:00 |
|
httprunner
|
e81d682c50
|
gen_md5: pass in *args
|
2017-06-24 19:44:40 +08:00 |
|
httprunner
|
9221265d32
|
bugfix: In Python3, convert request.data(bytes) to str first
|
2017-06-24 12:13:27 +08:00 |
|
httprunner
|
8339b7f2ab
|
handle_req_data: sort data with keys if request data is json type
|
2017-06-24 11:19:20 +08:00 |
|
httprunner
|
e833531e3c
|
move public functions to utils.py
|
2017-06-22 23:08:01 +08:00 |
|
httprunner
|
b72725e139
|
diff http response: body
|
2017-06-21 17:20:50 +08:00 |
|
httprunner
|
908a2e522a
|
change varaible name: response content => response body
|
2017-06-21 16:03:12 +08:00 |
|
httprunner
|
5e03acba5f
|
diff http response: headers
|
2017-06-21 15:56:01 +08:00 |
|
httprunner
|
9a18fd326d
|
diff http response: status code
|
2017-06-21 12:17:51 +08:00 |
|
httprunner
|
f07172c3d2
|
bugfix: make compatible with python 2.7/3.3/3.4
|
2017-06-20 21:04:00 +08:00 |
|
httprunner
|
5834594d6c
|
parse_response_object: load response content as json format if possible
|
2017-06-20 20:24:38 +08:00 |
|
httprunner
|
fdc7824de5
|
add parse_response_object
|
2017-06-20 20:06:36 +08:00 |
|
httprunner
|
0fd8f95e34
|
utils: testcases loader
|
2017-06-20 19:43:44 +08:00 |
|