Commit Graph

87 Commits

Author SHA1 Message Date
YangHuaiyu
e0d0f009ce support custom requests.Response attr. 2022-07-06 08:48:04 +08:00
debugtalk
54eebaa9ce fix: uniform_validator 2022-06-17 22:20:43 +08:00
duanchao.bill
2f8f042765 fix:修改SqlResponseObject继承关系;添加thriftpy2依赖 2022-04-27 17:37:14 +08:00
duanchao.bill
3a3d48228b black . 2022-04-27 11:51:12 +08:00
duanchao.bill
4b9433fa72 add:sql and thrift as step 2022-04-26 17:59:20 +08:00
debugtalk
5073308b03 refactor: reformat all code with black 2022-04-23 15:20:13 +08:00
debugtalk
e8e28c4326 change: sync changes from v3.1.9 2022-04-17 15:17:16 +08:00
debugtalk
1a586482f0 refactor: make step extensible to support implementing new protocols and test types for python version 2022-04-01 22:47:47 +08:00
debugtalk
fbe6b51b7a fix: remove misuse of NoReturn in Python typing 2022-03-25 19:10:28 +08:00
lihuacai
0bad623780 feat: response extract expresion support variable and function 2021-09-01 15:29:23 +08:00
xucong053
c453da3d5f add a line break 2021-07-13 21:40:41 +08:00
xucong053
ae41de3926 fix: _search_jmespath add expr verificaion
_search_jmespath():input-->output
before:"success"-->None
after:"success"-->"success"
2021-07-13 20:28:46 +08:00
debugtalk
462f52283b change: print error log when failed to search with jmespath 2020-07-06 10:50:49 +08:00
debugtalk
3229a26e89 fix: validate with variable or function whose evaluation result is "" or not text 2020-07-06 10:50:49 +08:00
debugtalk
62f0544aaf test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
Arthur Feng
f4bb6c5e6a Update response.py
fix -  get response data with jmespath when variable in validate field
2020-06-28 18:04:00 +08:00
debugtalk
d11aca83c0 feat: add optional message for assertion 2020-06-23 11:49:04 +08:00
debugtalk
45d1f3ed65 feat: support alter response in teardown hooks 2020-06-07 21:39:46 +08:00
debugtalk
528ddd0c67 refactor: rename schema to models 2020-06-05 10:38:12 +08:00
debugtalk
7476dc1343 feat: add builtin comparators for StepValidation 2020-06-03 18:00:46 +08:00
debugtalk
f2034426d5 change: builtin comparator equal 2020-06-03 16:50:53 +08:00
debugtalk
47cc964ecf fix: convert jmespath.search result to int/float 2020-06-03 16:50:53 +08:00
debugtalk
8b3c4442ae fix: ensure pytest files are in python module, generate __init__.py on demand 2020-05-27 21:03:58 +08:00
debugtalk
5cfa80991a fix: validate field with variable or function 2020-05-27 19:53:29 +08:00
debugtalk
3032974b73 fix: ensure compatibility issues between testcase format v2 and v3 2020-05-27 18:52:45 +08:00
debugtalk
d8ad62d7db bump version to 3.0.4 2020-05-19 15:51:20 +08:00
debugtalk
092dc299c6 fix: extract response cookies 2020-05-18 10:48:27 +08:00
debugtalk
0e5ca838fb change: remove locust temporarily 2020-05-15 22:48:59 +08:00
debugtalk
1c97e0bbfe change: format code with balck 2020-05-14 14:21:35 +08:00
debugtalk
a95d4137c1 change: http client with pydantic models 2020-05-14 00:11:13 +08:00
debugtalk
826fca83c2 refactor: merge v3 2020-04-23 21:53:03 +08:00
debugtalk
e3ac76d176 fix unittests 2020-03-07 22:51:47 +08:00
debugtalk
d1fb5e6cdc change: remove support for Python 2.7 2020-03-07 17:05:07 +08:00
debugtalk
7213f86f80 change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk
25b2fcd0f5 fix: extract with jsonpath 2020-02-21 20:44:43 +08:00
debugtalk
51d79871cf change: reformat code 2019-12-24 21:33:00 +08:00
debugtalk
0e39517d27 feat: add keyword 'body' to reference response body
change: unify response field(content/json/text) to 'body' in html report
2019-12-17 22:35:25 +08:00
debugtalk
6ea6a084c1 fix: Non-ASCII character when no encoding declared 2019-10-26 21:19:12 +08:00
debugtalk
1e33ae54e4 fix: missed import OrderedDict 2019-10-26 00:14:02 +08:00
debugtalk
ff75c13543 change: remove unused imports 2019-10-04 23:12:20 +08:00
debugtalk
83c03ae00e Merge branch 'master' into master 2019-09-19 00:29:42 +08:00
debugtalk
710a3762a4 fix: remove unused import 2019-08-07 21:54:53 +08:00
hunter chen
dc60191b42 add jsonpath 2019-08-07 21:21:43 +08:00
hunter chen
e27b355de5 add jsonpath extraction from response 2019-08-07 21:17:49 +08:00
debugtalk
2538743c6b update omitting request & response length:
1, request: only omit upload file type;
2, response: keep raw content for extracting; omit in summary
2018-12-28 16:15:18 +08:00
debugtalk
2e655dca06 omit request and response data length greater than 512 2018-12-13 16:19:17 +08:00
debugtalk
0b30e5c96b get response cookies dict in debugtalk.py 2018-12-04 12:59:47 +08:00
debugtalk
7b10b75200 fix #411: validation does not display when validation failed 2018-11-28 21:23:40 +08:00
debugtalk
23cf17cb39 convert docstring to Google style 2018-11-23 22:52:23 +08:00
debugtalk
1578b78f54 ensure variables are in mapping format. 2018-11-14 16:15:04 +08:00