Commit Graph
100 Commits
Author SHA1 Message Date
debugtalk bf117b671c filter if files do not include testcases 2017-08-30 12:18:32 +08:00
debugtalk 8e9e9d6c57 add match filter to load_foler_files 2017-08-30 12:15:44 +08:00
debugtalk 7f4c565fcb rename fixture module name 2017-08-29 22:12:08 +08:00
debugtalk 3d20568e8b add module doc 2017-08-29 21:50:37 +08:00
debugtalk 46dcd195d0 #36: add debugtalk.py local per-directory plugins 2017-08-29 21:33:02 +08:00
debugtalk 459f5abc6b bugfix: numeric types should include long and complex 2017-08-29 18:10:55 +08:00
debugtalk df2f90a4f4 prepare_kwargs: reference kwargs do not need to return 2017-08-29 15:17:52 +08:00
debugtalk 68622f7843 fix travis-ci job 152 2017-08-29 14:57:27 +08:00
debugtalk 223cb20f72 bugfix #34: handle exception when response content is empty 2017-08-29 14:44:44 +08:00
debugtalk b3e22902df bugfix #35: load YAML/JSON config base_url as locust host 2017-08-29 12:37:30 +08:00
debugtalk 530f5bc89c if request content-type is application/json, request data should be dumped 2017-08-28 19:18:06 +08:00
debugtalk 94a55827e7 convert keys in request headers to lowercase 2017-08-28 18:52:55 +08:00
debugtalk e1d25b8de3 add locusts-full-speed images 2017-08-28 11:06:58 +08:00
debugtalk e9195beef3 update README 2017-08-28 10:21:16 +08:00
debugtalk 9f3a8a4642 update README 2017-08-27 00:04:04 +08:00
debugtalk ed69c2454e adjust code structure related to locust 2017-08-26 23:45:21 +08:00
debugtalk f3ead61b81 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
debugtalk b2423a024b rename CLI name: ate-locust => locusts 2017-08-26 23:07:35 +08:00
debugtalk 0801c11918 update README 2017-08-25 21:24:29 +08:00
debugtalk 4722c6ec86 refactor ate/testcase.py: organise code with TestcaseParser, reduce passing parameters 2017-08-25 21:10:34 +08:00
debugtalk e6dcbd95fb fix #33: invoke functions in url 2017-08-25 20:08:58 +08:00
debugtalk d0f7987381 bugfix #32: fix docstring 2017-08-25 15:18:03 +08:00
debugtalk c603db849d fix pep8 2017-08-23 15:42:47 +08:00
debugtalk b7b76c4849 fix docs links 2017-08-23 12:33:37 +08:00
debugtalk 4ab0c5f3bc add docs: extraction-and-validation 2017-08-23 12:23:40 +08:00
debugtalk 2212226662 bugfix #31: comparator endswith 2017-08-22 17:51:31 +08:00
debugtalk 275f4fda77 bugfix: locustfile template can not be found 2017-08-22 16:02:57 +08:00
debugtalk 4777817ff7 bugfix #28: pkg_resources.DistributionNotFound 2017-08-22 15:34:35 +08:00
debugtalk e643b5435b remove Python 3.7-dev temporarily 2017-08-21 10:41:27 +08:00
debugtalk ddb058a8b1 add quickstart docs 2017-08-21 00:20:05 +08:00
debugtalk 148b2b9e9c new feature: ate-locust 2017-08-18 17:23:47 +08:00
debugtalk a871bcf837 bugfix: Python2 does not support encoding parameter in open function; use codecs.open instead. 2017-08-17 21:56:43 +08:00
debugtalk c716be0df6 bugfix: open file with utf-8 encoding 2017-08-17 17:15:41 +08:00
debugtalk 4498295f96 remove long description from README.md 2017-08-17 16:48:58 +08:00
debugtalk 5efdb716e3 update README 2017-08-16 21:34:13 +08:00
debugtalk a34bb6f259 make result displayed in order 2017-08-16 20:33:05 +08:00
debugtalk 53edcca982 fix print version 2017-08-16 18:04:44 +08:00
debugtalk 71c37bc3b4 update docstring of run_test 2017-08-15 19:34:50 +08:00
debugtalk 43eadf5482 Merge branch 'mail' 2017-08-14 23:36:02 +08:00
debugtalk f947a32822 make jenkins-mail-py as extras_require 2017-08-14 22:52:47 +08:00
debugtalk b2e8b207df make jenkins-mail-py as extras_require 2017-08-14 22:46:37 +08:00
debugtalk b3c57d778d update with jenkins-mail-py 0.2.2 2017-08-14 15:09:43 +08:00
debugtalk e5f88d2f4f fix dependency_links for jenkins-mail-py 2017-08-14 11:34:48 +08:00
debugtalk 5e5b1c1292 merge master to mail 2017-08-06 11:57:22 +08:00
debugtalk 5b8c3903df add version number for dependent PyUnitReport 2017-08-05 19:08:24 +08:00
debugtalk df3101aaf3 add Python version 3.7-dev 2017-08-05 10:57:00 +08:00
debugtalk e41d3102bc Merge branch 'master' into mail 2017-08-03 23:58:39 +08:00
debugtalk 840600eccb add doc of comparator 2017-08-03 23:58:06 +08:00
debugtalk 4697a53820 make comparator classified 2017-08-03 23:56:05 +08:00
debugtalk 52c6f7e084 add return value in cli.main to adapt jenkins:
1, if all testcases passed, then jenkins job pass;
2, if any testcase failed, then jenkins job fail.
2017-08-03 14:30:49 +08:00
debugtalk 656a34d3d3 Merge branch 'master' into mail 2017-08-03 14:12:41 +08:00
debugtalk 58c573cf65 Merge pull request #14 from diaojunxian/master
bugfix: add maxreplace=1 to avoid similar variables are replaced by mistaken.
For instance, if user=1000, then "/$user/$userid" will be replaced to be "/1000/1000id".
2017-08-03 13:34:29 +08:00
debugtalk 8c81094410 update README 2017-08-03 12:05:57 +08:00
debugtalk 6c46f924a6 Merge branch 'master' into mail 2017-08-03 12:03:49 +08:00
debugtalk 02dc813779 bugfix: when a variable binds to None, it should not raise exception 2017-08-03 12:02:37 +08:00
debugtalk 1f55252844 bugfix: remove return value, otherwise jenkins job will consider it as failure 2017-08-03 10:53:33 +08:00
debugtalk a4bbdb4f81 add jenkins-mail-py to support mail test result 2017-08-02 23:58:00 +08:00
debugtalk 5291586053 add test result flag 2017-08-02 23:30:54 +08:00
debugtalk 131442b5e6 collect test result 2017-08-02 17:36:03 +08:00
debugtalk e40056cb4f bugfix: comparison with None should raise exception in Python 2.7 2017-08-02 16:44:51 +08:00
debugtalk c061265d9e add parser argument failfast 2017-08-02 15:34:51 +08:00
debugtalk 14e744c962 bugfix: TypeError in match_expected 2017-08-02 15:21:37 +08:00
debugtalk 57b1f35e4d optimize response validation: if validation failed, then raise ValidationError directly 2017-08-02 15:10:38 +08:00
debugtalk 0dd18466b3 optimize exception type 2017-08-02 14:19:14 +08:00
debugtalk 297dabca60 optimize response validation 2017-08-02 13:33:07 +08:00
debugtalk d413d49c58 remove termcolor 2017-08-02 11:37:40 +08:00
debugtalk fec78591c5 update testcase example 2017-08-01 14:59:59 +08:00
debugtalk 1535351548 call function anywhere in testcase 2017-08-01 11:33:31 +08:00
debugtalk 7ad9d68252 update version to 0.3.0 2017-07-31 22:59:04 +08:00
debugtalk 5f6181f156 simplify tests 2017-07-31 22:57:00 +08:00
debugtalk 6cc2fde85d restructure code: move code related to testcase from ate/utils.py to ate/testcase.py 2017-07-31 22:51:28 +08:00
debugtalk 5f80a2346c update README 2017-07-31 22:27:02 +08:00
debugtalk 94f3bfc00b bugfix #9: handle string content with multiple identical variables. 2017-07-31 22:26:09 +08:00
debugtalk 13a53681ed bugfix: when the bind value of variable is not in string type, it should be converted to string first, or it will raise TypeError in replace function 2017-07-31 21:04:19 +08:00
debugtalk 65ae5b83df #9: add unittest for string with multiple identical variables 2017-07-31 16:01:14 +08:00
debugtalk 460dd557d8 bugfix #9: handle string content with multiple variables. 2017-07-30 16:18:11 +08:00
debugtalk e7d8d13427 fix typo error 2017-07-27 21:12:10 +08:00
debugtalk abb1882ca6 specify run times in testcase 2017-07-27 14:44:32 +08:00
debugtalk 6589769869 update README: add Upgrade description 2017-07-25 10:44:29 +08:00
debugtalk 9669640949 Stop the test run on the first error or failure. 2017-07-24 22:16:15 +08:00
debugtalk 4468df05ab update tag to 0.2.2 2017-07-24 18:16:07 +08:00
debugtalk d56a8ea219 update docs 2017-07-23 22:00:03 +08:00
debugtalk 2cc32cf396 fix spelling error 2017-07-23 21:12:30 +08:00
debugtalk 9c17921168 convert docs/FAQ to English 2017-07-23 12:45:11 +08:00
debugtalk b09c4480d9 change docs file name 2017-07-23 12:30:25 +08:00
debugtalk 69b215fd44 README: add design philosopy 2017-07-23 12:15:22 +08:00
debugtalk 54b67a440e Convert README from Chinese to English. 2017-07-23 11:55:23 +08:00
debugtalk 9cca73155c update demo testset: change position of variable binds 2017-07-23 11:29:48 +08:00
debugtalk f94f57d102 refactor mock server:
1, remove authentication switcher;
2, change authentication method: from verify request data's md5 to get token at the beginning.
2017-07-22 15:15:05 +08:00
debugtalk 8c58e87fd8 bugfix: testset_shared_variables_mapping should be OrderedDict 2017-07-21 17:04:27 +08:00
debugtalk d90c6165f2 change context variable name 2017-07-21 09:26:33 +08:00
debugtalk f41729094a refactor variable context:
1, variable context has two level, testset and testcase;
2, testset level variables can be used in whole test suite, while testcase level variables can only be used in testcase;
3, when variable binds with functions, the funtions will be called and the result will be set to the variable.
2017-07-20 22:43:18 +08:00
debugtalk a5bb50e32d bugfix: variable name and function name could have _ 2017-07-20 12:24:44 +08:00
debugtalk 31c73d036e rename test folder to tests 2017-07-20 11:18:09 +08:00
debugtalk 6ef716b9fe add FAQ for installing 2017-07-20 11:08:59 +08:00
debugtalk 72485d9bcb remove testcases folder 2017-07-20 10:49:58 +08:00
debugtalk 9e154cea97 make custom module importable anywhere 2017-07-20 10:32:58 +08:00
debugtalk 2179092ea7 change method to specify testset path 2017-07-19 23:29:29 +08:00
debugtalk 8b27fd21f5 add command argument: show version 2017-07-19 21:24:37 +08:00
debugtalk a4b1be79a6 : 2017-07-19 19:18:02 +08:00