Commit Graph
1493 Commits
Author SHA1 Message Date
debugtalk a6a6ed37b4 change cli: run_path 2020-04-21 23:08:26 +08:00
debugtalk c2d863ff88 change: update schema 2020-04-21 23:01:20 +08:00
debugtalk ec6340833d fix: log request & response meta data when test failed 2020-04-21 22:51:38 +08:00
debugtalk 0f8ba1bbd8 feat: log detailed request & response when failed 2020-04-21 22:42:14 +08:00
debugtalk ed3d1b1b7a feat: html report for v3 2020-04-21 22:25:03 +08:00
debugtalk c04125aa83 feat: implement HttpRunner main interface v3 2020-04-21 21:35:17 +08:00
debugtalk b4a23e2bcf refactor: make run_step as private method 2020-04-21 21:22:00 +08:00
debugtalk 006ef93e9d fix: record teststep name 2020-04-21 21:19:05 +08:00
debugtalk 9c949e76f6 feat: get request & response meta datas 2020-04-21 20:49:02 +08:00
debugtalk ac3eac5e8a fix: show assert value type when validation failed 2020-04-21 15:13:48 +08:00
debugtalk beaf9284b7 refactor: validate with builtin assert methods 2020-04-21 14:54:28 +08:00
debugtalk 1f06492172 feat: validate with functions 2020-04-21 14:45:24 +08:00
debugtalk e315bf50a4 refactor: rename TestStep model field, validators 2020-04-21 14:33:01 +08:00
debugtalk ad4a6d7a93 feat: validate with config/teststep/extracted variables 2020-04-21 14:26:57 +08:00
debugtalk 8d7231080e refactor: change example file name 2020-04-21 13:30:36 +08:00
debugtalk f892eb4b26 refactor: add argument typing 2020-04-21 13:22:40 +08:00
debugtalk add0849009 refactor: replace with get_mapping_variable 2020-04-21 13:02:14 +08:00
debugtalk adf5b21bef feat: call with python builtin functions 2020-04-21 12:54:57 +08:00
debugtalk 57c01760d0 test: add unittests for parser 2020-04-21 12:08:21 +08:00
debugtalk c32251fe6f fix parser: parse function args and kwargs before eval function 2020-04-21 11:59:55 +08:00
debugtalk 6609c6d8aa refactor: change function name from parse_content to parse_data 2020-04-21 11:44:00 +08:00
debugtalk 7c7e63b039 refactor: implement parse_string to eval string with both variables and functions 2020-04-21 11:38:33 +08:00
debugtalk a9a1448479 test: add unittest for v3 parser 2020-04-20 18:40:36 +08:00
debugtalk 0aab2406af v3 feat: support function calls 2020-04-20 17:26:40 +08:00
debugtalk 3542cb0193 fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-20 15:46:15 +08:00
debugtalk 71f0391067 v3 feat: support extract session variables 2020-04-20 13:26:40 +08:00
debugtalk 2a82f3dd94 v3 test example: support session variables 2020-04-20 12:49:53 +08:00
debugtalk aa903deb97 v3 feat: support teststep variables 2020-04-20 12:03:08 +08:00
debugtalk 4e4f281197 change v3: add basic extract 2020-04-19 18:19:01 +08:00
debugtalk e606b59477 change v3: add basic validation 2020-04-19 17:59:09 +08:00
debugtalk 8ebc3cb2be init v3: make http request without validation 2020-04-19 12:50:42 +08:00
debugtalk 4cc636b69e test: add testcase example, request methods testcase in hardcode 2020-04-19 12:30:14 +08:00
debugtalk a6220513e2 test: add testcase example, set & delete cookies 2020-04-18 12:20:54 +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