Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk 19e8130e6a fix: stringify summary before dump json file 2018-11-26 13:44:33 +08:00
debugtalk ecb3d53874 remove render summary data 2018-11-26 11:50:55 +08:00
debugtalk a0f64153ee fix generated log filename when testing folder with '/' ending 2018-11-26 11:23:48 +08:00
debugtalk 19ae5aace3 dump test result summary to json file 2018-11-25 23:52:11 +08:00
debugtalk f1479e4c85 adjust arguments for html report 2018-11-25 23:12:36 +08:00
debugtalk 51afbebb07 remove unused code 2018-11-25 20:48:16 +08:00
debugtalk f92f5d64a9 fix #363: clear meta data first to ensure independence for each test 2018-11-24 23:26:18 +08:00
debugtalk 0f21d7385d fix commit 4cf2a17cd0 2018-11-24 00:49:13 +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 5d3dc6ad1c bugfix: test_variables_mapping should be initialized before each test 2018-11-24 00:00:25 +08:00
debugtalk 23cf17cb39 convert docstring to Google style 2018-11-23 22:52:23 +08:00
debugtalk cfd1d84189 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
debugtalk 18875bc5f1 rename teststeps to tests 2018-11-23 17:56:53 +08:00
debugtalk 8f4500566d update locusts with HttpRunner 2.0 2018-11-23 17:14:43 +08:00
debugtalk 24e6b408e4 remove empty variables in saved tests 2018-11-23 11:41:36 +08:00
debugtalk 324c0b6f9f move saved tests to logs folder 2018-11-23 11:39:04 +08:00
debugtalk 09db20e9fc save tests: add debugtalk.py file path 2018-11-23 11:19:01 +08:00
debugtalk 7d9ffb097f Save loaded tests and parsed tests to JSON file. 2018-11-22 21:48:03 +08:00
debugtalk b810ad7e91 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
debugtalk 1ce95ba3cb build url with base_url 2018-11-22 19:53:09 +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 82b527d8b2 add unittest: variables in testcase teststep should override api's 2018-11-16 14:50:14 +08:00
debugtalk 05eb07935a add args and kwargs validation for ENV() and P() 2018-11-16 12:45:06 +08:00
debugtalk e8d7f8e7c5 .env variables should be referenced with builtin ENV/environ function 2018-11-16 12:29:02 +08:00
debugtalk 5013861f74 refactor testcase config data structure 2018-11-15 21:49:05 +08:00
debugtalk a67216cbdd update parse_parameters 2018-11-15 21:09:22 +08:00
debugtalk 822df7005a remove obsolete key words: variable_binds, extractors, extract_binds, validators 2018-11-15 20:35:44 +08:00
debugtalk bb3dcb2756 refactor is_function 2018-11-15 20:05:57 +08:00
debugtalk a116c651f9 remove unused utils functions 2018-11-15 19:58:26 +08:00
debugtalk 0e54c4aec9 relocate functions related to .env 2018-11-15 19:37:50 +08:00
debugtalk 58fa2a4bf4 relocate functions related to debugtalk.py 2018-11-15 17:12:31 +08:00
debugtalk 626612061e remove debugtalk.py variables mechanism 2018-11-15 14:48:44 +08:00
debugtalk badb473520 set_os_environ before parsing testcase, unset_os_environ after parsing testcase 2018-11-14 22:11:14 +08:00
debugtalk 1578b78f54 ensure variables are in mapping format. 2018-11-14 16:15:04 +08:00
debugtalk a9a82e52f3 fix variables priority: passed in > .env > debugtalk.py > parameters > config variables 2018-11-14 15:41:41 +08:00
debugtalk d8c39da787 bugfix: display url when teststep failed in locust 2018-11-08 12:01:26 +08:00
debugtalk a3f28bae40 add tests layer temporally, remove later. 2018-11-07 22:27:35 +08:00
debugtalk 731dac884c load_locust_tests: parse config 2018-11-07 22:20:17 +08:00
debugtalk 39ca9fcc8d set locust default loglevel to WARNING 2018-11-07 22:19:39 +08:00
debugtalk ed964c8372 bugfix: catch AssertionError in load test 2018-11-07 21:15:26 +08:00
debugtalk ff5862189c bugfix: ignore output content in deque type 2018-11-07 01:23:16 +08:00
debugtalk 547e22a6a5 fix merge & override api variables/validate/extract/hooks/etc 2018-11-06 23:44:46 +08:00
debugtalk 9b25bd65fa remove unused loading tests 2018-11-06 14:44:54 +08:00
debugtalk 63ba664cc7 Merge pull request #427 from HttpRunner/locusts
refactor locusts
2018-11-01 12:25:33 +08:00
debugtalk 8c4a745d97 add --locustfile argument 2018-10-31 23:30:08 +08:00
debugtalk 8aeb8d4dc2 set logging level for locusts 2018-10-31 23:22:13 +08:00
debugtalk 2d5ff04b46 locusts support weight feature 2018-10-29 22:16:41 +08:00
debugtalk aed7013b1d split _load_teststeps from _load_testcase 2018-10-29 15:00:04 +08:00
debugtalk 597d405378 refactor _load_test_file 2018-10-29 13:01:30 +08:00
debugtalk 55da0d1dbc Merge pull request #423 from HttpRunner/bugfix
Bugfix #418 #415
2018-10-29 11:20:32 +08:00
debugtalk 8930cf7d44 fix unittest for Python2.7
https://travis-ci.org/HttpRunner/HttpRunner/jobs/447602404
2018-10-29 11:11:19 +08:00
debugtalk 25800cabfe fix #415: ordered_dict error in Python 2.7 2018-10-29 11:01:34 +08:00
debugtalk 9c884c18bc fix #418: deepcopy testcase when testcase contains BufferReader 2018-10-27 18:37:58 +08:00
debugtalk dcf58e6d3b Merge pull request #403 from HttpRunner/bugfix
make compatible with old version
2018-10-10 20:49:27 +08:00
debugtalk 47297e3cef make compatible with old version 2018-10-10 20:11:49 +08:00
debugtalk 72941eb3d3 Merge pull request #399 from HttpRunner/pipline
rename testset => testcase
2018-10-04 17:00:25 +08:00
debugtalk 968fdc3b01 rename testset => testcase 2018-10-03 00:02:38 +08:00
debugtalk 0df8341c17 Merge pull request #398 from HttpRunner/pipline
refactor pipeline
2018-10-02 22:59:50 +08:00
debugtalk c440dbeb7a add validation: run method should be called before gen_html_report. 2018-10-02 00:51:41 +08:00
debugtalk a0db780977 make HttpRunner().run as main interface for running testcases 2018-10-02 00:50:39 +08:00
debugtalk d39ae936a3 update exception_stage 2018-10-01 22:49:41 +08:00
debugtalk 883fc7bdbe pass in specified .env file path 2018-10-01 19:29:22 +08:00
debugtalk e43903d892 fix ##397: pass in mapping 2018-10-01 19:19:11 +08:00
debugtalk 5af845cb9c relocate parse_tests 2018-10-01 18:02:21 +08:00
debugtalk afa36ad39b add PWD to sys.path 2018-10-01 17:48:07 +08:00
debugtalk f24afae420 add python 3.7-dev 2018-10-01 17:44:40 +08:00
debugtalk d0128bf182 refactor pipline 2018-10-01 17:27:51 +08:00
debugtalk 402f69816e remove unused import 2018-09-29 14:27:17 +08:00
debugtalk 71fdac6940 skip Pipenv lock 2018-09-29 14:26:56 +08:00
debugtalk af8276a299 Merge branch 'master' into pipline 2018-09-29 14:21:20 +08:00
debugtalk f27b046930 Merge pull request #393 from HttpRunner/bugfix
bugfixes
2018-09-20 19:27:58 +08:00
debugtalk 96a1ab4f57 fix #155: escape validators 2018-09-20 19:17:06 +08:00
debugtalk 34e942ee5c initialize TestLoader in HttpRunner initialization 2018-09-17 21:40:25 +08:00
debugtalk e7fe608fdd rename HttpRunner method name: initialize => add_tests 2018-09-17 21:28:00 +08:00
debugtalk 7a34fc1950 initialize TextTestRunner in HttpRunner initialization 2018-09-17 20:35:46 +08:00
debugtalk bbac876f7a Merge branch 'bugfix' of https://github.com/httprunner/HttpRunner into bugfix 2018-09-17 15:36:19 +08:00
debugtalk 9993bb7b81 fix #392: multiple '=' in .env file 2018-09-17 15:16:35 +08:00
debugtalk 3c4f0210f3 Merge pull request #388 from HttpRunner/feature
update create_scaffold
2018-09-11 12:32:11 +08:00
debugtalk 09e190b55d update create_scaffold 2018-09-11 00:40:47 +08:00
debugtalk 6bb9088a0b fix unittest for httpbin response time 2018-09-10 07:51:48 +08:00
debugtalk 38382ab832 Merge pull request #383 from HttpRunner/bugfix
fix #112: RecursionError when running locust
2018-09-06 17:58:34 +08:00
debugtalk adf09a27e0 fix unittest 2018-09-06 11:52:06 +08:00
debugtalk 05bca2276f fix #112: RecursionError when running locust 2018-09-06 08:53:08 +08:00
debugtalk c70e4f501a Rename bug-------.md to bug_report_zh.md 2018-09-06 08:11:14 +08:00
debugtalk 31f3cb53e1 Update issue templates 2018-09-06 08:08:31 +08:00
debugtalk e382849a18 Update issue templates 2018-09-06 08:07:49 +08:00
debugtalk a0fc92a77d Update issue templates 2018-09-06 07:53:26 +08:00
debugtalk 0e3fd9536f Update issue templates 2018-09-06 07:51:40 +08:00
debugtalk ce6b3ecfc5 Merge pull request #375 from HttpRunner/bugfix
fix #373: do not lower request headers
2018-09-04 17:28:30 +08:00
debugtalk 903005bc84 refactor function and variable name 2018-09-04 17:14:54 +08:00
debugtalk a442b5279e fix #373: do not lower request headers 2018-09-04 16:52:52 +08:00
debugtalk 9b5d91db5c update docstring 2018-09-04 16:47:19 +08:00
debugtalk 6898c36c35 Merge pull request #374 from HttpRunner/bugfix
bugfix: TypeError when variable value is list
2018-09-04 16:28:44 +08:00
debugtalk 5366258ebc bugfix: TypeError when variable value is list 2018-09-04 16:23:53 +08:00
debugtalk 216cc00dce Merge pull request #371 from HttpRunner/feature
display exception stage when exception occured #367
2018-09-02 23:24:18 +08:00
debugtalk b1a25fb93a display exception stage when exception occured #367 2018-08-31 19:28:11 +08:00
debugtalk 1c3d62bd8c Merge pull request #369 from HttpRunner/bugfix
fix #368: failed to load .env data in debugtalk.py
2018-08-31 16:46:47 +08:00
debugtalk d957e2564f fix #368: failed to load .env data in debugtalk.py 2018-08-31 16:29:13 +08:00
debugtalk 43808794f8 Merge pull request #365 from HttpRunner/bugfix
fix #366: teststep name
2018-08-31 15:56:36 +08:00
debugtalk ec2058f2e2 fix #366: teststep name 2018-08-31 15:48:46 +08:00