Commit Graph

543 Commits

Author SHA1 Message Date
debugtalk
6c9a9d789b bump version to v0.6.3 2022-03-04 17:42:55 +08:00
debugtalk
9d160171fc Merge pull request #118 from bbx-winner/main
compat: support testcase generated by HttpRunner
2022-03-04 17:28:20 +08:00
buyuxiang
8459e3fab4 fix example JSON/YAML file path 2022-03-03 19:43:36 +08:00
buyuxiang
026131b604 move convertCheckExpr to convertCompatTestCase 2022-03-03 19:29:35 +08:00
buyuxiang
a3fafd8c40 fix compat convert, add unittest 2022-03-03 18:31:10 +08:00
buyuxiang
1613eb4724 fix: len(validatorMap) == 3 2022-03-01 20:58:24 +08:00
buyuxiang
b04a57eb09 fix: change Validators type, check json body format 2022-03-01 18:05:13 +08:00
buyuxiang
c144d14a4e fix: return checkExpr info when do assertion failed 2022-02-28 17:45:28 +08:00
buyuxiang
54d938286e fix: nil step.Request pointer 2022-02-28 17:39:09 +08:00
buyuxiang
4fc322c44d Merge branch 'main' of github.com:httprunner/hrp 2022-02-28 16:53:13 +08:00
buyuxiang
b4ada29bab fix: func convertCompatTestCase 2022-02-28 16:51:31 +08:00
debugtalk
01113581c9 Merge pull request #124 from httprunner/refactor-plugin
refactor plugin
2022-02-25 23:07:49 +08:00
debugtalk
64b9e513ef fix: unittest 2022-02-25 23:04:34 +08:00
debugtalk
fead0c0a31 refactor: plugin structure 2022-02-25 22:43:04 +08:00
debugtalk
c6179f1687 change: replace flag with --log-requests-off 2022-02-25 17:57:29 +08:00
debugtalk
026384bbdb feat: add flag --log-plugin to turn on plugin logging 2022-02-25 17:55:21 +08:00
debugtalk
d7be9c938e change: add short flag for continue-on-failure 2022-02-25 16:01:17 +08:00
debugtalk
3de4e072b2 fix: typo error 2022-02-25 12:14:16 +08:00
buyuxiang
6aedf35dad compat: convert testcase generated by HttpRunner
Change-Id: Iabc58b6796b7cd88f7b93e415b3d88dca85b288d
2022-02-24 22:32:16 +08:00
buyuxiang
2c2ffadf43 fix: append jmespath info when assertion failed
Change-Id: I576aa651086bb2c22343aa69f862955448e1b209
2022-02-24 22:30:53 +08:00
debugtalk
b89261a907 Merge branch 'main' of https://github.com/httprunner/hrp into refactor-plugin 2022-02-24 18:53:38 +08:00
debugtalk
213cb545ce Merge pull request #116 from xucong053/main
fix: add slice type of request body data
2022-02-24 18:14:28 +08:00
xucong053
673d700145 Merge branch 'main' of github.com:xucong053/hrp 2022-02-24 15:25:49 +08:00
xucong053
802e6052ff fix: add slice type of request body data 2022-02-24 15:24:58 +08:00
debugtalk
00df455931 refactor: split plugin files 2022-02-23 16:24:59 +08:00
debugtalk
c827222d34 feat: add hrp_step_name, hrp_step_request, hrp_step_response to hooks variables 2022-02-23 16:13:53 +08:00
debugtalk
a993500584 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
82d9dce168 feat: support setup/teardown hooks
Change-Id: I148e11c190859b57dd5268cfe5643762e43bd64a
2022-02-22 21:00:52 +08:00
debugtalk
4992e2e87b update docs 2022-02-22 15:54:26 +08:00
debugtalk
f8c4716d5b bump version to v0.6.2 2022-02-22 15:50:56 +08:00
debugtalk
aeaa0f377c fix: parse data for request cookie value 2022-02-22 15:38:06 +08:00
debugtalk
06715ecbeb change: update docs 2022-02-22 15:36:50 +08:00
debugtalk
2c3b043050 Merge pull request #104 from xucong053/main
feat: support text/html extraction with regex
2022-02-22 15:17:32 +08:00
xucong053
0cef3f9ec2 feat: support html extraction with regex #87 2022-02-22 15:10:18 +08:00
debugtalk
0423fc96e8 fix: omit print request/response body for non-text content 2022-02-21 21:18:31 +08:00
debugtalk
e5b53df245 fix: set to unknown to avoid Content-Length mismatched 2022-02-21 20:11:55 +08:00
debugtalk
d534fe06ee change: convert brotli.Reader to io.ReadCloser 2022-02-21 18:48:18 +08:00
debugtalk
b3762dbbbc fix: replace with github.com/andybalholm/brotli to avoid using cgo 2022-02-21 18:25:01 +08:00
debugtalk
fd29a6cf8c Merge pull request #99 from ZhouYixun/main
change: update har2case flag default strategy
2022-02-21 17:09:18 +08:00
debugtalk
c6535f0f78 fix #100: decode response body in br/gzip/deflate formats 2022-02-21 16:58:55 +08:00
Eason
e729c8e4b3 Update har2case.go
add "error" library
2022-02-21 16:54:55 +08:00
Eason
5e0b114add Update har2case.go
1、根据建议调整多余indent
2、修改flag描述
2022-02-21 16:09:13 +08:00
Eason
32e5d85d79 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
1f0996d269 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
cb6de8f56d 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
3e4cc34162 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
2ba1d5829e add: test timestamp extraction
Change-Id: I4aba2b7d387d8cb7b9c1baec997e59b1b594c34d
2022-02-20 14:00:27 +08:00
buyuxiang
50c4384207 regenerate examples/demo
Change-Id: I02a6704c65f28ef73b16e1da437e2a05494182ca
2022-02-20 13:56:03 +08:00
buyuxiang
8fd2d08da3 Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I5075829627ac2775050b799c471eec1868542e15
2022-02-20 13:51:40 +08:00
buyuxiang
c0ebe2ee53 fix: extract data using jmespath
Change-Id: Icea3b8fa7e71dd610c19c91e21a259104ab2fe30
2022-02-20 13:43:28 +08:00