debugtalk
8d3a423e88
bugfix: substitute_variables_with_mapping, handle when value is None, bool, empty string
2017-09-20 19:55:25 +08:00
debugtalk
5e9be12f92
bugfix: UnicodeEncodeError in 3.4+
2017-09-20 15:49:30 +08:00
debugtalk
4e1e72173c
bugfix: UnicodeEncodeError when value is in Chinese
2017-09-20 15:01:19 +08:00
debugtalk
45ede0d5ad
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
debugtalk
28a48740c7
ate: print output after tests
2017-09-19 23:34:16 +08:00
debugtalk
e0e8f2d2ec
make ApiTestSuite class to hold ApiTestCase
2017-09-19 23:33:09 +08:00
debugtalk
0dad384f01
move print_output function from runner.py to utils.py
2017-09-19 23:27:38 +08:00
debugtalk
a2607569bd
bind_variables: variable_binds now can be ordered dict
2017-09-19 18:33:27 +08:00
debugtalk
99da071fba
refactor handling binds data structure
2017-09-19 18:10:54 +08:00
debugtalk
cb7bb253da
make extract_response return as ordered dict
2017-09-19 18:05:12 +08:00
debugtalk
0181e61ab8
run_testset: add variables_mapping parameter
2017-09-19 17:07:07 +08:00
debugtalk
1414d27517
fix doc string
2017-09-19 16:14:55 +08:00
debugtalk
3792da8105
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
debugtalk
375d55dac2
load_testcases_by_path: add file_type parameter
2017-09-19 11:34:52 +08:00
debugtalk
48336ee56b
adjust function name and variable name
2017-09-18 22:51:58 +08:00
debugtalk
4126b99862
subsititue api call args
2017-09-18 21:53:22 +08:00
debugtalk
611acf528a
bugfix: adjust functions location to avoid cross reference
2017-09-18 16:01:19 +08:00
debugtalk
cd20b0a8dc
new feature: testcases can be layered, now we can define interface in api block individually
2017-09-18 15:21:50 +08:00
debugtalk
479f0e5860
refactor load_folder_files: change filter behavior
2017-09-18 11:45:12 +08:00
debugtalk
8f73e11f49
strip from extracted function
2017-09-14 20:54:19 +08:00
debugtalk
7d4cd5f02f
bugfix: HttpNtlmAuth should be lower case
2017-09-14 10:50:11 +08:00
debugtalk
83bcc27133
lower testcase key
2017-09-13 16:17:21 +08:00
debugtalk
0e601c1865
request in config should also be parsed
2017-09-12 22:32:52 +08:00
debugtalk
2b26fe3931
refactor: adjust code location
2017-09-12 19:34:37 +08:00
debugtalk
089ffa122d
bugfix: when binding variable is None, it should be None other than raise ParamsError"
2017-09-12 17:10:04 +08:00
debugtalk
80e05e6c39
search variables in debugtalk.py recursively upward
2017-09-12 17:08:39 +08:00
debugtalk
c8335244de
Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine
2017-09-12 16:23:24 +08:00
debugtalk
35b15930a2
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
debugtalk
395ff4ad9f
Merge branch 'master' of https://github.com/debugtalk/ApiTestEngine
2017-09-11 23:48:57 +08:00
debugtalk
0a867e1db9
Merge pull request #40 from vlaw/master
...
fix typos
2017-09-11 23:44:34 +08:00
debugtalk
cbaf6b731b
fix variable name
2017-09-07 16:47:04 +08:00
debugtalk
cd6e742808
add setup and teardown block, in these blocks, we can exec functions such as sleep
2017-09-05 10:25:22 +08:00
debugtalk
154e050a60
bugfix: extract_binds should be list
2017-09-04 22:04:57 +08:00
debugtalk
1f44b1997d
bugfix: private property should be _single_leading_underscore
2017-09-04 11:35:02 +08:00
debugtalk
082a2711e9
hot plugin support: search variables recursive upward from testset file
2017-09-04 11:22:43 +08:00
debugtalk
77047f3671
bugfix: imported module should not be considered as variable
2017-09-01 19:01:34 +08:00
debugtalk
83ee357ade
search and filter module variables
2017-09-01 15:21:04 +08:00
debugtalk
bf5bc00dcc
update docs for debugtalk.py plugin
2017-08-31 15:01:51 +08:00
debugtalk
82db4f053c
rename built-in file name
2017-08-31 14:20:42 +08:00
debugtalk
ce0f1590f9
hot plugin support: search functions recursive upward from testset file
2017-08-31 12:51:39 +08:00
debugtalk
47e06b9c27
get bind functions from upward searched debugtalk.py
2017-08-31 12:46:38 +08:00
debugtalk
f9aaffce0e
search expected function recursive upward
2017-08-31 12:25:36 +08:00
debugtalk
ad58e2915f
separate get_imported_module
2017-08-31 11:06:11 +08:00
debugtalk
74c97a9ccb
relocate functions
2017-08-31 10:35:05 +08:00
debugtalk
246d206afb
fix doc string
2017-08-30 16:59:11 +08:00
debugtalk
c16120e2aa
save testcase file path in testset config
2017-08-30 16:54:55 +08:00
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