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
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
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
debugtalk
cb96f7e711
fix: avoid duplicate export
2020-06-23 14:34:45 +08:00
debugtalk
c3eed2cab3
fix: override locust weight
2020-06-23 13:27:12 +08:00
debugtalk
753e05314f
fix: override referenced testcase export in teststep
2020-06-23 13:07:07 +08:00
debugtalk
4916d27b71
fix: missing export when ensuring api testcase
2020-06-23 12:52:04 +08:00
debugtalk
f00170c234
fix: avoid duplicate import
2020-06-23 12:46:30 +08:00
debugtalk
d11aca83c0
feat: add optional message for assertion
2020-06-23 11:49:04 +08:00
debugtalk
286dbbfe55
fix #942 : type_match None
2020-06-21 15:07:54 +08:00
debugtalk
10fea27099
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
2020-06-21 12:40:10 +08:00
debugtalk
18a97964ac
docs: update changelog
2020-06-21 12:34:41 +08:00
debugtalk
3841406dd9
change: add logs
2020-06-21 12:29:21 +08:00
debugtalk
d58d45a196
fix: check config type
2020-06-21 11:54:14 +08:00
debugtalk
a2fc817b5e
change: use private method
2020-06-21 11:47:07 +08:00
debugtalk
5be6c781ee
change: log function details when call failed
2020-06-21 11:23:01 +08:00
debugtalk
18e9b772fd
change: make converted referenced pytest files always relative to project RootDir
2020-06-21 10:58:42 +08:00
debugtalk
4f405d1620
change: code location
2020-06-20 00:33:42 +08:00
debugtalk
64b7659a12
fix: unittests for convert_testcase_path
2020-06-20 00:22:18 +08:00
debugtalk
1b5d7386a7
change: __convert_relative_current_working_dir
2020-06-19 23:53:22 +08:00
debugtalk
d0e6f29304
change: rename variable testcase_python_abs_path
2020-06-19 23:35:59 +08:00
debugtalk
fa7464fca8
change: make FROM path in testcase notes relative to project_meta.RootDir
2020-06-19 23:32:12 +08:00
debugtalk
e64490f4ee
fix: typo error
2020-06-19 22:59:26 +08:00
debugtalk
173a52ef67
fix: handle teststeps format error in ensure_testcase_v3
2020-06-19 19:21:48 +08:00
debugtalk
609a1d586d
change: keep project root dir
2020-06-19 18:32:45 +08:00
debugtalk
429d36b333
fix: missing list type for request body
2020-06-19 18:28:48 +08:00
debugtalk
3e8bd4b6f0
change: rename ensure_file_abs_path_valid
2020-06-19 15:46:38 +08:00
debugtalk
215295cdda
fix: path handling error when har2case har file and cwd != ProjectRootDir
2020-06-19 15:06:56 +08:00
debugtalk
e3947c055a
change: avoid print too much log details in console
2020-06-19 14:28:00 +08:00
debugtalk
ec44faa62b
change: do not raise error if failed to get client/server address info
2020-06-19 14:13:01 +08:00
debugtalk
2c0f7f2027
change: report sentry when start to run locusts
2020-06-18 18:53:59 +08:00
debugtalk
b0e5ccb1b6
feat: make testcase with weight
2020-06-18 18:46:34 +08:00
debugtalk
5c4460def4
feat: integrate locust v1.0
2020-06-18 18:33:10 +08:00
debugtalk
737629293f
change: add weight attribute in config
2020-06-18 17:19:40 +08:00
debugtalk
7b6c8be740
change: make compatibility with Locust HttpSession
2020-06-18 15:27:53 +08:00
debugtalk
dcb4d2900c
docs: run testcase, log Client & Server IP:PORT
2020-06-18 15:27:53 +08:00
debugtalk
b31b3fd2cb
docs: udpate README
2020-06-18 15:27:53 +08:00
debugtalk
a2077154bf
Merge pull request #939 from httprunner/v3
...
## 3.0.13 (2020-06-17)
**Added**
- feat: log client/server IP and port
**Fixed**
- fix: avoid '.csv' been converted to '_csv'
- fix: convert har to JSON format testcase
- fix: missing ${var} handling in overriding config variables
- fix: SyntaxError caused by quote in case of headers."Set-Cookie"
- fix: FileExistsError when specified project name conflicts with existed file
- fix: testcase path handling error when path startswith "./" or ".\\"
2020-06-18 11:06:58 +08:00
debugtalk
9a416a2c43
test: raise error if failed to get client/server address info
2020-06-18 10:59:12 +08:00
debugtalk
69db046938
docs: quickstart
2020-06-17 22:49:09 +08:00
debugtalk
5a5e46029b
update examples
2020-06-17 22:48:26 +08:00
debugtalk
11c7d30f9f
fix: unittests on Windows
2020-06-17 22:31:29 +08:00
debugtalk
72193806ae
fix: github workflow
2020-06-17 21:37:36 +08:00
debugtalk
78b2939179
feat: log client/server IP and port
2020-06-17 21:20:45 +08:00
debugtalk
c3411765ac
docs: testing report
2020-06-17 16:58:26 +08:00
debugtalk
84f8f5426b
docs: run testcase
2020-06-17 16:28:13 +08:00
debugtalk
038649296f
docs: write testcase
2020-06-17 14:17:11 +08:00
debugtalk
d4bdf61c9b
fix: testcase path handling error when path startswith "./" or ".\\"
2020-06-15 18:32:33 +08:00
debugtalk
d25504e8ed
fix: FileExistsError when specified project name conflicts with existed file
2020-06-15 18:14:35 +08:00
debugtalk
181b1234a8
fix: SyntaxError caused by quote in case of headers."Set-Cookie"
2020-06-15 17:36:07 +08:00
debugtalk
d7c1aad2e9
docs: update sponsor info
2020-06-15 16:02:34 +08:00
debugtalk
69de8a682f
fix: missing handling in overriding config variables
2020-06-15 15:56:00 +08:00
debugtalk
002bbb5ccd
bump version 3.0.13
2020-06-15 15:42:48 +08:00
debugtalk
7eb80cc404
docs: Record & Generate testcase
2020-06-15 15:39:48 +08:00
debugtalk
57de2c7a98
fix: convert har to JSON format testcase
2020-06-15 15:34:29 +08:00
debugtalk
9f83e95974
fix: avoid '.csv' been converted to '_csv'
2020-06-15 15:07:23 +08:00
debugtalk
a477eda644
docs: scaffold
2020-06-15 12:01:56 +08:00
debugtalk
d6d1e2fac1
Merge pull request #932 from httprunner/v3
...
## 3.0.12 (2020-06-14)
**Fixed**
- fix: compatibility with different path separators of Linux and Windows
- fix: IndexError in ensure_file_path_valid when file_path=os.getcwd()
- fix: ensure step referenced api, convert to v3 testcase
- fix: several other compatibility issues
**Changed**
- change: skip reporting sentry for errors occurred in debugtalk.py
2020-06-14 23:45:40 +08:00
debugtalk
4f981a0d4c
change: skip reporting sentry for errors occurred in debugtalk.py
2020-06-14 23:14:29 +08:00
debugtalk
834eea52d5
fix: compatibility with different path separators of Linux and Windows
2020-06-14 23:04:46 +08:00
debugtalk
2aefbe6c0d
Merge branch 'master' into v3
2020-06-14 22:56:45 +08:00
debugtalk
919ea9f403
docs: update changelog
2020-06-14 22:55:38 +08:00
debugtalk
cfb55bd75d
fix: check if jmespath extractor valid
2020-06-14 22:47:48 +08:00
debugtalk
b08427f278
fix: check extractor type
2020-06-14 22:37:38 +08:00
debugtalk
e91547bcdc
fix: add error log when dependency tool black not exists
2020-06-14 22:34:56 +08:00
debugtalk
05fde4e254
fix: incorrect import
2020-06-14 22:10:56 +08:00
debugtalk
f4aa0b9913
fix: compatibility with different path separators of Linux and Windows
2020-06-14 22:01:09 +08:00
debugtalk
a05d590f73
fix: IndexError in ensure_file_path_valid when file_path=os.getcwd()
2020-06-14 21:15:05 +08:00
debugtalk
6f46a2f02b
tests: change test module name
2020-06-14 20:15:16 +08:00