Commit Graph

1501 Commits

Author SHA1 Message Date
debugtalk
3bc124ddff refactor: change variable name from meta_datas to step_datas 2020-04-23 21:53:03 +08:00
debugtalk
f6714aff03 refactor: adjust summary data structure 2020-04-23 21:53:03 +08:00
debugtalk
f423437c0b fix html report 2020-04-23 21:53:03 +08:00
debugtalk
7f693d3521 refactor: add typing with pydantic 2020-04-23 21:53:03 +08:00
debugtalk
1d63acfc49 refactor: get testcase summary when run suite 2020-04-23 21:53:03 +08:00
debugtalk
59dea2be20 fix 2020-04-23 21:53:03 +08:00
debugtalk
7e42fa34cf change: remove unused code 2020-04-23 21:53:03 +08:00
debugtalk
b98d95c69b change cli: run_path 2020-04-23 21:53:03 +08:00
debugtalk
97a0be3730 change: update schema 2020-04-23 21:53:03 +08:00
debugtalk
a428cd3517 fix: log request & response meta data when test failed 2020-04-23 21:53:03 +08:00
debugtalk
de4fef133a feat: log detailed request & response when failed 2020-04-23 21:53:03 +08:00
debugtalk
028f728db6 feat: html report for v3 2020-04-23 21:53:03 +08:00
debugtalk
3dd08419be feat: implement HttpRunner main interface v3 2020-04-23 21:53:03 +08:00
debugtalk
90eeec1d77 refactor: make run_step as private method 2020-04-23 21:53:03 +08:00
debugtalk
c968f762a1 fix: record teststep name 2020-04-23 21:53:03 +08:00
debugtalk
3dded5c5d1 feat: get request & response meta datas 2020-04-23 21:53:03 +08:00
debugtalk
25b37ebc57 fix: show assert value type when validation failed 2020-04-23 21:53:03 +08:00
debugtalk
43c4c6590b refactor: validate with builtin assert methods 2020-04-23 21:53:03 +08:00
debugtalk
1ffe851727 feat: validate with functions 2020-04-23 21:53:03 +08:00
debugtalk
2c0f51041a refactor: rename TestStep model field, validators 2020-04-23 21:53:03 +08:00
debugtalk
f081cf05f2 feat: validate with config/teststep/extracted variables 2020-04-23 21:53:03 +08:00
debugtalk
d874f3f3da refactor: change example file name 2020-04-23 21:53:03 +08:00
debugtalk
d79fc26567 refactor: add argument typing 2020-04-23 21:53:03 +08:00
debugtalk
6ea52ed3f8 refactor: replace with get_mapping_variable 2020-04-23 21:53:03 +08:00
debugtalk
5ec044c1e0 feat: call with python builtin functions 2020-04-23 21:53:03 +08:00
debugtalk
2b04d54db5 test: add unittests for parser 2020-04-23 21:53:03 +08:00
debugtalk
efeafa4f0a fix parser: parse function args and kwargs before eval function 2020-04-23 21:53:03 +08:00
debugtalk
d6afc0fbb7 refactor: change function name from parse_content to parse_data 2020-04-23 21:53:03 +08:00
debugtalk
081679bbf5 refactor: implement parse_string to eval string with both variables and functions 2020-04-23 21:53:03 +08:00
debugtalk
db28c0ffc0 test: add unittest for v3 parser 2020-04-23 21:53:03 +08:00
debugtalk
823a5ad77c v3 feat: support function calls 2020-04-23 21:53:03 +08:00
debugtalk
86d8f052e3 fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-23 21:53:03 +08:00
debugtalk
9ef70bd06b v3 feat: support extract session variables 2020-04-23 21:53:03 +08:00
debugtalk
cdefb46bb0 v3 test example: support session variables 2020-04-23 21:53:03 +08:00
debugtalk
af1a452190 v3 feat: support teststep variables 2020-04-23 21:53:03 +08:00
debugtalk
7f6f4c7df3 change v3: add basic extract 2020-04-23 21:53:03 +08:00
debugtalk
569e06e21f change v3: add basic validation 2020-04-23 21:53:03 +08:00
debugtalk
92d71c29cf init v3: make http request without validation 2020-04-23 21:53:03 +08:00
debugtalk
e5a4960146 test: add testcase example, request methods testcase in hardcode 2020-04-23 21:53:03 +08:00
debugtalk
06279218ea test: add testcase example, set & delete cookies 2020-04-23 21:53:03 +08:00
debugtalk
12a7f4bbd1 feat: command alias, hrun = httprunner run 2020-04-23 21:52:14 +08:00
debugtalk
c537a50cc0 **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
ec6b600524 fix: unittest along with code 2020-04-13 21:59:35 +08:00
debugtalk
ed42f1e967 fix: github action scripts 2020-04-13 00:45:58 +08:00
debugtalk
f15a27763c change: add argument to specify yaml/json testcase file for locusts 2020-04-13 00:42:55 +08:00
debugtalk
1e64171fb8 fix: check if gevent installed when running locusts 2020-04-13 00:33:11 +08:00
debugtalk
7bf275b7cc fix: github action scripts 2020-04-13 00:03:37 +08:00
debugtalk
caa9503df8 fix: check if locustio installed 2020-04-12 23:58:10 +08:00
debugtalk
ade7935e4e refactor: rename unittest file name 2020-04-12 23:39:00 +08:00
debugtalk
b9392d7cce change: make locusts as hrun sub-command, usage: hrun locusts -h 2020-04-12 23:35:47 +08:00