xucong053
dd6b82425a
fix #1059 : data type hint correction
...
reference runner.py: step_data.data = case_result.get_step_datas() # list of step data
change: List[SessionData] --> List['StepData']
2021-07-14 21:36:44 +08:00
xucong053
1dbc5158d9
fix:add list2json for better display
2021-07-13 22:02:27 +08:00
xucong053
aba5cf67bd
fix:resolved list read error caused by Pydantic.BaseModel #1079
2021-07-13 21:54:20 +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
9589f528e5
Merge pull request #1086 from Bu1eCat/master
...
解决response的dict中如果包含有汉字,显示转义错误的问题
2021-06-27 00:39:09 +08:00
debugtalk
1742791e5c
Merge pull request #1091 from httprunner/feat-add-brotli
...
fix: decode brotli encoding
2021-06-27 00:08:41 +08:00
debugtalk
f49b7be49f
change: update changelog
2021-06-27 00:06:35 +08:00
debugtalk
58b71ef8e6
feat: add brotli
2021-06-27 00:02:34 +08:00
huangdabiao
dbc26ae798
解决response的dict中如果包含有汉字,显示转义错误的问题
2021-06-10 10:32:11 +08:00
debugtalk
f633815278
change: update sponsor png
2021-01-28 22:30:58 +08:00
debugtalk
69b47d4ae0
Merge pull request #1040 from httprunner/dev
...
add docs
2021-01-28 18:31:07 +08:00
debugtalk
30bbc2c72c
Merge pull request #1031 from rihkddd/master
...
fix: comparator contained_by should assert the type of expect_vaule.
2021-01-28 18:03:30 +08:00
debugtalk
cf06c816ea
Merge pull request #1047 from tialias/1012_issue_fix
...
fix:ResponseData body add list type
2021-01-28 18:01:37 +08:00
liangliang tian
a82aee24d3
fix:ResponseData body add list type
2020-12-09 17:53:26 +08:00
01382037
476578f14a
tests: add test
2020-11-11 16:16:52 +08:00
01382037
424d48692d
fix: comparator contained_by should assert the type of expect_vaule.
2020-11-11 16:09:50 +08:00
debugtalk
a360c8f280
docs: add concept of debugtalk.py
2020-07-30 14:19:40 +08:00
debugtalk
58ac2c4733
docs: add concept of variables priority
2020-07-30 13:33:46 +08:00
debugtalk
414534f814
Merge pull request #975 from httprunner/dev
...
## 3.1.4 (2020-07-30)
**Changed**
- change: override variables strategy, step variables > extracted variables from previous steps
**Fixed**
- fix: parameters feature with custom functions
- fix: request json field with variable reference
- fix: pickle BufferedReader TypeError in upload feature
2020-07-30 12:16:04 +08:00
debugtalk
19cf680c86
fix: change scaffold demo with overriding variables strategy changes
2020-07-30 11:46:27 +08:00
debugtalk
47ee777085
fix: pickle BufferedReader TypeError in upload feature
2020-07-30 11:40:32 +08:00
debugtalk
17ea5c594e
fix: save extracted variables to session variables
2020-07-30 11:32:30 +08:00
debugtalk
d0b439f8f4
bump version 3.1.4
2020-07-30 11:14:36 +08:00
debugtalk
de20ad8d2b
change: override variables strategy, step variables > extracted variables from previous steps
2020-07-30 10:56:38 +08:00
debugtalk
07190ec6c9
Merge pull request #972 from WandyYing/master
...
fixed json support and closes #971
2020-07-28 16:26:26 +08:00
jun
fa30ce3bc7
add unit test and closes #971
2020-07-28 12:49:26 +08:00
jun
ac9664e842
fixed json support and closes #971
2020-07-24 16:25:41 +08:00
debugtalk
6b432a07cc
Merge pull request #963 from pluckhuang/patch-2
...
fix: ensure that debugtalk.py can be loaded into the project running *.py testcases with parameters feature
2020-07-22 11:02:12 +08:00
pluckhuang
8ec5233bfd
Update parser.py
...
ensure that debugtalk.py can be loaded into the project running *.py testcases with parameters feature
2020-07-14 16:44:57 +08:00
debugtalk
1b81788b99
Merge pull request #955 from httprunner/dev
...
## 3.1.3 (2020-07-06)
**Added**
- feat: implement `parameters` feature
**Fixed**
- fix: validate with variable or function whose evaluation result is "" or not text
- fix: raise TestCaseFormatError if teststep validate invalid
- fix: raise TestCaseFormatError if ref testcase is invalid
2020-07-06 21:58:08 +08:00
debugtalk
518d8abfd2
refactor: change param name
2020-07-06 21:30:11 +08:00
debugtalk
beef0f0a99
tests: update examples
2020-07-06 16:16:04 +08:00
debugtalk
0fc42f77cd
refactor: parameters
2020-07-06 16:15:09 +08:00
debugtalk
b39a806159
refactor: rename to parameters
2020-07-06 11:53:46 +08:00
debugtalk
bf62b59b68
change: assert_string_equals expected_value Any
2020-07-06 11:13:14 +08:00
debugtalk
d71591f170
format code
2020-07-06 11:09:20 +08:00
debugtalk
134f3c6fb3
fix: raise TestCaseFormatError if teststep validate invalid
2020-07-06 10:50:49 +08:00
debugtalk
b870227ce3
fix: raise TestCaseFormatError if ref testcase is invalid
2020-07-06 10:50:49 +08:00
debugtalk
0271e540c7
fix: handle UnicodeDecodeError if failed to decode base64 content with utf-8
2020-07-06 10:50:49 +08:00
debugtalk
462f52283b
change: print error log when failed to search with jmespath
2020-07-06 10:50:49 +08:00
debugtalk
8d9dcfaca9
change: github action trigger event
2020-07-06 10:50:49 +08:00
debugtalk
51b1aed889
bump version 3.1.3
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
5c6b2931f5
Merge pull request #952 from WandyYing/issue/#931
...
Issue/#931 add new feature "paramters"
2020-07-05 13:10:01 +08:00
jun
4595022f62
fixed : #931 unit test parameters
2020-07-03 10:23:10 +08:00
jun
1c23d20933
test: #931 add test for parameters
2020-07-02 18:11:11 +08:00
jun
e64a606516
**Add**
...
- New feature: config part support "parameters". example: examples\postman_echo\request_methods\request_with_parameters.yml
2020-07-02 10:51:17 +08:00
debugtalk
f3d7bb5410
Merge pull request #949 from httprunner/v3
...
## 3.1.2 (2020-06-29)
**Fixed**
- fix: missing setup/teardown hooks for referenced testcase
- fix: compatibility for `black` on Android termux that does not support multiprocessing well
- fix: mishandling of request header `Content-Length` for GET method
- fix: validate with jmespath containing variable or function, e.g. `body.locations[$index].name`
**Changed**
- change: import locust at beginning to monkey patch all modules
- change: open file in binary mode
2020-06-29 20:41:22 +08:00
debugtalk
c07e4ae950
change: github action trigger event
2020-06-29 20:34:26 +08:00