mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-10 17:43:00 +08:00
change: update docs
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
# 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)
|
||||
|
||||
**go version**
|
||||
|
||||
@@ -37,4 +37,4 @@ Copyright 2017 debugtalk
|
||||
* [hrp startproject](hrp_startproject.md) - create a scaffold project
|
||||
* [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
|
||||
|
||||
@@ -42,4 +42,4 @@ hrp boom [flags]
|
||||
|
||||
* [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
|
||||
|
||||
@@ -28,4 +28,4 @@ hrp build $path ... [flags]
|
||||
|
||||
* [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
|
||||
|
||||
@@ -22,4 +22,4 @@ hrp convert $path... [flags]
|
||||
|
||||
* [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
|
||||
|
||||
@@ -16,4 +16,4 @@ hrp pytest $path ... [flags]
|
||||
|
||||
* [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
|
||||
|
||||
@@ -35,4 +35,4 @@ hrp run $path... [flags]
|
||||
|
||||
* [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
|
||||
|
||||
@@ -21,4 +21,4 @@ hrp startproject $project_name [flags]
|
||||
|
||||
* [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
|
||||
|
||||
@@ -16,4 +16,4 @@ hrp wiki [flags]
|
||||
|
||||
* [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,5 +1,5 @@
|
||||
{
|
||||
"project_name": "demo-empty-project",
|
||||
"create_time": "2022-06-27T16:52:45.660111+08:00",
|
||||
"hrp_version": "v4.1.4"
|
||||
"create_time": "2022-07-04T14:54:33.795693+08:00",
|
||||
"hrp_version": "v4.1.5"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"project_name": "demo-with-go-plugin",
|
||||
"create_time": "2022-06-27T16:51:52.779837+08:00",
|
||||
"hrp_version": "v4.1.4"
|
||||
"create_time": "2022-07-04T14:53:59.755944+08:00",
|
||||
"hrp_version": "v4.1.5"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"project_name": "demo-with-py-plugin",
|
||||
"create_time": "2022-06-27T16:51:54.32061+08:00",
|
||||
"hrp_version": "v4.1.4"
|
||||
"create_time": "2022-07-04T14:54:00.346082+08:00",
|
||||
"hrp_version": "v4.1.5"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"project_name": "demo-without-plugin",
|
||||
"create_time": "2022-06-27T16:52:45.363472+08:00",
|
||||
"hrp_version": "v4.1.4"
|
||||
"create_time": "2022-07-04T14:54:33.495643+08:00",
|
||||
"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 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
|
||||
|
||||
import (
|
||||
|
||||
@@ -271,14 +271,11 @@ func prepareUpload(parser *Parser, step *TStep, stepVariables map[string]interfa
|
||||
if step.Request.Upload == nil {
|
||||
return
|
||||
}
|
||||
uploadSlice := map[string]interface{}{}
|
||||
for key, value := range step.Request.Upload {
|
||||
uploadSlice[key], err = parser.Parse(value, stepVariables)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
uploadMap, err := parser.Parse(step.Request.Upload, stepVariables)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
stepVariables["m_upload"] = uploadSlice
|
||||
stepVariables["m_upload"] = uploadMap
|
||||
mEncoder, err := parser.Parse("${multipart_encoder($m_upload)}", stepVariables)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user