Commit Graph

1492 Commits

Author SHA1 Message Date
debugtalk
499ec50886 change: update schema 2020-04-21 23:01:20 +08:00
debugtalk
d92c17abd4 fix: log request & response meta data when test failed 2020-04-21 22:51:38 +08:00
debugtalk
3a012f012e feat: log detailed request & response when failed 2020-04-21 22:42:14 +08:00
debugtalk
8f3cb320a4 feat: html report for v3 2020-04-21 22:25:03 +08:00
debugtalk
71e65e02d5 feat: implement HttpRunner main interface v3 2020-04-21 21:35:17 +08:00
debugtalk
8620c2e1fa refactor: make run_step as private method 2020-04-21 21:22:00 +08:00
debugtalk
f6a6e91c86 fix: record teststep name 2020-04-21 21:19:05 +08:00
debugtalk
a98d411334 feat: get request & response meta datas 2020-04-21 20:49:02 +08:00
debugtalk
a4328b7586 fix: show assert value type when validation failed 2020-04-21 15:13:48 +08:00
debugtalk
94cf2b074f refactor: validate with builtin assert methods 2020-04-21 14:54:28 +08:00
debugtalk
41f819b9cb feat: validate with functions 2020-04-21 14:45:24 +08:00
debugtalk
96b5a127cd refactor: rename TestStep model field, validators 2020-04-21 14:33:01 +08:00
debugtalk
0532e0d35d feat: validate with config/teststep/extracted variables 2020-04-21 14:26:57 +08:00
debugtalk
6a5e271acd refactor: change example file name 2020-04-21 13:30:36 +08:00
debugtalk
58cb3b0691 refactor: add argument typing 2020-04-21 13:22:40 +08:00
debugtalk
5dc580e93f refactor: replace with get_mapping_variable 2020-04-21 13:02:14 +08:00
debugtalk
01e0b278b3 feat: call with python builtin functions 2020-04-21 12:54:57 +08:00
debugtalk
836e5fd64f test: add unittests for parser 2020-04-21 12:08:21 +08:00
debugtalk
faa920d339 fix parser: parse function args and kwargs before eval function 2020-04-21 11:59:55 +08:00
debugtalk
cf3653cf18 refactor: change function name from parse_content to parse_data 2020-04-21 11:44:00 +08:00
debugtalk
8c625f08f3 refactor: implement parse_string to eval string with both variables and functions 2020-04-21 11:38:33 +08:00
debugtalk
12148a1306 test: add unittest for v3 parser 2020-04-20 18:40:36 +08:00
debugtalk
36f9af441c v3 feat: support function calls 2020-04-20 17:26:40 +08:00
debugtalk
4d69e0c858 fix parser:
check if reference variable itself
check if reference variable not in variables_mapping
2020-04-20 15:46:15 +08:00
debugtalk
bd7b84d42c v3 feat: support extract session variables 2020-04-20 13:26:40 +08:00
debugtalk
39b8f74b27 v3 test example: support session variables 2020-04-20 12:49:53 +08:00
debugtalk
3051a60731 v3 feat: support teststep variables 2020-04-20 12:03:08 +08:00
debugtalk
1ce09d223c change v3: add basic extract 2020-04-19 18:19:01 +08:00
debugtalk
9aef959d7c change v3: add basic validation 2020-04-19 17:59:09 +08:00
debugtalk
f1fa62b2c4 init v3: make http request without validation 2020-04-19 12:50:42 +08:00
debugtalk
5d8b09628f test: add testcase example, request methods testcase in hardcode 2020-04-19 12:30:14 +08:00
debugtalk
e2b369b305 test: add testcase example, set & delete cookies 2020-04-18 12:20:54 +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
debugtalk
8a39bbb06a change: make har2case as hrun sub-command, usage: hrun har2case -h 2020-04-12 17:41:29 +08:00
debugtalk
47d4aad8e0 fix: github action scripts 2020-04-12 17:15:37 +08:00
debugtalk
2f73d5021b change: make startproject as hrun sub-command, usage: hrun startproject <project_name> 2020-04-12 16:59:38 +08:00
debugtalk
4a50c4b583 update 2020-04-12 11:12:42 +08:00
debugtalk
bf2ec77765 fix: unittests 2020-04-09 22:23:19 +08:00
debugtalk
05a8f939c5 fix: api variables missing default value 2020-04-09 22:10:06 +08:00
debugtalk
647368e003 fix: base model for TestSuite 2020-04-09 21:44:37 +08:00
debugtalk
b167c7d2a1 change: replace jsonschema validation with pydantic 2020-04-09 18:50:06 +08:00
debugtalk
7ba22b1389 change: update unit tests for removing v1 format 2020-04-09 12:06:34 +08:00