mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
Merge branch 'main' of github.com:xucong053/hrp
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
`hrp` aims to be a one-stop solution for HTTP(S) testing, covering API testing, load testing and digital experience monitoring (DEM).
|
||||
|
||||
See [CHANGELOG].
|
||||
|
||||
> 欢迎参加 HttpRunner [用户调研问卷][survey],你的反馈将帮助 HttpRunner 更好地成长!
|
||||
|
||||
## Key Features
|
||||
|
||||

|
||||
@@ -296,6 +299,8 @@ func TestCaseDemo(t *testing.T) {
|
||||
|
||||
<img src="docs/assets/qrcode.jpg" alt="HttpRunner" width="200">
|
||||
|
||||
如果你期望加入 HttpRunner 核心用户群,请填写[用户调研问卷][survey]并留下你的联系方式,作者将拉你进群。
|
||||
|
||||
[HttpRunner]: https://github.com/httprunner/httprunner
|
||||
[boomer]: https://github.com/myzhan/boomer
|
||||
[locust]: https://github.com/locustio/locust
|
||||
@@ -308,3 +313,4 @@ func TestCaseDemo(t *testing.T) {
|
||||
[examples]: https://github.com/httprunner/hrp/blob/main/examples/
|
||||
[CHANGELOG]: docs/CHANGELOG.md
|
||||
[pushgateway]: https://github.com/prometheus/pushgateway
|
||||
[survey]: https://wenjuan.feishu.cn/m?t=sVRvigY12Szi-gbbo
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
- Homepage: https://httprunner.com
|
||||
- Docs
|
||||
- Repo: https://github.com/httprunner/httprunner.github.io
|
||||
- 中文: https://httprunner.com/docs
|
||||
- English: https://httprunner.com/en/docs
|
||||
- [hrp command help](cmd/hrp.md)
|
||||
|
||||
@@ -681,7 +681,9 @@ func (r *caseRunner) runStepRequest(step *TStep) (stepResult *stepData, err erro
|
||||
if err != nil {
|
||||
return stepResult, err
|
||||
}
|
||||
req.Header.Set("Content-Type", "application/json; charset=UTF-8")
|
||||
if req.Header.Get("Content-Type") == "" {
|
||||
req.Header.Set("Content-Type", "application/json; charset=utf-8")
|
||||
}
|
||||
}
|
||||
case string:
|
||||
dataBytes = []byte(vv)
|
||||
|
||||
Reference in New Issue
Block a user