Commit Graph

522 Commits

Author SHA1 Message Date
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
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
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
debugtalk
c6ce47ba89 fix: unittest 2022-02-18 21:11:37 +08:00
debugtalk
0f3dd1b6d6 fix: generate headers.\"Content-Type\" in har2case 2022-02-18 19:39:47 +08:00
debugtalk
865c753ea9 fix: omit pseudo header names for HTTP/1, e.g. :authority 2022-02-18 19:03:10 +08:00
debugtalk
320e9601a7 bump version to v0.6.1 2022-02-17 20:14:14 +08:00
debugtalk
b7e82230e7 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
17d35dfa15 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
buyuxiang
5619556698 del unused once field
Change-Id: I8086a4bc20baffaf94c4845d3d5e62ce7120fe33
2022-02-17 15:09:41 +08:00
buyuxiang
0f7ea53e56 fix: broadcast to all rendezvous at once when spawn done
Change-Id: Ic04bc2f56aa40c2af42a1fdb3c261a10e8346033
2022-02-17 12:39:55 +08:00
xucong053
cfafe7f1a1 resolve conflict 2022-02-15 17:57:55 +08:00
debugtalk
9fd2367367 Merge pull request #83 from bbx-winner/main
- fix: panic when assertion function not exists
- change: json unmarshal to float64 when parsing data
2022-02-15 17:48:54 +08:00
buyuxiang
158bc160bb restore headers.Content-Type validate
Change-Id: I6fdf2291bdf953f19ee6e9474020a2ab72186acf
2022-02-15 17:10:38 +08:00
buyuxiang
e6467dfc28 fix startswith endswith and unittest
Change-Id: I3e1c6fd82812d13b4e23ecd6b23c4d57170852e1
2022-02-15 17:05:39 +08:00
xucong053
e87b1023ba fix: modify logging logic of summary. 2022-02-15 16:37:00 +08:00
buyuxiang
3f5c6f7f5d fix code format
Change-Id: I85d477f85844eee2d98f6231c16b57803a41aba7
2022-02-14 16:17:28 +08:00
buyuxiang
6fbd8f7d9b fix code format
Change-Id: I583aa6344fff967285b024fddef9f45ac8ee2baf
2022-02-14 16:13:22 +08:00
buyuxiang
b1fdd4be71 fix: Connection and Content-Type not found in postman-echo headers
Change-Id: Ieae673e12c7baabe231d7f3509bba18624d80431
2022-02-14 16:06:34 +08:00
buyuxiang
ef5f071dbc fix: converInt function bug
Change-Id: Ifb364a943351f3762f5784fb8d84d9eb385a383f
2022-02-14 16:02:28 +08:00
buyuxiang
569ba24bcf Merge branch 'main' of github.com:httprunner/hrp
Change-Id: I3989c88355fe3d70f4753e737e0d0dd4c059c9eb
2022-02-14 14:41:38 +08:00
buyuxiang
5bce59c583 fix starts_with and ends_wih spelling
Change-Id: I1e475e8187f6e793cd9f9029af93a7d80603b26d
2022-02-14 14:41:15 +08:00
debugtalk
a3c60da51b change: update survey 2022-02-11 23:51:48 +08:00
debugtalk
9ec4ed4146 Merge pull request #82 from xucong053/main
fix: failed to generate API test report when data is null
2022-02-11 20:02:17 +08:00