Commit Graph

832 Commits

Author SHA1 Message Date
httprunner
a4ce29e656 bugfix: parse test variables with config variables 2018-11-27 23:59:33 +08:00
httprunner
84256d931a fix: make render_html_report API public 2018-11-27 22:29:39 +08:00
httprunner
055b2d5ad0 fix html report for HttpRunner 2.0 2018-11-27 17:58:06 +08:00
httprunner
abf9b03535 fix compatibility with locust 2018-11-26 17:39:25 +08:00
httprunner
b8d7969611 fix html report display response content 2018-11-26 14:36:07 +08:00
httprunner
15a214b565 fix: stringify summary before dump json file 2018-11-26 13:44:33 +08:00
httprunner
9dab233e29 remove render summary data 2018-11-26 11:50:55 +08:00
httprunner
4c08f58e3c fix generated log filename when testing folder with '/' ending 2018-11-26 11:23:48 +08:00
httprunner
a647bc05a8 dump test result summary to json file 2018-11-25 23:52:11 +08:00
httprunner
a079c2e134 adjust arguments for html report 2018-11-25 23:12:36 +08:00
httprunner
758c0ed0ef remove unused code 2018-11-25 20:48:16 +08:00
httprunner
7614711908 fix #363: clear meta data first to ensure independence for each test 2018-11-24 23:26:18 +08:00
httprunner
ebfb0e6157 fix commit 4cf2a17cd0 2018-11-24 00:49:13 +08:00
httprunner
c6076acb8b implement hook assignment: save returned value from hook function to teststep scope variable 2018-11-24 00:23:57 +08:00
httprunner
4cf2a17cd0 bugfix: test_variables_mapping should be initialized before each test 2018-11-24 00:00:25 +08:00
httprunner
75fb21de06 convert docstring to Google style 2018-11-23 22:52:23 +08:00
httprunner
16ff65d9f3 record response content:
1, only record json if response content is in JSON foramt;
2, do not record bytes content;
3, omit text charactors greater than 1000.
2018-11-23 18:46:56 +08:00
httprunner
3652a713c5 rename teststeps to tests 2018-11-23 17:56:53 +08:00
httprunner
b103fd0d2b update locusts with HttpRunner 2.0 2018-11-23 17:14:43 +08:00
httprunner
e2c5cacc2b remove empty variables in saved tests 2018-11-23 11:41:36 +08:00
httprunner
4afb827af9 move saved tests to logs folder 2018-11-23 11:39:04 +08:00
httprunner
06a69e3cbb save tests: add debugtalk.py file path 2018-11-23 11:19:01 +08:00
httprunner
0644c9e006 Save loaded tests and parsed tests to JSON file. 2018-11-22 21:48:03 +08:00
httprunner
bae0f03c68 fix environment variable invoke:
environment variable maybe loaded in debugtalk.py
thus .env file should be loaded before loading debugtalk.py
2018-11-22 20:43:27 +08:00
httprunner
c9a97d3e1c build url with base_url 2018-11-22 19:53:09 +08:00
httprunner
f05f190d24 HttpRunner 2.0 is comming!
1, new design for testcase format;
2, refactor testcase layer mechanism.
2018-11-22 19:25:00 +08:00
httprunner
87a80ecc7f add unittest: variables in testcase teststep should override api's 2018-11-16 14:50:14 +08:00
httprunner
fc9f828ed3 add args and kwargs validation for ENV() and P() 2018-11-16 12:45:06 +08:00
httprunner
c3b52bbc79 .env variables should be referenced with builtin ENV/environ function 2018-11-16 12:29:02 +08:00
httprunner
4142867fbd refactor testcase config data structure 2018-11-15 21:49:05 +08:00
httprunner
efc2520e81 update parse_parameters 2018-11-15 21:09:22 +08:00
httprunner
80c36eaeee remove obsolete key words: variable_binds, extractors, extract_binds, validators 2018-11-15 20:35:44 +08:00
httprunner
675d4e372b refactor is_function 2018-11-15 20:05:57 +08:00
httprunner
8423c41f36 remove unused utils functions 2018-11-15 19:58:26 +08:00
httprunner
a6df9bc36c relocate functions related to .env 2018-11-15 19:37:50 +08:00
httprunner
0d057785bc relocate functions related to debugtalk.py 2018-11-15 17:12:31 +08:00
httprunner
64a960d490 remove debugtalk.py variables mechanism 2018-11-15 14:48:44 +08:00
httprunner
2c90c64dc2 set_os_environ before parsing testcase, unset_os_environ after parsing testcase 2018-11-14 22:11:14 +08:00
httprunner
934c209a2e ensure variables are in mapping format. 2018-11-14 16:15:04 +08:00
httprunner
c318f9bdbb fix variables priority: passed in > .env > debugtalk.py > parameters > config variables 2018-11-14 15:41:41 +08:00
httprunner
eca926ba36 bugfix: display url when teststep failed in locust 2018-11-08 12:01:26 +08:00
httprunner
837fc0b6c2 add tests layer temporally, remove later. 2018-11-07 22:27:35 +08:00
httprunner
ec4a4a4ef5 load_locust_tests: parse config 2018-11-07 22:20:17 +08:00
httprunner
fb3065f3e4 set locust default loglevel to WARNING 2018-11-07 22:19:39 +08:00
httprunner
427a86d7f7 bugfix: catch AssertionError in load test 2018-11-07 21:15:26 +08:00
httprunner
39ed6cac4f bugfix: ignore output content in deque type 2018-11-07 01:23:16 +08:00
httprunner
aad7b1972d fix merge & override api variables/validate/extract/hooks/etc 2018-11-06 23:44:46 +08:00
httprunner
962f484b75 remove unused loading tests 2018-11-06 14:44:54 +08:00
debugtalk
0403c48f90 Merge pull request #427 from HttpRunner/locusts
refactor locusts
2018-11-01 12:25:33 +08:00
httprunner
d04207f889 add --locustfile argument 2018-10-31 23:30:08 +08:00