Commit Graph

82 Commits

Author SHA1 Message Date
debugtalk
418a16fcee refactor: reformat all code with black 2022-04-23 15:20:13 +08:00
debugtalk
e48ac54d04 change: sync changes from v3.1.9 2022-04-17 15:17:16 +08:00
debugtalk
d36c1cb987 refactor: make step extensible to support implementing new protocols and test types for python version 2022-04-01 22:47:47 +08:00
debugtalk
3d0c6a0d21 fix: remove misuse of NoReturn in Python typing 2022-03-25 19:10:28 +08:00
lihuacai
e60ea26492 feat: response extract expresion support variable and function 2021-09-01 15:29:23 +08:00
xucong053
1c029240b2 add a line break 2021-07-13 21:40:41 +08:00
xucong053
e4c8171b17 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
fb8bf6c7b6 change: print error log when failed to search with jmespath 2020-07-06 10:50:49 +08:00
debugtalk
5673c0ca92 fix: validate with variable or function whose evaluation result is "" or not text 2020-07-06 10:50:49 +08:00
debugtalk
289afe19a0 test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
Arthur Feng
9250d6f881 Update response.py
fix -  get response data with jmespath when variable in validate field
2020-06-28 18:04:00 +08:00
debugtalk
e3a9ee0116 feat: add optional message for assertion 2020-06-23 11:49:04 +08:00
debugtalk
5c06b91b62 feat: support alter response in teardown hooks 2020-06-07 21:39:46 +08:00
debugtalk
992f17dc92 refactor: rename schema to models 2020-06-05 10:38:12 +08:00
debugtalk
5869b37d50 feat: add builtin comparators for StepValidation 2020-06-03 18:00:46 +08:00
debugtalk
e1e7ba7bea change: builtin comparator equal 2020-06-03 16:50:53 +08:00
debugtalk
c303fc72e4 fix: convert jmespath.search result to int/float 2020-06-03 16:50:53 +08:00
debugtalk
082cb12e7f fix: ensure pytest files are in python module, generate __init__.py on demand 2020-05-27 21:03:58 +08:00
debugtalk
f43ac3b9c1 fix: validate field with variable or function 2020-05-27 19:53:29 +08:00
debugtalk
81608b3bd5 fix: ensure compatibility issues between testcase format v2 and v3 2020-05-27 18:52:45 +08:00
debugtalk
aa8a21577e bump version to 3.0.4 2020-05-19 15:51:20 +08:00
debugtalk
e345bcef50 fix: extract response cookies 2020-05-18 10:48:27 +08:00
debugtalk
6bc4be59ff change: remove locust temporarily 2020-05-15 22:48:59 +08:00
debugtalk
9ba550bd9f change: format code with balck 2020-05-14 14:21:35 +08:00
debugtalk
bdd8b53d89 change: http client with pydantic models 2020-05-14 00:11:13 +08:00
debugtalk
0861e6b687 refactor: merge v3 2020-04-23 21:53:03 +08:00
debugtalk
9047d02eaf fix unittests 2020-03-07 22:51:47 +08:00
debugtalk
c4e2e74f39 change: remove support for Python 2.7 2020-03-07 17:05:07 +08:00
debugtalk
07fd45092d change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk
219b5c7966 fix: extract with jsonpath 2020-02-21 20:44:43 +08:00
debugtalk
6f42703e76 change: reformat code 2019-12-24 21:33:00 +08:00
debugtalk
48066205a9 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
32bff3d088 fix: Non-ASCII character when no encoding declared 2019-10-26 21:19:12 +08:00
debugtalk
2aa0ccf3bd fix: missed import OrderedDict 2019-10-26 00:14:02 +08:00
debugtalk
b2221f2815 change: remove unused imports 2019-10-04 23:12:20 +08:00
debugtalk
7e29adb5eb Merge branch 'master' into master 2019-09-19 00:29:42 +08:00
debugtalk
3115d0fc07 fix: remove unused import 2019-08-07 21:54:53 +08:00
hunter chen
045ca65713 add jsonpath 2019-08-07 21:21:43 +08:00
hunter chen
b541733b1c add jsonpath extraction from response 2019-08-07 21:17:49 +08:00
debugtalk
c68e7be512 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
763d41617c omit request and response data length greater than 512 2018-12-13 16:19:17 +08:00
debugtalk
9e6ffd8a39 get response cookies dict in debugtalk.py 2018-12-04 12:59:47 +08:00
debugtalk
0a9c6994b1 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
debugtalk
6f3dbacf67 refactor: pipeline 2018-08-21 17:39:12 +08:00
debugtalk
243515a2ec relocate testcase parser 2018-08-05 11:46:27 +08:00
debugtalk
c9fbceb92c bugfix: make compatible with Python 2.7 2018-08-02 13:34:12 +08:00
debugtalk
52448357d0 refactor teardown_hooks set attribute: remove response attributes interlayer 2018-07-27 12:10:45 +08:00
debugtalk
4c53150ebb add TeardownHooksFailure exception 2018-07-27 11:41:59 +08:00