Commit Graph

104 Commits

Author SHA1 Message Date
debugtalk
7213f86f80 change:
1, replace logging with loguru
2, replace string format with f-string
2020-03-07 12:16:11 +08:00
debugtalk
030010fcb3 change: remove method validation from runner.Runner 2020-01-06 14:37:49 +08:00
debugtalk
55d9820d8c fix #818: request missed url in setup_hooks 2020-01-02 21:42:49 +08:00
debugtalk
4cd12e3d2f fix: display validators in report when validate raised exception 2019-12-25 23:21:10 +08:00
debugtalk
ae780b340b change: add HookTypeEnum 2019-12-24 20:14:59 +08:00
debugtalk
cd42d92a76 fix: display request & response details in report when extraction failed 2019-12-24 19:53:46 +08:00
debugtalk
e4755a80d5 refactor: split validate from context, move to validator 2019-12-05 18:41:11 +08:00
debugtalk
ff24fdb9d7 2.4.0
feat: validate with python script, ref #773
2019-12-04 17:38:13 +08:00
fengyu
d5457c040a fix teardown_hook对response的修改体现在测试报告上 httprunner#430 2019-11-05 14:12:30 +08:00
debugtalk
e87367e059 feat: 'export' is used to replace 'output' in testcase config 2019-06-26 22:33:52 +08:00
debugtalk
75aa036548 support both "validate" and "validators" 2019-04-11 12:30:08 +08:00
debugtalk
e1edb896eb fix: pass output variables between testcases 2019-04-10 15:35:53 +08:00
debugtalk
233f54d315 remove project_mapping from parse_tests result 2019-04-08 20:52:14 +08:00
debugtalk
4a478f55d0 relocate build url with base_url 2019-04-08 14:11:49 +08:00
debugtalk
3d1c7f368c feat: implement lazy parser for validators 2019-04-08 12:12:09 +08:00
debugtalk
d7b76b2fcc feat: implement lazy parser 2019-04-04 01:21:08 +08:00
debugtalk
88934a066a display result from hook functions 2019-01-25 18:03:46 +08:00
debugtalk
824cfaf515 each teststeps in one testcase share the same session. 2019-01-25 14:08:53 +08:00
debugtalk
7beedf378a print testcase output 2019-01-24 17:14:44 +08:00
debugtalk
bf09483ecf bugfix: override current teststep variables with former testcase output variables 2019-01-17 13:38:33 +08:00
debugtalk
05d2cc014d enhance report: display all 30X redirect request and response 2018-12-20 17:59:11 +08:00
debugtalk
9ef84a38e8 remove builtin setup hook: prepare post data 2018-12-17 20:55:19 +08:00
debugtalk
2e655dca06 omit request and response data length greater than 512 2018-12-13 16:19:17 +08:00
debugtalk
d586d7cb82 log exception request_type and name for locust stat 2018-12-11 21:48:14 +08:00
debugtalk
acfca8c07f refactor testcase layer mechanism:
1, autotest testsuite layer
2, performance test
2018-12-10 16:10:06 +08:00
debugtalk
6fd92679e3 fix #455: response time ascends while locusts running, with concurrency unchanged 2018-12-05 21:04:13 +08:00
debugtalk
60422c274f fix 4810889d86238ab08ee5f18996b9509539420b0a: import locust may lead to RecursionError 2018-12-04 20:15:16 +08:00
debugtalk
4e2fd846fb fix typo error 2018-12-04 12:07:02 +08:00
debugtalk
2698bd6e13 fix: each testcase should have individual session. 2018-12-04 11:32:51 +08:00
debugtalk
b32e4339ab display name in each test result detail report 2018-11-29 16:10:59 +08:00
debugtalk
8021fb0760 make extract in testcase template compatible with mapping style:
new mapping style:
    extract: {
        a: content.a,
        b: text.b
    }

    Also, the former list style is still valid:
    extract: [
        {a: content.a},
        {b: text.b}
    ]
2018-11-29 14:43:12 +08:00
debugtalk
caeaf2884a fix: display exceptions occurred in debugtalk.py 2018-11-29 14:20:47 +08:00
debugtalk
7b10b75200 fix #411: validation does not display when validation failed 2018-11-28 21:23:40 +08:00
debugtalk
8278139375 show log even if test failed 2018-11-28 17:52:37 +08:00
debugtalk
6e122ec8ac fix html report for HttpRunner 2.0 2018-11-27 17:58:06 +08:00
debugtalk
5539b9e574 fix compatibility with locust 2018-11-26 17:39:25 +08:00
debugtalk
61df6cdaae fix #363: clear meta data first to ensure independence for each test 2018-11-24 23:26:18 +08:00
debugtalk
4fbaa71e7e implement hook assignment: save returned value from hook function to teststep scope variable 2018-11-24 00:23:57 +08:00
debugtalk
18875bc5f1 rename teststeps to tests 2018-11-23 17:56:53 +08:00
debugtalk
4099ade49d HttpRunner 2.0 is comming!
1, new design for testcase format;
2, refactor testcase layer mechanism.
2018-11-22 19:25:00 +08:00
debugtalk
822df7005a remove obsolete key words: variable_binds, extractors, extract_binds, validators 2018-11-15 20:35:44 +08:00
debugtalk
903005bc84 refactor function and variable name 2018-09-04 17:14:54 +08:00
debugtalk
ec2058f2e2 fix #366: teststep name 2018-08-31 15:48:46 +08:00
debugtalk
a4b0a06a06 bugfix: lost ValidationFailure message 2018-08-29 00:00:02 +08:00
debugtalk
cb44fafebf fix #189: remove file path dependency 2018-08-23 16:11:26 +08:00
debugtalk
08a46bbd67 fix #258 2018-08-23 00:33:01 +08:00
debugtalk
c8bb8b6fb3 refactor context 2018-08-22 16:45:47 +08:00
debugtalk
fd8c1682e4 merge with master 2018-08-02 14:09:15 +08:00
debugtalk
3bc4c9b3dc fix #327: handle teardown hooks when exception occured in initilization 2018-08-02 10:22:38 +08:00
debugtalk
cc60f2bf20 add TODO: check hook function if valid 2018-07-30 15:38:39 +08:00