Commit Graph

1921 Commits

Author SHA1 Message Date
debugtalk
9c78e70595 bump version 3.1.4 2020-07-30 11:14:36 +08:00
debugtalk
5ee8caec42 change: override variables strategy, step variables > extracted variables from previous steps 2020-07-30 10:56:38 +08:00
debugtalk
0c595bacaf Merge pull request #972 from WandyYing/master
fixed json support and closes #971
2020-07-28 16:26:26 +08:00
jun
46bba7c42a add unit test and closes #971 2020-07-28 12:49:26 +08:00
jun
5ff154317c fixed json support and closes #971 2020-07-24 16:25:41 +08:00
debugtalk
02544c99db 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
743c54f8ff 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
c12809baa8 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
v3.1.3
2020-07-06 21:58:08 +08:00
debugtalk
2f0575b07d refactor: change param name 2020-07-06 21:30:11 +08:00
debugtalk
85700685bc tests: update examples 2020-07-06 16:16:04 +08:00
debugtalk
4dde8dd2b2 refactor: parameters 2020-07-06 16:15:09 +08:00
debugtalk
fcf29d109a refactor: rename to parameters 2020-07-06 11:53:46 +08:00
debugtalk
8660128e43 change: assert_string_equals expected_value Any 2020-07-06 11:13:14 +08:00
debugtalk
42891569a7 format code 2020-07-06 11:09:20 +08:00
debugtalk
ee67e2b72c fix: raise TestCaseFormatError if teststep validate invalid 2020-07-06 10:50:49 +08:00
debugtalk
d53f65b76d fix: raise TestCaseFormatError if ref testcase is invalid 2020-07-06 10:50:49 +08:00
debugtalk
59efb0d4f9 fix: handle UnicodeDecodeError if failed to decode base64 content with utf-8 2020-07-06 10:50:49 +08:00
debugtalk
fb8bf6c7b6 change: print error log when failed to search with jmespath 2020-07-06 10:50:49 +08:00
debugtalk
d44fd98328 change: github action trigger event 2020-07-06 10:50:49 +08:00
debugtalk
2becf4ecdd bump version 3.1.3 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
23cd0d9e65 Merge pull request #952 from WandyYing/issue/#931
Issue/#931 add new feature "paramters"
2020-07-05 13:10:01 +08:00
jun
c398dafcf3 fixed: #931 unit test parameters 2020-07-03 10:23:10 +08:00
jun
8c65cfe45e test: #931 add test for parameters 2020-07-02 18:11:11 +08:00
jun
28dadc38dc **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
384d4309da 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
v3.1.2
2020-06-29 20:41:22 +08:00
debugtalk
453e1a39c7 change: github action trigger event 2020-06-29 20:34:26 +08:00
debugtalk
4f685a6d81 test: update 2020-06-29 20:25:19 +08:00
debugtalk
289afe19a0 test: add test for ResponseObject, #948 2020-06-29 19:13:50 +08:00
debugtalk
d924726103 tests: update version 2020-06-29 19:11:29 +08:00
debugtalk
9bcacd8ccc change: github action trigger event 2020-06-29 19:11:29 +08:00
debugtalk
36b899b8b4 change: github action trigger event 2020-06-29 19:11:29 +08:00
debugtalk
74c0f3e86d fix: mishandling of request header Content-Length for GET method 2020-06-29 19:11:29 +08:00
debugtalk
d6be5215d1 change: trigger github actions on push and pull_request 2020-06-29 19:11:29 +08:00
debugtalk
c02ba2a85a change: open file in binary mode 2020-06-29 19:11:29 +08:00
debugtalk
be6ec10271 change: replace io.open with open 2020-06-29 19:11:29 +08:00
debugtalk
5238cb369c fix: NameError, name 'locust_main' is not defined 2020-06-29 19:11:29 +08:00
debugtalk
48e308f8d9 fix: compatibility for black on Android termux system that does not support multiprocessing 2020-06-29 19:11:29 +08:00
debugtalk
1aacc28dd1 fix: missing setup/teardown hooks for referenced testcase 2020-06-29 19:11:29 +08:00
debugtalk
d1450ba332 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
9250d6f881 Update response.py
fix -  get response data with jmespath when variable in validate field
2020-06-28 18:04:00 +08:00
debugtalk
10e41e12ce 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
v3.1.1
2020-06-23 16:15:55 +08:00
debugtalk
902a6855f5 bump version 3.1.1 2020-06-23 14:47:58 +08:00
debugtalk
1f90fc9715 fix: unittests for ensure export 2020-06-23 14:43:24 +08:00
debugtalk
f9010888a8 docs: update changelog 2020-06-23 14:36:54 +08:00
debugtalk
5f552de47c fix: avoid duplicate export 2020-06-23 14:34:45 +08:00
debugtalk
8bcfb1f313 fix: override locust weight 2020-06-23 13:27:12 +08:00
debugtalk
95b2c155b4 fix: override referenced testcase export in teststep 2020-06-23 13:07:07 +08:00
debugtalk
bc03b54bfd fix: missing export when ensuring api testcase 2020-06-23 12:52:04 +08:00
debugtalk
c104095836 fix: avoid duplicate import 2020-06-23 12:46:30 +08:00