Commit Graph

1898 Commits

Author SHA1 Message Date
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
debugtalk
e3a9ee0116 feat: add optional message for assertion 2020-06-23 11:49:04 +08:00
debugtalk
2b75d78df0 fix #942: type_match None 2020-06-21 15:07:54 +08:00
debugtalk
6710eba1fc Merge pull request #943 from httprunner/v3
## 3.1.0 (2020-06-21)

**Added**

- feat: integrate [locust](https://locust.io/) v1.0

**Changed**

- change: make converted referenced pytest files always relative to ProjectRootDir
- change: log function details when call function failed
- change: do not raise error if failed to get client/server address info
v3.1.0
2020-06-21 12:40:10 +08:00
debugtalk
fb57b11c23 docs: update changelog 2020-06-21 12:34:41 +08:00
debugtalk
fc3d925234 change: add logs 2020-06-21 12:29:21 +08:00
debugtalk
788cd21d5b fix: check config type 2020-06-21 11:54:14 +08:00
debugtalk
a2637fd4ee change: use private method 2020-06-21 11:47:07 +08:00
debugtalk
601f6290c5 change: log function details when call failed 2020-06-21 11:23:01 +08:00
debugtalk
4ff9770c64 change: make converted referenced pytest files always relative to project RootDir 2020-06-21 10:58:42 +08:00
debugtalk
6a6bb49c66 change: code location 2020-06-20 00:33:42 +08:00
debugtalk
674ad151e0 fix: unittests for convert_testcase_path 2020-06-20 00:22:18 +08:00
debugtalk
7a299c65d1 change: __convert_relative_current_working_dir 2020-06-19 23:53:22 +08:00
debugtalk
6d4d8c9c72 change: rename variable testcase_python_abs_path 2020-06-19 23:35:59 +08:00
debugtalk
c92ea39e7c change: make FROM path in testcase notes relative to project_meta.RootDir 2020-06-19 23:32:12 +08:00
debugtalk
1918f62c64 fix: typo error 2020-06-19 22:59:26 +08:00
debugtalk
e5fdff03c1 fix: handle teststeps format error in ensure_testcase_v3 2020-06-19 19:21:48 +08:00
debugtalk
a26bcb1aed change: keep project root dir 2020-06-19 18:32:45 +08:00
debugtalk
ebfe21c578 fix: missing list type for request body 2020-06-19 18:28:48 +08:00
debugtalk
0e0bc4a760 change: rename ensure_file_abs_path_valid 2020-06-19 15:46:38 +08:00
debugtalk
215d889626 fix: path handling error when har2case har file and cwd != ProjectRootDir 2020-06-19 15:06:56 +08:00
debugtalk
f41056b43f change: avoid print too much log details in console 2020-06-19 14:28:00 +08:00
debugtalk
3b5dce7ee4 change: do not raise error if failed to get client/server address info 2020-06-19 14:13:01 +08:00
debugtalk
7e4f33c2d3 change: report sentry when start to run locusts 2020-06-18 18:53:59 +08:00