debugtalk
d65f3860b1
feat: config variables support parsing from function
2019-09-19 00:22:18 +08:00
debugtalk
710a3762a4
fix: remove unused import
2019-08-07 21:54:53 +08:00
debugtalk
ee4a18e535
fix #574 : delete unnecessary code
2019-07-14 22:41:20 +08:00
debugtalk
20ff55b1b2
feat: 'extract' is used to replace 'output' when passing former teststep's (as a testcase) export value to next teststep
2019-06-26 22:16:05 +08:00
debugtalk
3ebf527d9a
fix: exception when teststep name reference former extracted variable
2019-06-25 00:08:42 +08:00
debugtalk
4b56baab1b
fix: remove unexpected argument
2019-06-24 23:31:09 +08:00
debugtalk
648c44e1c1
fix: replace eval mechanism with builtins to prevent security vulnerabilities
2019-04-24 15:43:57 +08:00
debugtalk
ce83c7b05f
fix: display api name when running api as testcase
2019-04-18 16:28:11 +08:00
debugtalk
5f33cbfd28
fix: escape braces
2019-04-18 15:44:30 +08:00
debugtalk
eeb7eade1a
fix: replace $$ notation with $ and consider it as normal char.
2019-04-17 20:47:26 +08:00
debugtalk
aac919ba53
fix: check if variable exist with $$ notation
2019-04-17 19:01:19 +08:00
debugtalk
eda555f1b6
support new variable notation: ${var}
2019-04-17 18:20:38 +08:00
debugtalk
7a89a726b9
use $$ to escape $ notation
2019-04-17 16:22:42 +08:00
debugtalk
a9e47d9425
fix: regex match in Python 2.7/3.3/3.4/3.5
2019-04-17 15:41:53 +08:00
debugtalk
c7def0d902
fix: escape '{' and '}'
2019-04-17 15:29:13 +08:00
debugtalk
336bdeeee2
fix: match duplicate variable/function in raw string
...
e.g.
"ABC${func1($var_1, $var_3)}$var_1--${func1($var_1, $var_3)}$var_1"
2019-04-17 15:17:45 +08:00
debugtalk
f0f3061538
fix: match duplicate variable/function in raw string
...
e.g.
"ABC$var_1/123$var_1/456"
"ABC${func1($var_1, $var_3)}--${func1($var_1, $var_3)}"
2019-04-17 15:12:57 +08:00
debugtalk
8cd5ac4b25
LazyFunction: wrap argument
2019-04-10 20:23:50 +08:00
debugtalk
b5d4b686df
display args and kwargs in LazyFunction repr string
2019-04-10 17:28:25 +08:00
debugtalk
e1edb896eb
fix: pass output variables between testcases
2019-04-10 15:35:53 +08:00
debugtalk
5a021eb674
fix: dead circle in parse_variables_mapping
2019-04-09 21:39:32 +08:00
debugtalk
692aef8e50
fix: prepare_lazy_data missing output/extract variables when nested testcase as teststep
2019-04-08 22:34:07 +08:00
debugtalk
da14066847
fix: reference output variables
2019-04-08 21:10:22 +08:00
debugtalk
488029145d
fix: make compatible with undefined testcase name
2019-04-08 21:05:22 +08:00
debugtalk
233f54d315
remove project_mapping from parse_tests result
2019-04-08 20:52:14 +08:00
debugtalk
a9e836c369
fix: prepare_lazy_data missing api variables
2019-04-08 18:25:37 +08:00
debugtalk
4a478f55d0
relocate build url with base_url
2019-04-08 14:11:49 +08:00
debugtalk
3d1c7f368c
feat: implement lazy parser for validators
2019-04-08 12:12:09 +08:00
debugtalk
0e663d19cb
fix: variable scope error in Python 2.7
2019-04-04 16:55:04 +08:00
debugtalk
d7b76b2fcc
feat: implement lazy parser
2019-04-04 01:21:08 +08:00
debugtalk
e8c5e54eb2
remove unused code: substitute_variables
2019-03-22 16:09:04 +08:00
debugtalk
972c878d19
implement method to get variables and output
2019-03-01 10:32:58 +08:00
debugtalk
15b479ce55
Merge branch 'master' into bugfix/random-run-many-times
2019-02-28 15:33:27 +08:00
debugtalk
92474887d6
bugfix verify priority: nested testcase config > testcase config
2019-02-28 15:22:08 +08:00
hluguoj
8d511ceb16
bugfix random function in config variables run many times
2019-02-27 21:21:11 +08:00
debugtalk
73dcded823
bugfix verify priority: teststep > config
2019-02-24 19:37:59 +08:00
debugtalk
d3c3732516
bugfix: skip undefined variable when parsing string content
2019-01-17 18:40:46 +08:00
debugtalk
7b6922817c
bugfix: make compatible with testcase name is empty
2019-01-17 16:52:34 +08:00
debugtalk
6a68207aa9
fix: run api folder, each api should be encapsulated as individual testcase
2018-12-24 12:24:30 +08:00
debugtalk
4090755826
fix locust in testsuite
2018-12-22 23:09:05 +08:00
debugtalk
3423f5c945
fix error when testcase parameters is {}
2018-12-21 19:07:26 +08:00
debugtalk
42cc8bc9d0
fix base_url priority: testcase config > testsuite config
2018-12-21 18:26:32 +08:00
debugtalk
b6a1a25b3e
fix bug when nested function and variable exists in variables:
...
e.g.
"variables": {
"host2": "https://httprunner.org ",
"num4": "${sum_two($num0, 5)}",
"num3": "${sum_two($num2, 4)}",
"num2": "${sum_two($num1, 3)}",
"num1": "${sum_two(1, 2)}"
}
2018-12-19 19:36:42 +08:00
debugtalk
a1d55ed162
update parameterize feature:
...
def get_user_agent():
return ["iOS/10.1", "iOS/10.2"]
def get_account_in_tuple():
return [("user1", "111111"), ("user2", "222222")]
2018-12-17 20:19:01 +08:00
debugtalk
3249394732
add new feature: parameters
2018-12-14 23:29:17 +08:00
debugtalk
021aeab8d8
make parameters in testcase template compatible with mapping style:
...
new mapping style:
parameters: {
a: [1, 2, 3],
b: "${P(f.csv)}"
}
Also, the former list style is still valid:
extract: [
{a: [1, 2, 3]},
{b: "${P(f.csv)}"}
]
2018-12-13 17:52:46 +08:00
debugtalk
acfca8c07f
refactor testcase layer mechanism:
...
1, autotest testsuite layer
2, performance test
2018-12-10 16:10:06 +08:00
debugtalk
f27498937c
fix: request url has variable extracted from former api
2018-12-03 12:46:00 +08:00
debugtalk
5d6509d38f
fix base_url: teststep have base_url but is empty
2018-11-29 19:31:11 +08:00
debugtalk
134a77e4f4
fix: variable in current url maybe extracted from former api
2018-11-29 15:37:04 +08:00