change: update docs

This commit is contained in:
xucong053
2022-07-04 14:59:02 +08:00
parent fac75e2be3
commit f1898629ed
16 changed files with 31 additions and 25 deletions
+9
View File
@@ -1,5 +1,14 @@
# Release History # Release History
## v4.1.6 (2022-07-04)
**go version**
- fix: step name with parameterize mechanism
- fix: error of concurrent map writes occurred while uploading in boom mode
- fix: record all requests of testcase reference in boom mode
- fix: failed to record the step of occurring error in the html report
## v4.1.5 (2022-06-27) ## v4.1.5 (2022-06-27)
**go version** **go version**
+1 -1
View File
@@ -37,4 +37,4 @@ Copyright 2017 debugtalk
* [hrp startproject](hrp_startproject.md) - create a scaffold project * [hrp startproject](hrp_startproject.md) - create a scaffold project
* [hrp wiki](hrp_wiki.md) - visit https://httprunner.com * [hrp wiki](hrp_wiki.md) - visit https://httprunner.com
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -42,4 +42,4 @@ hrp boom [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -28,4 +28,4 @@ hrp build $path ... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -22,4 +22,4 @@ hrp convert $path... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -16,4 +16,4 @@ hrp pytest $path ... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -35,4 +35,4 @@ hrp run $path... [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -21,4 +21,4 @@ hrp startproject $project_name [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+1 -1
View File
@@ -16,4 +16,4 @@ hrp wiki [flags]
* [hrp](hrp.md) - Next-Generation API Testing Solution. * [hrp](hrp.md) - Next-Generation API Testing Solution.
###### Auto generated by spf13/cobra on 27-Jun-2022 ###### Auto generated by spf13/cobra on 4-Jul-2022
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-empty-project", "project_name": "demo-empty-project",
"create_time": "2022-06-27T16:52:45.660111+08:00", "create_time": "2022-07-04T14:54:33.795693+08:00",
"hrp_version": "v4.1.4" "hrp_version": "v4.1.5"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-with-go-plugin", "project_name": "demo-with-go-plugin",
"create_time": "2022-06-27T16:51:52.779837+08:00", "create_time": "2022-07-04T14:53:59.755944+08:00",
"hrp_version": "v4.1.4" "hrp_version": "v4.1.5"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-with-py-plugin", "project_name": "demo-with-py-plugin",
"create_time": "2022-06-27T16:51:54.32061+08:00", "create_time": "2022-07-04T14:54:00.346082+08:00",
"hrp_version": "v4.1.4" "hrp_version": "v4.1.5"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"project_name": "demo-without-plugin", "project_name": "demo-without-plugin",
"create_time": "2022-06-27T16:52:45.363472+08:00", "create_time": "2022-07-04T14:54:33.495643+08:00",
"hrp_version": "v4.1.4" "hrp_version": "v4.1.5"
} }
@@ -1,4 +1,4 @@
# NOTE: Generated By hrp v4.1.4, DO NOT EDIT! # NOTE: Generated By hrp v4.1.5, DO NOT EDIT!
import sys import sys
import os import os
@@ -1,4 +1,4 @@
// NOTE: Generated By hrp v4.1.4, DO NOT EDIT! // NOTE: Generated By hrp v4.1.5, DO NOT EDIT!
package main package main
import ( import (
+4 -7
View File
@@ -271,14 +271,11 @@ func prepareUpload(parser *Parser, step *TStep, stepVariables map[string]interfa
if step.Request.Upload == nil { if step.Request.Upload == nil {
return return
} }
uploadSlice := map[string]interface{}{} uploadMap, err := parser.Parse(step.Request.Upload, stepVariables)
for key, value := range step.Request.Upload { if err != nil {
uploadSlice[key], err = parser.Parse(value, stepVariables) return
if err != nil {
return
}
} }
stepVariables["m_upload"] = uploadSlice stepVariables["m_upload"] = uploadMap
mEncoder, err := parser.Parse("${multipart_encoder($m_upload)}", stepVariables) mEncoder, err := parser.Parse("${multipart_encoder($m_upload)}", stepVariables)
if err != nil { if err != nil {
return return