Commit Graph

1492 Commits

Author SHA1 Message Date
debugtalk
4c835cd6b0 fix: log request & response meta data when test failed 2020-04-23 21:53:03 +08:00
debugtalk
f6d9ad8808 feat: log detailed request & response when failed 2020-04-23 21:53:03 +08:00
debugtalk
6155ce8daf feat: html report for v3 2020-04-23 21:53:03 +08:00
debugtalk
3ec2a2f29e feat: implement HttpRunner main interface v3 2020-04-23 21:53:03 +08:00
debugtalk
7204a65d32 refactor: make run_step as private method 2020-04-23 21:53:03 +08:00
debugtalk
3a34bcb36a fix: record teststep name 2020-04-23 21:53:03 +08:00
debugtalk
27c1ce9772 feat: get request & response meta datas 2020-04-23 21:53:03 +08:00
debugtalk
f3a8bd78ce fix: show assert value type when validation failed 2020-04-23 21:53:03 +08:00
debugtalk
7ac3dd22f4 refactor: validate with builtin assert methods 2020-04-23 21:53:03 +08:00
debugtalk
d7e3f558b6 feat: validate with functions 2020-04-23 21:53:03 +08:00
debugtalk
154db1ec01 refactor: rename TestStep model field, validators 2020-04-23 21:53:03 +08:00
debugtalk
ba91c30697 feat: validate with config/teststep/extracted variables 2020-04-23 21:53:03 +08:00
debugtalk
02294baee9 refactor: change example file name 2020-04-23 21:53:03 +08:00
debugtalk
60dbb0c8f8 refactor: add argument typing 2020-04-23 21:53:03 +08:00
debugtalk
c4280e8754 refactor: replace with get_mapping_variable 2020-04-23 21:53:03 +08:00
debugtalk
3a0ab5d019 feat: call with python builtin functions 2020-04-23 21:53:03 +08:00
debugtalk
15465120b0 test: add unittests for parser 2020-04-23 21:53:03 +08:00
debugtalk
60420cae81 fix parser: parse function args and kwargs before eval function 2020-04-23 21:53:03 +08:00
debugtalk
6cd39f7079 refactor: change function name from parse_content to parse_data 2020-04-23 21:53:03 +08:00
debugtalk
4f25ec0175 refactor: implement parse_string to eval string with both variables and functions 2020-04-23 21:53:03 +08:00
debugtalk
328856ed4c test: add unittest for v3 parser 2020-04-23 21:53:03 +08:00
debugtalk
dff7837030 v3 feat: support function calls 2020-04-23 21:53:03 +08:00
debugtalk
1bad71e06d fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-23 21:53:03 +08:00
debugtalk
ab506b8b74 v3 feat: support extract session variables 2020-04-23 21:53:03 +08:00
debugtalk
50aa3b4880 v3 test example: support session variables 2020-04-23 21:53:03 +08:00
debugtalk
197016baf5 v3 feat: support teststep variables 2020-04-23 21:53:03 +08:00
debugtalk
c31bb39d9a change v3: add basic extract 2020-04-23 21:53:03 +08:00
debugtalk
a0b1ebd647 change v3: add basic validation 2020-04-23 21:53:03 +08:00
debugtalk
8b7291fa08 init v3: make http request without validation 2020-04-23 21:53:03 +08:00
debugtalk
f2e09e5bba test: add testcase example, request methods testcase in hardcode 2020-04-23 21:53:03 +08:00
debugtalk
755c2b92ac test: add testcase example, set & delete cookies 2020-04-23 21:53:03 +08:00
debugtalk
8275407fa1 feat: command alias, hrun = httprunner run 2020-04-23 21:52:14 +08:00
debugtalk
3235f5b63c **Added**
- feat: implement global hooks `setup_testcase/teardown_testcase`, called before/after each testcase
- feat: implement global hooks  `setup_teststep/teardown_teststep`, called before/after each teststep

**Changed**

- remove default header `HRUN-Request-ID`, implement the same function with global hooks
2020-04-17 21:56:20 +08:00
debugtalk
2e9b7287ca fix: unittest along with code 2020-04-13 21:59:35 +08:00
debugtalk
0802f1829c fix: github action scripts 2020-04-13 00:45:58 +08:00
debugtalk
fc0a10a193 change: add argument to specify yaml/json testcase file for locusts 2020-04-13 00:42:55 +08:00
debugtalk
cea7f33f27 fix: check if gevent installed when running locusts 2020-04-13 00:33:11 +08:00
debugtalk
8251c21ce1 fix: github action scripts 2020-04-13 00:03:37 +08:00
debugtalk
55078099f3 fix: check if locustio installed 2020-04-12 23:58:10 +08:00
debugtalk
205b1c9a5c refactor: rename unittest file name 2020-04-12 23:39:00 +08:00
debugtalk
db722c92b9 change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00
debugtalk
7a0b1b69e4 change: make har2case as hrun sub-command, usage: hrun har2case -h 2020-04-12 17:41:29 +08:00
debugtalk
ac4122198f fix: github action scripts 2020-04-12 17:15:37 +08:00
debugtalk
d8728e6b82 change: make startproject as hrun sub-command, usage: hrun startproject <project_name> 2020-04-12 16:59:38 +08:00
debugtalk
14ace757e0 update 2020-04-12 11:12:42 +08:00
debugtalk
958edc6bfe fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk
068b4c0ca7 fix: api variables missing default value 2020-04-09 22:10:06 +08:00
debugtalk
d1754f6eb5 fix: base model for TestSuite 2020-04-09 21:44:37 +08:00
debugtalk
fbf2812205 change: replace jsonschema validation with pydantic 2020-04-09 18:50:06 +08:00
debugtalk
ee9eb4f1c4 change: update unit tests for removing v1 format 2020-04-09 12:06:34 +08:00