httprunner
31dcc40233
remove unused files
2018-12-17 21:45:33 +08:00
httprunner
eafc1a6499
remove builtin setup hook: prepare post data
2018-12-17 20:55:19 +08:00
httprunner
4cf44c460b
update unittest
2018-12-17 20:38:55 +08:00
httprunner
b4fd747941
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
httprunner
79600baea0
update licence
2018-12-17 18:40:26 +08:00
httprunner
995d4f22e1
fix unittest for Python 2.7/3.4/3.5
2018-12-16 00:48:59 +08:00
httprunner
9fbeb0167e
add unittest for running single api
2018-12-16 00:38:02 +08:00
httprunner
32a6906975
add new feature: parameters
2018-12-14 23:29:17 +08:00
httprunner
9dfad3884d
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
httprunner
01b9694794
remove unused code
2018-12-13 16:58:04 +08:00
httprunner
05b5fa8d07
omit request and response data length greater than 512
2018-12-13 16:19:17 +08:00
httprunner
e6498b1b28
log exception request_type and name for locust stat
2018-12-11 21:48:14 +08:00
httprunner
c107df8fd8
refactor testcase layer mechanism:
...
1, autotest testsuite layer
2, performance test
2018-12-10 16:10:06 +08:00
httprunner
a305afa9da
fix #455 : response time ascends while locusts running, with concurrency unchanged
2018-12-05 21:04:13 +08:00
httprunner
fb840b2517
save api in individual file: each file is corresponding to one api definition
2018-12-04 22:38:41 +08:00
httprunner
511c618ba9
change httprunner api HttpRunner location to avoid monkey patch
2018-12-04 20:47:53 +08:00
httprunner
96a555dc9e
fix 0c55b83c1a: import locust may lead to RecursionError
2018-12-04 20:15:16 +08:00
httprunner
a7f92f2a86
fix duplicate monkey patch
2018-12-04 14:46:30 +08:00
httprunner
0aaa06ae1f
get response cookies dict in debugtalk.py
2018-12-04 12:59:47 +08:00
httprunner
645b7504f6
fix typo error
2018-12-04 12:07:02 +08:00
httprunner
0c55b83c1a
fix: each testcase should have individual session.
2018-12-04 11:32:51 +08:00
httprunner
c2931cf088
update html report template
2018-12-03 23:11:33 +08:00
httprunner
79a3c55b6c
fix locusts: display test name when test failed
2018-12-03 20:21:14 +08:00
httprunner
9c01ef6ea4
change licence to GPLV3
2018-12-03 15:43:08 +08:00
httprunner
7382027632
fix: request url has variable extracted from former api
2018-12-03 12:46:00 +08:00
httprunner
c2e21de051
bugfix: POST content-type is application/x-www-form-urlencoded
2018-11-30 22:46:09 +08:00
httprunner
527a0b2b7b
fix base_url: teststep have base_url but is empty
2018-11-29 19:31:11 +08:00
httprunner
0e5d45cbe6
display name in each test result detail report
2018-11-29 16:10:59 +08:00
httprunner
a96a49e1f3
fix: variable in current url maybe extracted from former api
2018-11-29 15:37:04 +08:00
httprunner
04a74dcad1
fix base_url with api referrence
2018-11-29 15:15:45 +08:00
httprunner
b4247e0f0d
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
httprunner
86e23159d4
fix: display exceptions occurred in debugtalk.py
2018-11-29 14:20:47 +08:00
httprunner
5984f52ed9
add new line for next teststep
2018-11-29 12:31:13 +08:00
httprunner
e9d08b0de4
fix base_url with variables
2018-11-29 11:54:33 +08:00
httprunner
ae70b704b0
fix attachment xss in html report
2018-11-28 22:57:46 +08:00
httprunner
72918df69e
try to fix unittest failure in Python 2.7
2018-11-28 22:24:39 +08:00
httprunner
06c7303594
fix stringify summary: add requests.cookies.RequestsCookieJar type
2018-11-28 21:24:26 +08:00
httprunner
de2e6bc364
fix #411 : validation does not display when validation failed
2018-11-28 21:23:40 +08:00
httprunner
5e7db08470
show log even if test failed
2018-11-28 17:52:37 +08:00
httprunner
84fd49eeeb
fix a4ce29e656: make variables independent on order
2018-11-28 13:18:27 +08:00
httprunner
9a62f778fb
make variables in testcase template compatible with mapping style:
...
new mapping style:
"variables": {
"a": 1,
"b": 2
}
Also, the former list style is still valid:
"variables": [
{"a": 1},
{"b": 2}
]
2018-11-28 12:14:06 +08:00
httprunner
a4ce29e656
bugfix: parse test variables with config variables
2018-11-27 23:59:33 +08:00
httprunner
84256d931a
fix: make render_html_report API public
2018-11-27 22:29:39 +08:00
httprunner
055b2d5ad0
fix html report for HttpRunner 2.0
2018-11-27 17:58:06 +08:00
httprunner
abf9b03535
fix compatibility with locust
2018-11-26 17:39:25 +08:00
httprunner
b8d7969611
fix html report display response content
2018-11-26 14:36:07 +08:00
httprunner
15a214b565
fix: stringify summary before dump json file
2018-11-26 13:44:33 +08:00
httprunner
9dab233e29
remove render summary data
2018-11-26 11:50:55 +08:00
httprunner
4c08f58e3c
fix generated log filename when testing folder with '/' ending
2018-11-26 11:23:48 +08:00
httprunner
a647bc05a8
dump test result summary to json file
2018-11-25 23:52:11 +08:00