debugtalk
ac70488ee2
fix: xss in response json
2019-03-04 19:34:49 +08:00
debugtalk
eaadcaabbb
Merge pull request #531 from HttpRunner/save-variables-output
...
implement method to get variables and output
2019-03-04 19:33:06 +08:00
debugtalk
3675eb7950
Merge branch 'master' into save-variables-output
2019-03-04 19:26:05 +08:00
debugtalk
972c878d19
implement method to get variables and output
2019-03-01 10:32:58 +08:00
debugtalk
885b19ef23
Release 2.0.4
2019-02-28 15:56:46 +08:00
debugtalk
1ecd1eddd6
Merge branch 'master' into save-variables-output
2019-02-28 15:51:25 +08:00
debugtalk
e889942fab
Merge pull request #521 from hluguoj/bugfix/random-run-many-times
...
bugfix random function in config variables run many times
2019-02-28 15:49:40 +08:00
debugtalk
15b479ce55
Merge branch 'master' into bugfix/random-run-many-times
2019-02-28 15:33:27 +08:00
debugtalk
f046d89871
Merge branch 'master' into save-variables-output
2019-02-28 15:32:34 +08:00
debugtalk
09272a0bd6
Merge pull request #530 from HttpRunner/bugfix
...
bugfix verify priority: nested testcase config > testcase config
2019-02-28 15:30:07 +08:00
debugtalk
92474887d6
bugfix verify priority: nested testcase config > testcase config
2019-02-28 15:22:08 +08:00
debugtalk
3792023b3b
dump loaded tests when running tests_mapping directly
2019-02-27 15:30:36 +08:00
debugtalk
6a87479011
update release history
2019-02-24 20:19:59 +08:00
debugtalk
0e0e927258
Merge pull request #522 from HttpRunner/bugfix
...
bugfix verify priority: teststep > config
2019-02-24 20:13:02 +08:00
debugtalk
e84a3a6203
bump to 2.0.3
2019-02-24 20:05:08 +08:00
debugtalk
010109d5b9
add unittest for verify
2019-02-24 20:04:07 +08:00
debugtalk
c2247fdbff
fix testcase: add base_url
2019-02-24 19:38:32 +08:00
debugtalk
73dcded823
bugfix verify priority: teststep > config
2019-02-24 19:37:59 +08:00
debugtalk
d0308bbf51
change test filename
2019-02-24 18:12:55 +08:00
debugtalk
56ca99a6e8
remove unused unittest
2019-02-24 18:07:11 +08:00
debugtalk
5ba2cf2e4a
Merge pull request #516 from HttpRunner/bugfix
...
bugfixes with Chinese charactors
2019-02-20 12:01:35 +08:00
debugtalk
ccef209a14
bugfix: Chinese charactor in log_file encoding error in Windows
2019-02-20 11:57:18 +08:00
debugtalk
9c0bbbd248
bugfix: dump file with Chinese charactor in Python 3
2019-02-20 11:53:04 +08:00
debugtalk
708d26ee83
update modify_request_json
2019-02-20 11:51:30 +08:00
debugtalk
aa857010a8
Merge pull request #499 from HttpRunner/fix_output
...
Release 2.0.2
2019-01-25 19:07:39 +08:00
debugtalk
c282b16614
update Release History
2019-01-25 19:01:27 +08:00
debugtalk
88934a066a
display result from hook functions
2019-01-25 18:03:46 +08:00
debugtalk
824cfaf515
each teststeps in one testcase share the same session.
2019-01-25 14:08:53 +08:00
debugtalk
c17875c82c
fix duplicate API definition output
2019-01-25 12:18:07 +08:00
debugtalk
7beedf378a
print testcase output
2019-01-24 17:14:44 +08:00
debugtalk
c73a708307
print Invalid testcase path or testcases
2019-01-24 15:22:10 +08:00
debugtalk
b71a06e159
change log level of Variables
2019-01-21 17:19:31 +08:00
debugtalk
53588bc074
Merge pull request #495 from HttpRunner/bugfix
...
release 2.0.1
2019-01-18 19:30:02 +08:00
debugtalk
8f59643ca9
add Release History
2019-01-18 19:08:34 +08:00
debugtalk
51bb4b108c
bugfix: add request method in report
2019-01-18 12:47:55 +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
17138dff98
update unittest
2019-01-17 16:52:34 +08:00
debugtalk
bf09483ecf
bugfix: override current teststep variables with former testcase output variables
2019-01-17 13:38:33 +08:00
debugtalk
0224d3ec66
Merge pull request #475 from HttpRunner/2.0
...
Release 2.0.0
2019-01-01 23:24:28 +08:00
debugtalk
2538743c6b
update omitting request & response length:
...
1, request: only omit upload file type;
2, response: keep raw content for extracting; omit in summary
2018-12-28 16:15:18 +08:00
debugtalk
d568059ffc
bugfix: extend_variables
2018-12-28 14:35:20 +08:00
debugtalk
61b4b62765
update report: add testcase stat to summary
2018-12-28 12:03:58 +08:00
debugtalk
162b0fa96e
fix unittest
2018-12-27 17:12:47 +08:00
debugtalk
7d422be10e
remove unused files
2018-12-27 17:04:38 +08:00
debugtalk
9e68daa929
update prepare_locust_tests
2018-12-27 16:50:31 +08:00
debugtalk
850b9972fd
update unittest for api base_url
2018-12-27 16:39:37 +08:00
debugtalk
6d71079536
add unittest
2018-12-27 15:33:14 +08:00
debugtalk
ecbbc00952
set default log level to INFO for HttpRunner class
2018-12-26 15:15:27 +08:00
debugtalk
53ff266042
set log level and file path in HttpRunner class
2018-12-25 19:17:17 +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
de53da5962
fix unittest for Python 2.7/3.4/3.5
2018-12-22 23:26:50 +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
7eafa1678f
add unittest for request with params
2018-12-21 18:54:05 +08:00
debugtalk
42cc8bc9d0
fix base_url priority: testcase config > testsuite config
2018-12-21 18:26:32 +08:00
debugtalk
c734bcdfc6
fix os sep: make compatible with Windows/Linux
2018-12-20 23:03:41 +08:00
debugtalk
cac9c17184
fix NameError
2018-12-20 22:42:42 +08:00
debugtalk
05d2cc014d
enhance report: display all 30X redirect request and response
2018-12-20 17:59:11 +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
363420053c
fix RecursionError caused by locust
2018-12-18 16:21:24 +08:00
debugtalk
2640720332
fix unittest c4805ccb98e909b9586eea3e30c15b40fb0bbf8a
2018-12-17 23:08:35 +08:00
debugtalk
a0121b9007
add unittest to verify cookie persistence
2018-12-17 22:47:30 +08:00
debugtalk
e8e830c5d3
add unittest for request with cookies
2018-12-17 22:29:12 +08:00
debugtalk
baa27f37e7
remove unused files
2018-12-17 21:45:33 +08:00
debugtalk
9ef84a38e8
remove builtin setup hook: prepare post data
2018-12-17 20:55:19 +08:00
debugtalk
d53133cfea
update unittest
2018-12-17 20:38:55 +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
e3460c203a
update licence
2018-12-17 18:40:26 +08:00
debugtalk
411981dcd0
fix unittest for Python 2.7/3.4/3.5
2018-12-16 00:48:59 +08:00
debugtalk
dcd50579a1
add unittest for running single api
2018-12-16 00:38:02 +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
5a90c437af
remove unused code
2018-12-13 16:58:04 +08:00
debugtalk
2e655dca06
omit request and response data length greater than 512
2018-12-13 16:19:17 +08:00
debugtalk
d586d7cb82
log exception request_type and name for locust stat
2018-12-11 21:48:14 +08:00
debugtalk
acfca8c07f
refactor testcase layer mechanism:
...
1, autotest testsuite layer
2, performance test
2018-12-10 16:10:06 +08:00
debugtalk
6fd92679e3
fix #455 : response time ascends while locusts running, with concurrency unchanged
2018-12-05 21:04:13 +08:00
debugtalk
0eacd5f7de
save api in individual file: each file is corresponding to one api definition
2018-12-04 22:38:41 +08:00
debugtalk
0cfb92aa4a
change httprunner api HttpRunner location to avoid monkey patch
2018-12-04 20:47:53 +08:00
debugtalk
60422c274f
fix 4810889d86238ab08ee5f18996b9509539420b0a: import locust may lead to RecursionError
2018-12-04 20:15:16 +08:00
debugtalk
50d0ef01ae
fix duplicate monkey patch
2018-12-04 14:46:30 +08:00
debugtalk
0b30e5c96b
get response cookies dict in debugtalk.py
2018-12-04 12:59:47 +08:00
debugtalk
4e2fd846fb
fix typo error
2018-12-04 12:07:02 +08:00
debugtalk
2698bd6e13
fix: each testcase should have individual session.
2018-12-04 11:32:51 +08:00
debugtalk
0801adebca
update html report template
2018-12-03 23:11:33 +08:00
debugtalk
335d19c0cf
fix locusts: display test name when test failed
2018-12-03 20:21:14 +08:00
debugtalk
6d107d4bf1
change licence to GPLV3
2018-12-03 15:43:08 +08:00
debugtalk
f27498937c
fix: request url has variable extracted from former api
2018-12-03 12:46:00 +08:00
debugtalk
757fc975f1
bugfix: POST content-type is application/x-www-form-urlencoded
2018-11-30 22:46:09 +08:00
debugtalk
5d6509d38f
fix base_url: teststep have base_url but is empty
2018-11-29 19:31:11 +08:00
debugtalk
b32e4339ab
display name in each test result detail report
2018-11-29 16:10:59 +08:00
debugtalk
134a77e4f4
fix: variable in current url maybe extracted from former api
2018-11-29 15:37:04 +08:00
debugtalk
7b2c5114c2
fix base_url with api referrence
2018-11-29 15:15:45 +08:00
debugtalk
8021fb0760
make extract in testcase template compatible with mapping style:
...
new mapping style:
extract: {
a: content.a,
b: text.b
}
Also, the former list style is still valid:
extract: [
{a: content.a},
{b: text.b}
]
2018-11-29 14:43:12 +08:00
debugtalk
caeaf2884a
fix: display exceptions occurred in debugtalk.py
2018-11-29 14:20:47 +08:00
debugtalk
29ea6af0e3
add new line for next teststep
2018-11-29 12:31:13 +08:00
debugtalk
56b0a7819d
fix base_url with variables
2018-11-29 11:54:33 +08:00
debugtalk
40604da7de
fix attachment xss in html report
2018-11-28 22:57:46 +08:00
debugtalk
8667c2db4b
try to fix unittest failure in Python 2.7
2018-11-28 22:24:39 +08:00