Commit Graph

1926 Commits

Author SHA1 Message Date
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
debugtalk
2915f8500c test: update 2020-06-29 20:25:19 +08:00
debugtalk
62f0544aaf test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
debugtalk
880a4e9e4a tests: update version 2020-06-29 19:11:29 +08:00
debugtalk
7d39fce20e change: github action trigger event 2020-06-29 19:11:29 +08:00
debugtalk
a1e4039948 change: github action trigger event 2020-06-29 19:11:29 +08:00
debugtalk
1d75e96d4e fix: mishandling of request header Content-Length for GET method 2020-06-29 19:11:29 +08:00
debugtalk
bda1b67da7 change: trigger github actions on push and pull_request 2020-06-29 19:11:29 +08:00
debugtalk
3852849bc1 change: open file in binary mode 2020-06-29 19:11:29 +08:00
debugtalk
804b86d16e change: replace io.open with open 2020-06-29 19:11:29 +08:00
debugtalk
c8dbc5cec3 fix: NameError, name 'locust_main' is not defined 2020-06-29 19:11:29 +08:00
debugtalk
25c10af750 fix: compatibility for black on Android termux system that does not support multiprocessing 2020-06-29 19:11:29 +08:00
debugtalk
2c638ed52c fix: missing setup/teardown hooks for referenced testcase 2020-06-29 19:11:29 +08:00
debugtalk
35db0a67f3 Merge pull request #948 from ArthurSmoke/master
fix -  get response data with jmespath when variable in validate field
2020-06-29 19:03:59 +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
958b81d16f Merge pull request #944 from httprunner/v3
## 3.1.1 (2020-06-23)

**Added**

- feat: add optional message for assertion

**Fixed**

- fix #942: type_match None
- fix: override referenced testcase export in teststep
- fix: avoid duplicate import
- fix: override locust weight
2020-06-23 16:15:55 +08:00
debugtalk
d0326ce29c bump version 3.1.1 2020-06-23 14:47:58 +08:00
debugtalk
4f80acced4 fix: unittests for ensure export 2020-06-23 14:43:24 +08:00
debugtalk
d1e1178555 docs: update changelog 2020-06-23 14:36:54 +08:00