Commit Graph
100 Commits
Author SHA1 Message Date
httprunner 8fb3e0b73a support run test suites set file 2017-09-24 14:09:25 +08:00
httprunner 2513886863 load_folder_files: support passing in folder list 2017-09-22 19:14:28 +08:00
httprunner 103dc8d724 rename functions 2017-09-22 14:31:23 +08:00
httprunner 834600bb41 adjust code structure 2017-09-22 11:48:29 +08:00
httprunner 6ef46224f6 refactor api loading behavior: api should be located in /tests/api/ folder 2017-09-21 20:54:06 +08:00
httprunner 54286500ee print_output defaults to debug level 2017-09-21 15:59:13 +08:00
httprunner 0ac4ed4bc8 fix: handle the case when variable_binds is OrderedDict or some other data structure 2017-09-20 22:14:52 +08:00
httprunner ffed8c38a2 lower_config_dict_key: add test for config['request'] is not dict 2017-09-20 21:17:20 +08:00
httprunner cf6c7e1a76 bugfix: keys that are not in 'request' of config shall not be lower cased 2017-09-20 21:14:14 +08:00
httprunner dc673a0d19 bugfix: substitute_variables_with_mapping, handle when value is None, bool, empty string 2017-09-20 19:55:25 +08:00
httprunner c212c0853c bugfix: UnicodeEncodeError in 3.4+ 2017-09-20 15:49:30 +08:00
httprunner 07daa2b781 bugfix: UnicodeEncodeError when value is in Chinese 2017-09-20 15:01:19 +08:00
httprunner 5ee65776a0 bugfix: once task_suite been executed, task in task_suite will be None, and can not call print_output function 2017-09-20 14:57:03 +08:00
httprunner 960213a7bd ate: print output after tests 2017-09-19 23:34:16 +08:00
httprunner b679a1514d make ApiTestSuite class to hold ApiTestCase 2017-09-19 23:33:09 +08:00
httprunner 9161e48844 move print_output function from runner.py to utils.py 2017-09-19 23:27:38 +08:00
httprunner ccce1357c4 bind_variables: variable_binds now can be ordered dict 2017-09-19 18:33:27 +08:00
httprunner 6085dd407d refactor handling binds data structure 2017-09-19 18:10:54 +08:00
httprunner c53ff6992b make extract_response return as ordered dict 2017-09-19 18:05:12 +08:00
httprunner 041152c00f run_testset: add variables_mapping parameter 2017-09-19 17:07:07 +08:00
httprunner 1b847d562d fix doc string 2017-09-19 16:14:55 +08:00
httprunner 4197ed26ca add output:
1, change return value of running testset;
2, print extracted variables at the end of testset.
2017-09-19 15:24:11 +08:00
httprunner 6b3da70e06 load_testcases_by_path: add file_type parameter 2017-09-19 11:34:52 +08:00
httprunner f19bfad128 adjust function name and variable name 2017-09-18 22:51:58 +08:00
httprunner 1262d92816 subsititue api call args 2017-09-18 21:53:22 +08:00
httprunner 8c05afaed5 bugfix: adjust functions location to avoid cross reference 2017-09-18 16:01:19 +08:00
httprunner cb2555291c new feature: testcases can be layered, now we can define interface in api block individually 2017-09-18 15:21:50 +08:00
httprunner 999625635d refactor load_folder_files: change filter behavior 2017-09-18 11:45:12 +08:00
httprunner 62fbe7759f strip from extracted function 2017-09-14 20:54:19 +08:00
httprunner f3c6617385 bugfix: HttpNtlmAuth should be lower case 2017-09-14 10:50:11 +08:00
httprunner 93d4a78210 lower testcase key 2017-09-13 16:17:21 +08:00
httprunner 8d568d9e0d request in config should also be parsed 2017-09-12 22:32:52 +08:00
httprunner 5e89c279cd refactor: adjust code location 2017-09-12 19:34:37 +08:00
httprunner 09d58818e7 bugfix: when binding variable is None, it should be None other than raise ParamsError" 2017-09-12 17:10:04 +08:00
httprunner 78b1dec782 search variables in debugtalk.py recursively upward 2017-09-12 17:08:39 +08:00
httprunner 1818085895 Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-12 16:23:24 +08:00
httprunner 27d8622d24 Merge pull request #41 from vlaw/fix_abs_path
fix: Absolute file path in *Nix system start with slash. The heading …
2017-09-12 16:19:27 +08:00
httprunner 24e47f5762 Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine 2017-09-11 23:48:57 +08:00
httprunner 506017faf0 Merge pull request #40 from vlaw/master
fix typos
2017-09-11 23:44:34 +08:00
httprunner e226724d74 fix variable name 2017-09-07 16:47:04 +08:00
httprunner eb4dcb64a3 add setup and teardown block, in these blocks, we can exec functions such as sleep 2017-09-05 10:25:22 +08:00
httprunner 27e796f810 bugfix: extract_binds should be list 2017-09-04 22:04:57 +08:00
httprunner cdae396fd2 bugfix: private property should be _single_leading_underscore 2017-09-04 11:35:02 +08:00
httprunner 1013971cf9 hot plugin support: search variables recursive upward from testset file 2017-09-04 11:22:43 +08:00
httprunner c8543e51ea bugfix: imported module should not be considered as variable 2017-09-01 19:01:34 +08:00
httprunner 9e3b9c47cd search and filter module variables 2017-09-01 15:21:04 +08:00
httprunner e2d9c44a18 update docs for debugtalk.py plugin 2017-08-31 15:01:51 +08:00
httprunner d9ecc3f3f7 rename built-in file name 2017-08-31 14:20:42 +08:00
httprunner ca9d41544e hot plugin support: search functions recursive upward from testset file 2017-08-31 12:51:39 +08:00
httprunner 6c39b07b0f get bind functions from upward searched debugtalk.py 2017-08-31 12:46:38 +08:00
httprunner 660549dc23 search expected function recursive upward 2017-08-31 12:25:36 +08:00
httprunner b1f3ba34e8 separate get_imported_module 2017-08-31 11:06:11 +08:00
httprunner 4f154c5d88 relocate functions 2017-08-31 10:35:05 +08:00
httprunner d41545dcc6 fix doc string 2017-08-30 16:59:11 +08:00
httprunner 371fa8582b save testcase file path in testset config 2017-08-30 16:54:55 +08:00
httprunner 19a5580d34 filter if files do not include testcases 2017-08-30 12:18:32 +08:00
httprunner cbb2dcdcb3 add match filter to load_foler_files 2017-08-30 12:15:44 +08:00
httprunner 34d0c6a1e8 rename fixture module name 2017-08-29 22:12:08 +08:00
httprunner 62ffacce20 add module doc 2017-08-29 21:50:37 +08:00
httprunner 70bdbb90e1 #36: add debugtalk.py local per-directory plugins 2017-08-29 21:33:02 +08:00
httprunner 5e7905e51c bugfix: numeric types should include long and complex 2017-08-29 18:10:55 +08:00
httprunner d3a068cb6d prepare_kwargs: reference kwargs do not need to return 2017-08-29 15:17:52 +08:00
httprunner 953a1d54ca fix travis-ci job 152 2017-08-29 14:57:27 +08:00
httprunner 1080d620bd bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +08:00
httprunner 969c3cce78 bugfix #35: load YAML/JSON config base_url as locust host 2017-08-29 12:37:30 +08:00
httprunner 4ca827ada6 if request content-type is application/json, request data should be dumped 2017-08-28 19:18:06 +08:00
httprunner c606bf373b convert keys in request headers to lowercase 2017-08-28 18:52:55 +08:00
httprunner 067cc43a1d add locusts-full-speed images 2017-08-28 11:06:58 +08:00
httprunner 887e5c8e52 update README 2017-08-28 10:21:16 +08:00
httprunner 5a29b1d96d update README 2017-08-27 00:04:04 +08:00
httprunner d683457eaf adjust code structure related to locust 2017-08-26 23:45:21 +08:00
httprunner 6bf3daae11 run locusts at full speed with master and several slaves, make the most use of all cpus 2017-08-26 23:29:18 +08:00
httprunner f43fcfe6c2 rename CLI name: ate-locust => locusts 2017-08-26 23:07:35 +08:00
httprunner ea4e9c04eb update README 2017-08-25 21:24:29 +08:00
httprunner 20677b8731 refactor ate/testcase.py: organise code with TestcaseParser, reduce passing parameters 2017-08-25 21:10:34 +08:00
httprunner fdb08e978d fix #33: invoke functions in url 2017-08-25 20:08:58 +08:00
httprunner bcbc4df24f bugfix #32: fix docstring 2017-08-25 15:18:03 +08:00
httprunner accff05ce0 fix pep8 2017-08-23 15:42:47 +08:00
httprunner f9a7b1d20e fix docs links 2017-08-23 12:33:37 +08:00
httprunner 1c14514755 add docs: extraction-and-validation 2017-08-23 12:23:40 +08:00
httprunner 2e9da796ef bugfix #31: comparator endswith 2017-08-22 17:51:31 +08:00
httprunner 7b44fd39d5 bugfix: locustfile template can not be found 2017-08-22 16:02:57 +08:00
httprunner 81b3cc33a2 bugfix #28: pkg_resources.DistributionNotFound 2017-08-22 15:34:35 +08:00
httprunner 13fe8aa034 remove Python 3.7-dev temporarily 2017-08-21 10:41:27 +08:00
httprunner 09dc36d69d add quickstart docs 2017-08-21 00:20:05 +08:00
httprunner b334e168cf new feature: ate-locust 2017-08-18 17:23:47 +08:00
httprunner 73dd8128fa bugfix: Python2 does not support encoding parameter in open function; use codecs.open instead. 2017-08-17 21:56:43 +08:00
httprunner 78ac4049c1 bugfix: open file with utf-8 encoding 2017-08-17 17:15:41 +08:00
httprunner 7f6a4e0159 remove long description from README.md 2017-08-17 16:48:58 +08:00
httprunner ebcc274e24 update README 2017-08-16 21:34:13 +08:00
httprunner 256d7de90f make result displayed in order 2017-08-16 20:33:05 +08:00
httprunner c61a7070f1 fix print version 2017-08-16 18:04:44 +08:00
httprunner 862a2928f4 update docstring of run_test 2017-08-15 19:34:50 +08:00
httprunner d25da56962 Merge branch 'mail' 2017-08-14 23:36:02 +08:00
httprunner 802cdec952 make jenkins-mail-py as extras_require 2017-08-14 22:52:47 +08:00
httprunner 78bd34bcbc make jenkins-mail-py as extras_require 2017-08-14 22:46:37 +08:00
httprunner 0d3fd40602 update with jenkins-mail-py 0.2.2 2017-08-14 15:09:43 +08:00
httprunner 09d1037bb1 fix dependency_links for jenkins-mail-py 2017-08-14 11:34:48 +08:00
httprunner 86c6f1b5f4 merge master to mail 2017-08-06 11:57:22 +08:00
httprunner ce94af9e57 add version number for dependent PyUnitReport 2017-08-05 19:08:24 +08:00