Commit Graph

537 Commits

Author SHA1 Message Date
buyuxiang
11448faed0 fix: change Validators type, check json body format 2022-03-01 18:05:13 +08:00
buyuxiang
31e2fb61de fix: return checkExpr info when do assertion failed 2022-02-28 17:45:28 +08:00
buyuxiang
cf9190ab18 fix: nil step.Request pointer 2022-02-28 17:39:09 +08:00
buyuxiang
062b45c3c5 Merge branch 'main' of github.com:httprunner/hrp 2022-02-28 16:53:13 +08:00
buyuxiang
b5629071e1 fix: func convertCompatTestCase 2022-02-28 16:51:31 +08:00
debugtalk
5046b50870 Merge pull request #124 from httprunner/refactor-plugin
refactor plugin
2022-02-25 23:07:49 +08:00
debugtalk
60af7dd4ce fix: unittest 2022-02-25 23:04:34 +08:00
debugtalk
bcc90c8403 refactor: plugin structure 2022-02-25 22:43:04 +08:00
debugtalk
fd4a32d9f1 change: replace flag with --log-requests-off 2022-02-25 17:57:29 +08:00
debugtalk
ae929a1d7d feat: add flag --log-plugin to turn on plugin logging 2022-02-25 17:55:21 +08:00
debugtalk
a361fe3d03 change: add short flag for continue-on-failure 2022-02-25 16:01:17 +08:00
debugtalk
34b6104775 fix: typo error 2022-02-25 12:14:16 +08:00
buyuxiang
344aba681c compat: convert testcase generated by HttpRunner
Change-Id: Iabc58b6796b7cd88f7b93e415b3d88dca85b288d
2022-02-24 22:32:16 +08:00
buyuxiang
2c3597d995 fix: append jmespath info when assertion failed
Change-Id: I576aa651086bb2c22343aa69f862955448e1b209
2022-02-24 22:30:53 +08:00
debugtalk
f7b1ff79f3 Merge branch 'main' of https://github.com/httprunner/hrp into refactor-plugin 2022-02-24 18:53:38 +08:00
debugtalk
3703cba1f9 Merge pull request #116 from xucong053/main
fix: add slice type of request body data
2022-02-24 18:14:28 +08:00
xucong053
df1c47f683 Merge branch 'main' of github.com:xucong053/hrp 2022-02-24 15:25:49 +08:00
xucong053
ed7290ced7 fix: add slice type of request body data 2022-02-24 15:24:58 +08:00
debugtalk
15ccc86a64 refactor: split plugin files 2022-02-23 16:24:59 +08:00
debugtalk
0fe0fc5929 feat: add hrp_step_name, hrp_step_request, hrp_step_response to hooks variables 2022-02-23 16:13:53 +08:00
debugtalk
288a6e4094 Merge pull request #106 from bbx-winner/main
feat: support customized setup/teardown hooks (variable assignment not supported)
2022-02-22 21:04:58 +08:00
buyuxiang
a491193894 feat: support setup/teardown hooks
Change-Id: I148e11c190859b57dd5268cfe5643762e43bd64a
2022-02-22 21:00:52 +08:00
debugtalk
4045c67d02 update docs 2022-02-22 15:54:26 +08:00
debugtalk
4480248400 bump version to v0.6.2 hrp-v0.6.2 2022-02-22 15:50:56 +08:00
debugtalk
18cab679cb fix: parse data for request cookie value 2022-02-22 15:38:06 +08:00
debugtalk
54fe1173fa change: update docs 2022-02-22 15:36:50 +08:00
debugtalk
0ea3485ce1 Merge pull request #104 from xucong053/main
feat: support text/html extraction with regex
2022-02-22 15:17:32 +08:00
xucong053
f6d21f6334 feat: support html extraction with regex #87 2022-02-22 15:10:18 +08:00
debugtalk
3a6641a2a4 fix: omit print request/response body for non-text content 2022-02-21 21:18:31 +08:00
debugtalk
e34a32ce7b fix: set to unknown to avoid Content-Length mismatched 2022-02-21 20:11:55 +08:00
debugtalk
f69dbcbfb6 change: convert brotli.Reader to io.ReadCloser 2022-02-21 18:48:18 +08:00
debugtalk
021b78f874 fix: replace with github.com/andybalholm/brotli to avoid using cgo 2022-02-21 18:25:01 +08:00
debugtalk
5282b48681 Merge pull request #99 from ZhouYixun/main
change: update har2case flag default strategy
2022-02-21 17:09:18 +08:00
debugtalk
283f5861f9 fix #100: decode response body in br/gzip/deflate formats 2022-02-21 16:58:55 +08:00
Eason
0cd4c2857d Update har2case.go
add "error" library
2022-02-21 16:54:55 +08:00
Eason
a6538b1319 Update har2case.go
1、根据建议调整多余indent
2、修改flag描述
2022-02-21 16:09:13 +08:00
Eason
632ff117e7 Update har2case.go
1、Fix `har2caseCmd.Flags().BoolVarP(&genYAMLFlag, "to-yaml", "y", false, "convert to YAML format")` -> JSON -> YAML
2、Change json flag detault to `true`
3、Fix Special circumstances
2022-02-21 15:36:59 +08:00
debugtalk
90e340de68 Merge pull request #98 from ZhouYixun/main
change: replace spaces with indent when generating JSON testcases
2022-02-21 15:17:25 +08:00
Eason
8748237772 Update for JSON formatting
A small suggestion is to use /t for indentation and line feed in JSON formatting
2022-02-21 15:13:25 +08:00
debugtalk
9f4c460ab3 Merge pull request #97 from bbx-winner/main
fix #97: incorrect data type when extracting data using jmespath
2022-02-21 13:21:02 +08:00
buyuxiang
87236a273f add: test timestamp extraction
Change-Id: I4aba2b7d387d8cb7b9c1baec997e59b1b594c34d
2022-02-20 14:00:27 +08:00
buyuxiang
14f290ec36 regenerate examples/demo
Change-Id: I02a6704c65f28ef73b16e1da437e2a05494182ca
2022-02-20 13:56:03 +08:00
buyuxiang
8429f8d08b Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I5075829627ac2775050b799c471eec1868542e15
2022-02-20 13:51:40 +08:00
buyuxiang
54402ad5f7 fix: extract data using jmespath
Change-Id: Icea3b8fa7e71dd610c19c91e21a259104ab2fe30
2022-02-20 13:43:28 +08:00
debugtalk
d9b5c72930 fix: unittest 2022-02-18 21:11:37 +08:00
debugtalk
9560def232 fix: generate headers.\"Content-Type\" in har2case 2022-02-18 19:39:47 +08:00
debugtalk
b3d3d9157c fix: omit pseudo header names for HTTP/1, e.g. :authority 2022-02-18 19:03:10 +08:00
debugtalk
6bb96e8eac bump version to v0.6.1 hrp-v0.6.1 2022-02-17 20:14:14 +08:00
debugtalk
8cc24502e5 Merge pull request #91 from bbx-winner/main
fix: broadcast to all rendezvous at once when spawn done
2022-02-17 20:00:50 +08:00
debugtalk
9ea9cde288 Merge pull request #85 from xucong053/main
change: merge teststeps when call other testcases
change: add timestamp for generated summary and html reports
2022-02-17 18:48:35 +08:00