httprunner
6ca5e63377
refactor parameterization:
...
1, support parameters in test block;
2, refactor parameterization code.
2018-03-08 19:35:42 +08:00
httprunner
96fc410234
refactor parameterization:
...
parameter value now can be in three types:
(1) data list
(2) call built-in parameterize function
(3) call custom function in debugtalk.py
2018-03-07 16:21:51 +08:00
httprunner
b191197a43
fix setup
2018-03-06 14:44:36 +08:00
httprunner
0b18db61e1
add setup.py upload support
2018-03-05 12:24:33 +08:00
httprunner
0a71dd8ed3
#106 : add callable to check if it is function
2018-03-01 00:13:25 +08:00
httprunner
074cc76cad
#106 : support builtin functions
2018-02-28 23:56:10 +08:00
httprunner
24c5826cce
add Pipfile.lock
2018-02-28 18:15:58 +08:00
httprunner
74bb9b0d81
replace requirements-dev.txt with Pipfile
2018-02-28 15:33:34 +08:00
httprunner
846ddc413b
add HttpRunner version to report template
2018-02-27 23:23:28 +08:00
httprunner
6c0b782ea0
upgrade to 0.9.7: support .env file
2018-02-27 16:36:05 +08:00
httprunner
e2bca60c20
update docstring for HttpRunner class
2018-02-27 13:48:42 +08:00
httprunner
02587003f7
refactor HttpRunner interface
2018-02-27 13:43:35 +08:00
httprunner
73935b83d0
add runtime env to report
2018-02-27 10:47:34 +08:00
httprunner
091d676522
fix #104 : popup ids are the same in default template
2018-02-26 23:16:36 +08:00
httprunner
8dd5f5f493
bugfix: instal with dependencies
2018-02-26 22:38:17 +08:00
httprunner
0948dcb0fc
relocate locust template file
2018-02-26 13:50:10 +08:00
httprunner
4301a6ea46
bugfix: make json serializable before rendering
2018-02-26 13:44:53 +08:00
httprunner
4372e8ad02
remove unused import
2018-02-26 13:33:32 +08:00
httprunner
c6c361c237
relocate expressions
2018-02-26 13:32:37 +08:00
httprunner
85fa296436
update html report default template
2018-02-26 12:42:21 +08:00
httprunner
b160c1af34
bugfix: handle when testcase failed
2018-02-26 11:19:58 +08:00
httprunner
02bc5d5f0f
html report: show response time for each test
2018-02-26 00:34:55 +08:00
httprunner
ea4a2c6d3f
extract meta data of request and bind it to testcase
2018-02-26 00:19:02 +08:00
httprunner
7d81db9c88
rename function name: _run_test => run_test
2018-02-25 23:32:36 +08:00
httprunner
fdfad281d6
bugfix open and write file: make compatible with Python 2.7
2018-02-25 23:15:32 +08:00
httprunner
589d13b725
0.9.5:
...
1, remove PyUnitReport dependency;
2, add built-in html report;
3, support pass in html report template, in Jinja2 format.
2018-02-25 23:09:12 +08:00
httprunner
5b03ab334a
refactor class name: ApiTestCase => TestCase, ApiTestSuite => TestSuite
2018-02-24 17:59:42 +08:00
httprunner
ee2d15f42e
add HttpRunner class as interface
2018-02-24 17:45:45 +08:00
httprunner
b1e3c17512
put request info to the next line
2018-02-24 15:45:28 +08:00
httprunner
4c9fb6f75b
fix #99 : if charset is specified in content-type, request data should be encoded with charset encoding
2018-02-24 15:33:18 +08:00
httprunner
f01bc59d2a
lower all keys in request headers
2018-02-24 15:28:27 +08:00
httprunner
273a01ae23
print error info when missing debugging type
2018-02-24 13:47:22 +08:00
httprunner
0080f8821d
0.9.3b
2018-02-23 23:04:44 +08:00
httprunner
c66f6ede02
add requirements-dev.txt for debugging
2018-02-23 20:26:44 +08:00
httprunner
a0f5f7d40e
bugfix #100 : Null value can only be compared with comparator: eq/equals/==
2018-02-23 20:24:32 +08:00
httprunner
2481f86c3b
bugfix: debug entrance
2018-02-23 20:22:24 +08:00
httprunner
7fa1057f16
add Google Analytics
2018-02-22 18:53:24 +08:00
httprunner
1629063b39
add requirements-dev.txt for debugging
2018-02-22 11:23:34 +08:00
httprunner
b4a5c04014
add debugging entrance cmd
2018-02-22 10:37:15 +08:00
httprunner
00e9f2e144
0.9.3a
2018-02-22 00:27:31 +08:00
httprunner
3fd9f794f4
use httprunner/cli.py as debugging entrances
2018-02-22 00:24:10 +08:00
httprunner
b6c5bd89d2
remove requirements.txt
2018-02-22 00:04:25 +08:00
httprunner
acb0c1e6f5
reduce depenency packages for user
2018-02-21 23:48:04 +08:00
httprunner
e49214ec52
logging with colors
2018-02-21 12:32:14 +08:00
httprunner
0e0805d230
check user input value for --log-level
2018-02-20 21:48:50 +08:00
httprunner
152f73637d
hide traceback when log level is INFO/WARNING/ERROR/CRITICAL
2018-02-20 01:15:57 +08:00
httprunner
842a3aeff5
remove return from _run_test
2018-02-19 23:41:37 +08:00
httprunner
3543f62e9e
install har2case by default
2018-02-19 18:06:03 +08:00
httprunner
8e375edc67
update
2018-02-17 22:32:18 +08:00
httprunner
24485cd1dc
switch theme to mkdocs-material
2018-02-17 20:15:17 +08:00
httprunner
44e769fe89
modify website host
2018-02-16 22:44:49 +08:00
httprunner
151acd19be
refactor names: simplify functions
2018-02-16 01:41:16 +08:00
httprunner
6e4c48979a
evaluate testcase name
2018-02-16 00:48:14 +08:00
httprunner
f8569aad91
new feature: support parameters and data driven
2018-02-15 22:53:56 +08:00
httprunner
1db17cbd47
rename function
2018-02-14 22:05:11 +08:00
httprunner
8aa25023a3
add test result stat
2018-02-14 21:12:31 +08:00
httprunner
1eebfbabfc
refactor: make test runner unified
2018-02-14 20:28:28 +08:00
httprunner
3f00769d3a
bugfix: add variable
2018-02-14 01:13:06 +08:00
httprunner
d4d9367c70
rename main_ate to main_hrun
2018-02-14 00:08:42 +08:00
httprunner
5b63d8c385
add CNAME
2018-02-12 23:32:30 +08:00
httprunner
5c8e8e72ab
update .gitignore
2018-02-12 23:32:18 +08:00
httprunner
570d218836
update docs with mkdocs
2018-02-12 21:37:49 +08:00
httprunner
f8beb887ea
add HelloWorld example
2018-02-09 16:43:50 +08:00
httprunner
b247cd49bc
#96 : skip unless condition
2018-02-08 22:36:30 +08:00
httprunner
f17297b097
update docs
2018-02-08 17:54:40 +08:00
httprunner
da56d4dd1a
#96 : move skip check code to one place
2018-02-08 17:28:00 +08:00
httprunner
9042e6e72f
#96 : refactor skip feature:
...
1, with skip keyword, skip current test unconditionally;
2, with skipIf keyword, you can skip current test with condition; condition evaluation can be defined in debugtalk.py function.
2018-02-08 15:59:17 +08:00
httprunner
5bbbdc1997
bugfix #96 skip feature: display skip testcases number corretly
2018-02-08 12:55:23 +08:00
httprunner
1f81623a66
refactor run times: display test statistics correctly with run times setting
2018-02-08 12:24:53 +08:00
httprunner
fc88377c4a
fix #96 : add skip feature
...
1, skip=True is equal to times=0;
2, skip priority is higher than times.
2018-02-07 11:26:28 +08:00
httprunner
5048a0785d
only output variables that are in variables_mapping
2018-02-07 10:36:25 +08:00
httprunner
d4048c066c
fix #84 : type_match invalid
2018-01-17 12:49:02 +08:00
httprunner
85a76a12d2
#78 : merge extractors in test with api extractors
2018-01-16 20:36:27 +08:00
httprunner
318d5e6492
update version
2018-01-16 19:41:47 +08:00
httprunner
488585fdc5
#78 : merge validators in test with api validators
2018-01-16 19:28:07 +08:00
httprunner
4ead306951
bugfix: start locust slave on other machines
2018-01-16 16:30:24 +08:00
httprunner
cf9043e81c
replace --cpu-cores with --full-speed: now support specify slaves number
2018-01-11 23:03:13 +08:00
httprunner
62712bc177
update doc for rename
2017-12-23 15:19:44 +08:00
httprunner
a30dc47067
replace codecs with io
2017-12-23 12:49:34 +08:00
httprunner
a86113ea97
fix #66 : Permission denied error when testset file is read only.
2017-12-23 12:46:00 +08:00
httprunner
18fbffed87
fix #64 : when headers in test is None, it should inherit from config
2017-12-23 12:41:00 +08:00
httprunner
5fb87f00f6
update tests for custom validator
2017-12-13 16:29:42 +08:00
httprunner
9401719a1f
fix docs: comparator table
2017-12-13 15:42:37 +08:00
httprunner
184d515608
check conflict parameter args: --full-speed --no-web
2017-12-13 14:17:55 +08:00
httprunner
7a45b4078b
#52 : validator expect field support reference variable
2017-12-13 01:22:43 +08:00
httprunner
ca9f793fb3
validator: check item support reference variable
2017-12-13 01:12:57 +08:00
httprunner
6ac43e39ea
#29 : refactor validator:
...
1, relocate validate functions;
2, add unittest for custom defined validators.
2017-12-12 23:59:54 +08:00
httprunner
0e1ef7f78f
update docs for validator
2017-12-12 20:14:59 +08:00
httprunner
155ad0167e
#29 : refactor validator, now support custom defined validators
2017-12-12 20:06:54 +08:00
httprunner
8c19212c6f
support new validator format, e.g. {'eq': ['status_code', 200]}
2017-12-12 12:08:55 +08:00
httprunner
e36f1e6d1c
set request timeout default to 120 seconds
2017-11-16 10:49:35 +08:00
httprunner
b7eddf687d
disable InsecureRequestWarning
2017-11-15 21:49:41 +08:00
httprunner
32f95b0fa7
add print exception
2017-11-15 18:46:57 +08:00
httprunner
107530373c
update
2017-11-15 18:17:36 +08:00
httprunner
64e22eb828
reduce installing dependent libs for user
2017-11-14 16:15:03 +08:00
httprunner
d5f534bceb
update coveralls
2017-11-14 16:01:31 +08:00
httprunner
ad90b4c787
bugfix #53 : ensure teardown functions executed when test fail
2017-11-13 22:53:35 +08:00
httprunner
6c00dacc56
remove unused import
2017-11-13 21:03:01 +08:00
httprunner
b262ae5e5e
validate: set expect as alias for expected
2017-11-13 20:56:46 +08:00
httprunner
75b15f2a79
add hrun command short for httprunner
2017-11-12 08:56:00 +08:00