model

package
v0.1.34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrandBrokens added in v0.0.64

type BrandBrokens struct {

	// 接收字节数
	RecBytes *[]float64 `json:"recBytes,omitempty"`

	// 发送字节数
	SentBytes *[]float64 `json:"sentBytes,omitempty"`
}

func (BrandBrokens) String added in v0.0.64

func (o BrandBrokens) String() string

type CaseInfo added in v0.0.64

type CaseInfo struct {

	// case_id
	CaseId *int32 `json:"case_id,omitempty"`

	// 用例名称
	Name *string `json:"name,omitempty"`

	// case_type
	CaseType *int32 `json:"case_type,omitempty"`

	// contents
	Contents *[]Contents `json:"contents,omitempty"`

	// for_loop_params
	ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"`

	// increase_setting
	IncreaseSetting *[]interface{} `json:"increase_setting,omitempty"`

	// stages
	Stages *[]TestCaseStage `json:"stages,omitempty"`

	// 状态,0:已删除;1:启用;2:禁用
	Status *int32 `json:"status,omitempty"`

	// temp_id
	TempId *int32 `json:"temp_id,omitempty"`

	// 排序字段
	Sort *int32 `json:"sort,omitempty"`
}

func (CaseInfo) String added in v0.0.64

func (o CaseInfo) String() string

type CodeMessageResq

type CodeMessageResq struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`
}

func (CodeMessageResq) String

func (o CodeMessageResq) String() string

type Content added in v0.0.64

type Content struct {

	// content_type
	ContentType *int32 `json:"content_type,omitempty"`

	Content *ContentInfo `json:"content,omitempty"`
}

func (Content) String added in v0.0.64

func (o Content) String() string

type ContentHeader added in v0.0.64

type ContentHeader struct {

	// key
	Key *string `json:"key,omitempty"`

	// value
	Value *string `json:"value,omitempty"`
}

func (ContentHeader) String added in v0.0.64

func (o ContentHeader) String() string

type ContentInfo added in v0.0.64

type ContentInfo struct {

	// body_type
	BodyType *int32 `json:"body_type,omitempty"`

	// bodys
	Bodys *[]interface{} `json:"bodys,omitempty"`

	// TCP/UDP协议返回数据长度
	CheckEndLength *interface{} `json:"check_end_length,omitempty"`

	// TCP/UDP协议返回结束符
	CheckEndStr *interface{} `json:"check_end_str,omitempty"`

	// TCP/UDP协议返回结束类型,1:返回数据长度;2:结束符
	CheckEndType *interface{} `json:"check_end_type,omitempty"`

	// connect_timeout
	ConnectTimeout *int32 `json:"connect_timeout,omitempty"`

	// connect_type
	ConnectType *int32 `json:"connect_type,omitempty"`

	// headers
	Headers *[]ContentHeader `json:"headers,omitempty"`

	// http_version
	HttpVersion *string `json:"http_version,omitempty"`

	// method
	Method *string `json:"method,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// protocol_type
	ProtocolType *int32 `json:"protocol_type,omitempty"`

	// return_timeout
	ReturnTimeout *int32 `json:"return_timeout,omitempty"`

	// return_timeout_param
	ReturnTimeoutParam *string `json:"return_timeout_param,omitempty"`

	// url
	Url *string `json:"url,omitempty"`
}

func (ContentInfo) String added in v0.0.64

func (o ContentInfo) String() string

type Contents added in v0.0.64

type Contents struct {

	// 事务id,若不为0表示此卡片为事务;为0表示非事务
	ContentId *int32 `json:"content_id,omitempty"`

	// content
	Content *[]Content `json:"content,omitempty"`

	// 排序索引标识
	Index *int32 `json:"index,omitempty"`

	// selected_temp_name
	SelectedTempName *string `json:"selected_temp_name,omitempty"`

	// 数据(循环、条件控制器作用的数据)
	Data *interface{} `json:"data,omitempty"`

	// 类型,0:默认请求;1:数据指令;201:循环指令; 202:条件指令;301:集合点
	DataType *int32 `json:"data_type,omitempty"`

	// 若类型为202:条件指令,该字段为条件配置
	Conditions *interface{} `json:"conditions,omitempty"`

	// 是否禁用
	IsDisabled *bool `json:"is_disabled,omitempty"`
}

func (Contents) String added in v0.0.64

func (o Contents) String() string

type CreateCaseRequest

type CreateCaseRequest struct {
	Body *CreateCaseRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateCaseRequest) String

func (o CreateCaseRequest) String() string

type CreateCaseRequestBody

type CreateCaseRequestBody struct {

	// name
	Name string `json:"name"`

	// type (0-常规用例,1-视频流用例,2-预制用例)
	Type int32 `json:"type"`

	// task_id
	TaskId int32 `json:"task_id"`
}

CreateCaseRequestBody

func (CreateCaseRequestBody) String

func (o CreateCaseRequestBody) String() string

type CreateCaseResponse

type CreateCaseResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	Json *CreateCaseResultJson `json:"json,omitempty"`

	// message
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateCaseResponse) String

func (o CreateCaseResponse) String() string

type CreateCaseResultJson added in v0.0.64

type CreateCaseResultJson struct {

	// task_case_id
	TaskCaseId *int32 `json:"task_case_id,omitempty"`
}

func (CreateCaseResultJson) String added in v0.0.64

func (o CreateCaseResultJson) String() string

type CreateProjectRequest

type CreateProjectRequest struct {
	Body *CreateProjectRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateProjectRequest) String

func (o CreateProjectRequest) String() string

type CreateProjectRequestBody

type CreateProjectRequestBody struct {

	// name
	Name string `json:"name"`

	// description
	Description *string `json:"description,omitempty"`
}

CreateProjectRequestBody

func (CreateProjectRequestBody) String

func (o CreateProjectRequestBody) String() string

type CreateProjectResponse

type CreateProjectResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// project_id
	ProjectId      *int32 `json:"project_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateProjectResponse) String

func (o CreateProjectResponse) String() string

type CreateTaskRequest

type CreateTaskRequest struct {
	Body *CreateTaskRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTaskRequest) String

func (o CreateTaskRequest) String() string

type CreateTaskRequestBody

type CreateTaskRequestBody struct {

	// name
	Name string `json:"name"`

	// project_id
	ProjectId int32 `json:"project_id"`

	// temps
	Temps *[]string `json:"temps,omitempty"`

	// operate_mode
	OperateMode *int32 `json:"operate_mode,omitempty"`

	// bench_concurrent
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`
}

CreateTaskRequestBody

func (CreateTaskRequestBody) String

func (o CreateTaskRequestBody) String() string

type CreateTaskResponse

type CreateTaskResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// task_id
	TaskId         *int32 `json:"task_id,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateTaskResponse) String

func (o CreateTaskResponse) String() string

type CreateTempRequest

type CreateTempRequest struct {
	Body *CreateTempRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateTempRequest) String

func (o CreateTempRequest) String() string

type CreateTempRequestBody

type CreateTempRequestBody struct {

	// project_id
	ProjectId int32 `json:"project_id"`

	// temp_type
	TempType int32 `json:"temp_type"`

	// name
	Name string `json:"name"`

	// description
	Description *string `json:"description,omitempty"`

	// contents
	Contents *[]interface{} `json:"contents,omitempty"`
}

CreateTempRequestBody

func (CreateTempRequestBody) String

func (o CreateTempRequestBody) String() string

type CreateTempResponse

type CreateTempResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// tempId
	TempId *int32 `json:"tempId,omitempty"`

	// message
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateTempResponse) String

func (o CreateTempResponse) String() string

type CreateVariableRequest

type CreateVariableRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	Body *[]CreateVariableRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateVariableRequest) String

func (o CreateVariableRequest) String() string

type CreateVariableRequestBody

type CreateVariableRequestBody struct {

	// id
	Id int32 `json:"id"`

	// name
	Name string `json:"name"`

	// variable_type
	VariableType int32 `json:"variable_type"`

	// variable
	Variable []interface{} `json:"variable"`

	// 是否被引用
	IsQuoted bool `json:"is_quoted"`
}

CreateVariableRequestBody

func (CreateVariableRequestBody) String

func (o CreateVariableRequestBody) String() string

type CreateVariableResponse

type CreateVariableResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	Json *CreateVariableResultJson `json:"json,omitempty"`

	// message
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateVariableResponse) String

func (o CreateVariableResponse) String() string

type CreateVariableResultJson added in v0.0.64

type CreateVariableResultJson struct {

	// variable_id
	VariableId *int32 `json:"variable_id,omitempty"`
}

func (CreateVariableResultJson) String added in v0.0.64

func (o CreateVariableResultJson) String() string

type DebugCaseRequest

type DebugCaseRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	// 任务id
	TaskId int32 `json:"task_id"`

	// 用例id
	CaseId int32 `json:"case_id"`

	Body *DebugCaseRequestBody `json:"body,omitempty"`
}

Request Object

func (DebugCaseRequest) String

func (o DebugCaseRequest) String() string

type DebugCaseRequestBody

type DebugCaseRequestBody struct {

	// status
	Status int32 `json:"status"`

	// cluster_id
	ClusterId int32 `json:"cluster_id"`

	// cluster_type
	ClusterType string `json:"cluster_type"`

	// without_package
	WithoutPackage int32 `json:"without_package"`
}

DebugCaseRequestBody

func (DebugCaseRequestBody) String

func (o DebugCaseRequestBody) String() string

type DebugCaseResponse

type DebugCaseResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// extend
	Extend *string `json:"extend,omitempty"`

	// result
	Result         *[]DebugCaseResult `json:"result,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (DebugCaseResponse) String

func (o DebugCaseResponse) String() string

type DebugCaseResult added in v0.0.64

type DebugCaseResult struct {

	// body
	Body *string `json:"body,omitempty"`

	// errorReason
	ErrorReason *string `json:"errorReason,omitempty"`

	Header *DebugCaseResultHeader `json:"header,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// responseTime
	ResponseTime *int32 `json:"responseTime,omitempty"`

	// result
	Result *int32 `json:"result,omitempty"`

	// returnBody
	ReturnBody *string `json:"returnBody,omitempty"`

	ReturnHeader *DebugCaseReturnHeader `json:"returnHeader,omitempty"`

	// statusCode
	StatusCode *string `json:"statusCode,omitempty"`

	// url
	Url *string `json:"url,omitempty"`
}

func (DebugCaseResult) String added in v0.0.64

func (o DebugCaseResult) String() string

type DebugCaseResultHeader added in v0.0.64

type DebugCaseResultHeader struct {

	// Connection
	Connection *string `json:"Connection,omitempty"`

	// Content-Type
	ContentType *string `json:"Content-Type,omitempty"`

	// Host
	Host *string `json:"Host,omitempty"`
}

func (DebugCaseResultHeader) String added in v0.0.64

func (o DebugCaseResultHeader) String() string

type DebugCaseReturnHeader added in v0.0.64

type DebugCaseReturnHeader struct {

	// Connection
	Connection *string `json:"Connection,omitempty"`

	// Content-Length
	ContentLength *string `json:"Content-Length,omitempty"`

	// Content-Type
	ContentType *string `json:"Content-Type,omitempty"`

	// Date
	Date *string `json:"Date,omitempty"`

	// Vary
	Vary *string `json:"Vary,omitempty"`
}

func (DebugCaseReturnHeader) String added in v0.0.64

func (o DebugCaseReturnHeader) String() string

type DeleteCaseRequest

type DeleteCaseRequest struct {

	// 用例id
	CaseId int32 `json:"case_id"`
}

Request Object

func (DeleteCaseRequest) String

func (o DeleteCaseRequest) String() string

type DeleteCaseResponse

type DeleteCaseResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteCaseResponse) String

func (o DeleteCaseResponse) String() string

type DeleteProjectRequest

type DeleteProjectRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (DeleteProjectRequest) String

func (o DeleteProjectRequest) String() string

type DeleteProjectResponse

type DeleteProjectResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteProjectResponse) String

func (o DeleteProjectResponse) String() string

type DeleteTaskRequest

type DeleteTaskRequest struct {

	// 任务id
	TaskId int32 `json:"task_id"`
}

Request Object

func (DeleteTaskRequest) String

func (o DeleteTaskRequest) String() string

type DeleteTaskResponse

type DeleteTaskResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTaskResponse) String

func (o DeleteTaskResponse) String() string

type DeleteTempRequest

type DeleteTempRequest struct {

	// 事务id
	TemplateId int32 `json:"template_id"`
}

Request Object

func (DeleteTempRequest) String

func (o DeleteTempRequest) String() string

type DeleteTempResponse

type DeleteTempResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteTempResponse) String

func (o DeleteTempResponse) String() string

type DeleteVariableRequest added in v0.1.2

type DeleteVariableRequest struct {

	// 全局变量id
	VariableId int32 `json:"variable_id"`

	// 工程id
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (DeleteVariableRequest) String added in v0.1.2

func (o DeleteVariableRequest) String() string

type DeleteVariableResponse added in v0.1.2

type DeleteVariableResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteVariableResponse) String added in v0.1.2

func (o DeleteVariableResponse) String() string

type DetailDataInfo added in v0.0.65

type DetailDataInfo struct {

	// 平均响应时间
	AverageRespTime *float64 `json:"averageRespTime,omitempty"`

	// 平均接收字节数
	AvgRecBytes *float64 `json:"avgRecBytes,omitempty"`

	// 平均发送字节数
	AvgSentBytes *float64 `json:"avgSentBytes,omitempty"`

	// 事务平均响应时间
	AvgTranRespTime *float64 `json:"avgTranRespTime,omitempty"`

	// 用例Uri
	CaseUri *string `json:"caseUri,omitempty"`

	// 创建时间
	CreateTime *string `json:"createTime,omitempty"`

	// 最大并发数
	CurrentThreadNum *float64 `json:"currentThreadNum,omitempty"`

	// 详情id
	DetailId *string `json:"detailId,omitempty"`

	// 结束时间
	EndTime *string `json:"endTime,omitempty"`

	// 失败请求数
	ErrorCount *float64 `json:"errorCount,omitempty"`

	// ERROR级别的事件个数
	ErrorEventsCount *float64 `json:"errorEventsCount,omitempty"`

	// 断言失败
	FailedAssert *float64 `json:"failedAssert,omitempty"`

	// 其他失败
	FailedOthers *float64 `json:"failedOthers,omitempty"`

	// 解析失败
	FailedParsed *float64 `json:"failedParsed,omitempty"`

	// 连接被拒
	FailedRefused *float64 `json:"failedRefused,omitempty"`

	// 超时失败
	FailedTimeout *float64 `json:"failedTimeout,omitempty"`

	// id
	Id *string `json:"id,omitempty"`

	// 是否aw
	IsAW *bool `json:"isAW,omitempty"`

	// 最大响应时间
	Max *float64 `json:"max,omitempty"`

	// 最大接收字节数
	MaxRecBytes *float64 `json:"maxRecBytes,omitempty"`

	// 探底最大响应时间
	MaxRespTime *float64 `json:"maxRespTime,omitempty"`

	// 最大发送字节数
	MaxSentBytes *float64 `json:"maxSentBytes,omitempty"`

	// 事务最大响应时间
	MaxTranRespTime *float64 `json:"maxTranRespTime,omitempty"`

	// 最小响应时间
	Min *float64 `json:"min,omitempty"`

	// 最小带宽
	MinNetworkTraffic *float64 `json:"minNetworkTraffic,omitempty"`

	// 名字
	Name *string `json:"name,omitempty"`

	// 请求数
	Requests *float64 `json:"requests,omitempty"`

	// aw执行结果
	Result *float64 `json:"result,omitempty"`

	// 开始时间
	StartTime *string `json:"startTime,omitempty"`

	// 用例状态
	Status *float64 `json:"status,omitempty"`

	// 成功请求数
	SuccessCount *float64 `json:"successCount,omitempty"`

	// 成功率
	SuccessRate *float64 `json:"successRate,omitempty"`

	// 1xx请求数
	Sum1xx *float64 `json:"sum1xx,omitempty"`

	// 2xx请求数
	Sum2xx *float64 `json:"sum2xx,omitempty"`

	// 3xx请求数
	Sum3xx *float64 `json:"sum3xx,omitempty"`

	// 4xx请求数
	Sum4xx *float64 `json:"sum4xx,omitempty"`

	// 5xx请求数
	Sum5xx *float64 `json:"sum5xx,omitempty"`

	// 任务id_轮次
	TaskId *string `json:"taskId,omitempty"`

	// 任务id
	TaskProjectId *string `json:"taskProjectId,omitempty"`

	// 任务状态
	TaskStatus *float64 `json:"taskStatus,omitempty"`

	// 用例uri
	TestCaseUri *string `json:"testCaseUri,omitempty"`

	// tp50
	Tp50 *float64 `json:"tp50,omitempty"`

	// tp75
	Tp75 *float64 `json:"tp75,omitempty"`

	// tp90
	Tp90 *float64 `json:"tp90,omitempty"`

	// tp95
	Tp95 *float64 `json:"tp95,omitempty"`

	// tp99
	Tp99 *float64 `json:"tp99,omitempty"`

	// tps
	Tps *float64 `json:"tps,omitempty"`

	// 事务tps
	TranTPS *float64 `json:"tranTPS,omitempty"`

	// 事务id
	TransactionId *string `json:"transactionId,omitempty"`

	// 事务成功率
	TransactionSuccess *float64 `json:"transactionSuccess,omitempty"`

	// 事务成功率
	TransactionalSuccessRate *float64 `json:"transactionalSuccessRate,omitempty"`

	// 自定义事务tps
	TransactionalTps *float64 `json:"transactionalTps,omitempty"`

	// 自定义事务成功率
	TransactionalTpsSuccess *float64 `json:"transactionalTpsSuccess,omitempty"`

	// 事务数
	Transactions *float64 `json:"transactions,omitempty"`

	// 更新时间
	UpdateTime *string `json:"updateTime,omitempty"`

	// 分钟*并发数
	Vum *float64 `json:"vum,omitempty"`

	// 平均带宽
	AvgNetworkTraffic *float64 `json:"avgNetworkTraffic,omitempty"`

	// 最大带宽
	MaxNetworkTraffic *float64 `json:"maxNetworkTraffic,omitempty"`
}

func (DetailDataInfo) String added in v0.0.65

func (o DetailDataInfo) String() string

type HistoryRunInfo added in v0.0.64

type HistoryRunInfo struct {

	// name
	Name *string `json:"name,omitempty"`

	// run_id
	RunId *float64 `json:"run_id,omitempty"`

	// run_type
	RunType *float64 `json:"run_type,omitempty"`

	// start_time
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间
	EndTime *string `json:"end_time,omitempty"`

	// continue_time
	ContinueTime *float64 `json:"continue_time,omitempty"`

	// temp_names
	TempNames *[]TempName `json:"temp_names,omitempty"`

	// 任务间用例是否并行执行
	Parallel *bool `json:"parallel,omitempty"`
}

func (HistoryRunInfo) String added in v0.0.64

func (o HistoryRunInfo) String() string

type ListProjectSetsRequest

type ListProjectSetsRequest struct {

	// 查询偏移
	Offset *int32 `json:"offset,omitempty"`

	// 查询数量
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListProjectSetsRequest) String

func (o ListProjectSetsRequest) String() string

type ListProjectSetsResponse

type ListProjectSetsResponse struct {

	// 状态码
	Code *string `json:"code,omitempty"`

	// 描述
	Message *string `json:"message,omitempty"`

	// 工程集详细信息
	Projects       *[]ProjectsSet `json:"projects,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListProjectSetsResponse) String

func (o ListProjectSetsResponse) String() string

type ListProjectTestCaseRequest added in v0.1.2

type ListProjectTestCaseRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ListProjectTestCaseRequest) String added in v0.1.2

type ListProjectTestCaseResponse added in v0.1.2

type ListProjectTestCaseResponse struct {

	// 状态码
	Code *string `json:"code,omitempty"`

	// 描述
	Message *string `json:"message,omitempty"`

	// 用例集
	Directory      *[]ProjectDirectory `json:"directory,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListProjectTestCaseResponse) String added in v0.1.2

type ListVariablesRequest

type ListVariablesRequest struct {

	// 变量类型
	VariableType int32 `json:"variable_type"`

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ListVariablesRequest) String

func (o ListVariablesRequest) String() string

type ListVariablesResponse

type ListVariablesResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// variable_list
	VariableList   *[]VariableDetail `json:"variable_list,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListVariablesResponse) String

func (o ListVariablesResponse) String() string

type LogicController added in v0.0.64

type LogicController struct {

	// for_loop_params
	ForLoopParams *string `json:"for_loop_params,omitempty"`

	// condition
	Condition *string `json:"condition,omitempty"`
}

func (LogicController) String added in v0.0.64

func (o LogicController) String() string

type NetworkInfo added in v0.0.64

type NetworkInfo struct {

	// network_type
	NetworkType string `json:"network_type"`
}

func (NetworkInfo) String added in v0.0.64

func (o NetworkInfo) String() string

type PerformanceInfo added in v0.0.78

type PerformanceInfo struct {

	// 平均响应时间
	AverageRespTime *float64 `json:"averageRespTime,omitempty"`

	// 平均带宽
	AvgNetworkTraffic *float64 `json:"avgNetworkTraffic,omitempty"`

	// 平均下行带宽
	AvgRecBytes *float64 `json:"avgRecBytes,omitempty"`

	// 平均上行带宽
	AvgSentBytes *float64 `json:"avgSentBytes,omitempty"`

	// 事务平均响应时间
	AvgTranRespTime *float64 `json:"avgTranRespTime,omitempty"`

	// 用例Uri
	CaseUri *string `json:"caseUri,omitempty"`

	// 创建时间
	CreateTime *string `json:"createTime,omitempty"`

	// 最大并发数
	CurrentThreadNum *float64 `json:"currentThreadNum,omitempty"`

	// 详情id
	DetailId *string `json:"detailId,omitempty"`

	// 结束时间
	EndTime *string `json:"endTime,omitempty"`

	// 失败请求数
	ErrorCount *float64 `json:"errorCount,omitempty"`

	// ERROR级别的事件个数
	ErrorEventsCount *float64 `json:"errorEventsCount,omitempty"`

	// 断言失败
	FailedAssert *float64 `json:"failedAssert,omitempty"`

	// 其他失败
	FailedOthers *float64 `json:"failedOthers,omitempty"`

	// 解析失败
	FailedParsed *float64 `json:"failedParsed,omitempty"`

	// 连接被拒
	FailedRefused *float64 `json:"failedRefused,omitempty"`

	// 超时失败
	FailedTimeout *float64 `json:"failedTimeout,omitempty"`

	// id
	Id *string `json:"id,omitempty"`

	// 是否aw
	IsAW *bool `json:"isAW,omitempty"`

	// 最大响应时间
	Max *float64 `json:"max,omitempty"`

	// 最大带宽
	MaxNetworkTraffic *float64 `json:"maxNetworkTraffic,omitempty"`

	// 最大接收字节数
	MaxRecBytes *float64 `json:"maxRecBytes,omitempty"`

	// 探底结果:响应时间
	MaxRespTime *float64 `json:"maxRespTime,omitempty"`

	// 最大发送带宽
	MaxSentBytes *float64 `json:"maxSentBytes,omitempty"`

	// 事务最大响应时间
	MaxTranRespTime *float64 `json:"maxTranRespTime,omitempty"`

	// 最小响应时间
	Min *float64 `json:"min,omitempty"`

	// 最小带宽
	MinNetworkTraffic *float64 `json:"minNetworkTraffic,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 请求数
	Requests *float64 `json:"requests,omitempty"`

	// 用例/aw的执行结果
	Result *float64 `json:"result,omitempty"`

	// 开始时间
	StartTime *string `json:"startTime,omitempty"`

	// 用例状态
	Status *float64 `json:"status,omitempty"`

	// 成功数
	SuccessCount *float64 `json:"successCount,omitempty"`

	// 成功率
	SuccessRate *float64 `json:"successRate,omitempty"`

	// 1xx响应码计数
	Sum1xx *float64 `json:"sum1xx,omitempty"`

	// 2xx响应码计数
	Sum2xx *float64 `json:"sum2xx,omitempty"`

	// 3xx响应码计数
	Sum3xx *float64 `json:"sum3xx,omitempty"`

	// 4xx响应码计数
	Sum4xx *float64 `json:"sum4xx,omitempty"`

	// 5xx响应码计数
	Sum5xx *float64 `json:"sum5xx,omitempty"`

	// 任务id_轮次
	TaskId *string `json:"taskId,omitempty"`

	// 任务id
	TaskProjectId *string `json:"taskProjectId,omitempty"`

	// 任务状态
	TaskStatus *float64 `json:"taskStatus,omitempty"`

	// 用例uri
	TestCaseUri *string `json:"testCaseUri,omitempty"`

	// tp50
	Tp50 *float64 `json:"tp50,omitempty"`

	// tp75
	Tp75 *float64 `json:"tp75,omitempty"`

	// tp90
	Tp90 *float64 `json:"tp90,omitempty"`

	// tp95
	Tp95 *float64 `json:"tp95,omitempty"`

	// tp99
	Tp99 *float64 `json:"tp99,omitempty"`

	// tp999
	Tp999 *float64 `json:"tp999,omitempty"`

	// tp9999
	Tp9999 *float64 `json:"tp9999,omitempty"`

	// tps
	Tps *float64 `json:"tps,omitempty"`

	// 事务TPS
	TranTPS *float64 `json:"tranTPS,omitempty"`

	// 事务id
	TransactionId *string `json:"transactionId,omitempty"`

	// 成功事务数
	TransactionSuccess *float64 `json:"transactionSuccess,omitempty"`

	// 事务成功率
	TransactionalSuccessRate *float64 `json:"transactionalSuccessRate,omitempty"`

	// 自定义事务tps
	TransactionalTps *float64 `json:"transactionalTps,omitempty"`

	// 自定义事务成功率
	TransactionalTpsSuccess *float64 `json:"transactionalTpsSuccess,omitempty"`

	// 事务数
	Transactions *float64 `json:"transactions,omitempty"`

	// 更新时间
	UpdateTime *string `json:"updateTime,omitempty"`

	// 分钟数*并发数
	Vum *float64 `json:"vum,omitempty"`
}

func (PerformanceInfo) String added in v0.0.78

func (o PerformanceInfo) String() string

type Project added in v0.0.64

type Project struct {

	// create_time
	CreateTime *string `json:"create_time,omitempty"`

	// description
	Description *string `json:"description,omitempty"`

	// group
	Group *string `json:"group,omitempty"`

	// id
	Id *int32 `json:"id,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// source
	Source *int32 `json:"source,omitempty"`

	// update_time
	UpdateTime *string `json:"update_time,omitempty"`
}

func (Project) String added in v0.0.64

func (o Project) String() string

type ProjectDirectory added in v0.1.2

type ProjectDirectory struct {

	// id
	Id int32 `json:"id"`

	// 名称
	Name string `json:"name"`

	// 状态(0:已删除,1:启用,2:停用)
	Status int32 `json:"status"`

	// 创建时间
	CreateTime string `json:"create_time"`

	// 更新时间
	UpdateTime string `json:"update_time"`

	// 父id
	ParentId int32 `json:"parent_id"`

	// 类型(1:目录, 2:用例)
	Type int32 `json:"type"`
}

用例列表详情

func (ProjectDirectory) String added in v0.1.2

func (o ProjectDirectory) String() string

type ProjectResp

type ProjectResp struct {

	// 状态码
	Code *string `json:"code,omitempty"`

	// 描述
	Message *string `json:"message,omitempty"`
}

func (ProjectResp) String

func (o ProjectResp) String() string

type ProjectsSet

type ProjectsSet struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"CreateTime,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"UpdateTime,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 工程id
	Id *int32 `json:"id,omitempty"`

	// 工程名字
	Name *string `json:"name,omitempty"`

	// 工程来源 0:CPTS,2:CloudTest
	Source *int32 `json:"source,omitempty"`

	// 外部参数
	ExternalParams *interface{} `json:"external_params,omitempty"`

	// 文件变量
	VariablesNoFile *[]string `json:"variables_no_file,omitempty"`
}

func (ProjectsSet) String

func (o ProjectsSet) String() string

type RelatedTempRunningData added in v0.0.64

type RelatedTempRunningData struct {

	// task_run_info_id
	TaskRunInfoId *int32 `json:"task_run_info_id,omitempty"`

	// related_temp_running_id
	RelatedTempRunningId *int32 `json:"related_temp_running_id,omitempty"`

	// temp_id
	TempId *int32 `json:"temp_id,omitempty"`

	// temp_name
	TempName *string `json:"temp_name,omitempty"`

	// related_temp_running_data
	RelatedTempRunningData *[]TempRunningData `json:"related_temp_running_data,omitempty"`
}

func (RelatedTempRunningData) String added in v0.0.64

func (o RelatedTempRunningData) String() string

type ReportInfo added in v0.0.64

type ReportInfo struct {
	Brokens *ReportbrokensInfo `json:"brokens,omitempty"`

	Details *ReportdetailsInfo `json:"details,omitempty"`

	Outline *ReportoutlineInfo `json:"outline,omitempty"`

	// 响应时间分布
	Rtproportion *string `json:"rtproportion,omitempty"`

	TaskInfo *ReportTaskInfo `json:"taskInfo,omitempty"`

	// 响应时间分布
	RespTimeRange *interface{} `json:"respTimeRange,omitempty"`
}

func (ReportInfo) String added in v0.0.64

func (o ReportInfo) String() string

type ReportTaskInfo added in v0.0.64

type ReportTaskInfo struct {

	// 分钟*并发数
	Vum *float64 `json:"vum,omitempty"`
}

报告任务信息

func (ReportTaskInfo) String added in v0.0.64

func (o ReportTaskInfo) String() string

type ReportbrokensInfo added in v0.0.64

type ReportbrokensInfo struct {
	BrandBrokens *BrandBrokens `json:"brand_brokens,omitempty"`

	// 时间戳
	CommonTimestamps *[]int64 `json:"commonTimestamps,omitempty"`

	RespcodeBrokens *RespcodeBrokens `json:"respcode_brokens,omitempty"`

	TpsBrokens *TpsBrokens `json:"tps_brokens,omitempty"`

	VusersBrokens *VusersBrokens `json:"vusers_brokens,omitempty"`
}

func (ReportbrokensInfo) String added in v0.0.64

func (o ReportbrokensInfo) String() string

type ReportdetailItemInfo added in v0.0.65

type ReportdetailItemInfo struct {

	// 自定义事务数据
	CustomTransactions *[]string `json:"customTransactions,omitempty"`

	// aw数据
	DetailDatas *[]DetailDataInfo `json:"detailDatas,omitempty"`

	Performance *PerformanceInfo `json:"performance,omitempty"`
}

func (ReportdetailItemInfo) String added in v0.0.65

func (o ReportdetailItemInfo) String() string

type ReportdetailsInfo added in v0.0.64

type ReportdetailsInfo struct {

	// 表格数据
	Data *[]ReportdetailItemInfo `json:"data,omitempty"`

	// 页码
	PageIndex *int32 `json:"pageIndex,omitempty"`

	// 每页大小
	PageSize *int32 `json:"pageSize,omitempty"`

	// 总记录数
	Total *int32 `json:"total,omitempty"`
}

func (ReportdetailsInfo) String added in v0.0.64

func (o ReportdetailsInfo) String() string

type ReportoutlineInfo added in v0.0.64

type ReportoutlineInfo struct {

	// 平均响应时间
	AvgResponseTime *float64 `json:"avgResponseTime,omitempty"`

	// 分支id
	BranchId *string `json:"branchId,omitempty"`

	// 分支名称
	BranchName *string `json:"branchName,omitempty"`

	// 用例重试次数
	CaseRetry *float64 `json:"caseRetry,omitempty"`

	// 已完成的用例数
	CompleteNum *float64 `json:"completeNum,omitempty"`

	// 持续时间
	Duration *float64 `json:"duration,omitempty"`

	// 结束时间
	EndTime *string `json:"endTime,omitempty"`

	// 已执行用例数
	ExecutedNum *float64 `json:"executedNum,omitempty"`

	// 迭代id
	IterationUri *string `json:"iterationUri,omitempty"`

	// kpi用例数
	KpiCaseCount *float64 `json:"kpiCaseCount,omitempty"`

	// kpi用例执行次数
	KpiCaseExecuteCount *float64 `json:"kpiCaseExecuteCount,omitempty"`

	// kpi用例通过次数
	KpiCasePassCount *float64 `json:"kpiCasePassCount,omitempty"`

	// 最大并发数
	MaxUsers *float64 `json:"maxUsers,omitempty"`

	// 结果为pass的用例数
	PassNum *float64 `json:"passNum,omitempty"`

	// 阶段id
	Stage *float64 `json:"stage,omitempty"`

	// 阶段名称
	StageName *string `json:"stageName,omitempty"`

	// 开始时间
	StartTime *string `json:"startTime,omitempty"`

	// 成功率
	SuccessRate *float64 `json:"successRate,omitempty"`

	// 任务状态
	TaskStatus *float64 `json:"taskStatus,omitempty"`

	// 总用例数
	TotalNum *float64 `json:"totalNum,omitempty"`

	// 性能tps指标
	Tps *float64 `json:"tps,omitempty"`

	// 分支uri
	VersionUri *string `json:"versionUri,omitempty"`

	// 工程id
	ProjectId *string `json:"projectId,omitempty"`

	// 服务id
	ServiceId *string `json:"serviceId,omitempty"`

	ProgressState *string `json:"progressState,omitempty"`

	CreateBy *string `json:"createBy,omitempty"`

	StatusValue *string `json:"statusValue,omitempty"`
}

func (ReportoutlineInfo) String added in v0.0.64

func (o ReportoutlineInfo) String() string

type RespcodeBrokens added in v0.0.64

type RespcodeBrokens struct {

	// 校验失败
	CheckPointFailed *[]float64 `json:"checkPointFailed,omitempty"`

	// 异常请求
	Error *[]float64 `json:"error,omitempty"`

	// 其他失败
	OthersFailed *[]float64 `json:"othersFailed,omitempty"`

	// 解析失败
	ParsedFailed *[]float64 `json:"parsedFailed,omitempty"`

	// 连接被拒
	RefusedFailed *[]float64 `json:"refusedFailed,omitempty"`

	// 成功请求
	Success *[]float64 `json:"success,omitempty"`

	// 超时失败
	Timeout *[]float64 `json:"timeout,omitempty"`
}

func (RespcodeBrokens) String added in v0.0.64

func (o RespcodeBrokens) String() string

type ShowHistoryRunInfoRequest

type ShowHistoryRunInfoRequest struct {

	// 任务id
	TaskId int32 `json:"task_id"`
}

Request Object

func (ShowHistoryRunInfoRequest) String

func (o ShowHistoryRunInfoRequest) String() string

type ShowHistoryRunInfoResponse

type ShowHistoryRunInfoResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// log_list
	LogList        *[]HistoryRunInfo `json:"log_list,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowHistoryRunInfoResponse) String

type ShowProcessRequest

type ShowProcessRequest struct {
}

Request Object

func (ShowProcessRequest) String

func (o ShowProcessRequest) String() string

type ShowProcessResponse

type ShowProcessResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	Json *UploadProcessJson `json:"json,omitempty"`

	// extend
	Extend         *string `json:"extend,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowProcessResponse) String

func (o ShowProcessResponse) String() string

type ShowProjectRequest

type ShowProjectRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ShowProjectRequest) String

func (o ShowProjectRequest) String() string

type ShowProjectResponse

type ShowProjectResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	Project        *Project `json:"project,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ShowProjectResponse) String

func (o ShowProjectResponse) String() string

type ShowReportRequest

type ShowReportRequest struct {

	// 运行任务id
	TaskRunId int32 `json:"task_run_id"`

	// 运行用例id
	CaseRunId int32 `json:"case_run_id"`

	// 曲线图点数
	BrokensLimitCount int32 `json:"brokens_limit_count"`
}

Request Object

func (ShowReportRequest) String

func (o ShowReportRequest) String() string

type ShowReportResponse

type ShowReportResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// extend
	Extend *string `json:"extend,omitempty"`

	Result         *ReportInfo `json:"result,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ShowReportResponse) String

func (o ShowReportResponse) String() string

type ShowTaskRequest

type ShowTaskRequest struct {

	// 任务id
	TaskId int32 `json:"task_id"`
}

Request Object

func (ShowTaskRequest) String

func (o ShowTaskRequest) String() string

type ShowTaskResponse

type ShowTaskResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	TaskInfo       *TaskInfo `json:"taskInfo,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowTaskResponse) String

func (o ShowTaskResponse) String() string

type ShowTaskSetRequest

type ShowTaskSetRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	// 查询偏移
	Offset *int32 `json:"offset,omitempty"`

	// 查询数量
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ShowTaskSetRequest) String

func (o ShowTaskSetRequest) String() string

type ShowTaskSetResponse

type ShowTaskSetResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// extend
	Extend *[]string `json:"extend,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// 工程集详细信息
	Tasks          *[]Task `json:"tasks,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowTaskSetResponse) String

func (o ShowTaskSetResponse) String() string

type ShowTempRequest

type ShowTempRequest struct {

	// 事务id
	TemplateId int32 `json:"template_id"`
}

Request Object

func (ShowTempRequest) String

func (o ShowTempRequest) String() string

type ShowTempResponse

type ShowTempResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	TempInfo       *TempInfo `json:"temp_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowTempResponse) String

func (o ShowTempResponse) String() string

type ShowTempSetRequest

type ShowTempSetRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	// 查询偏移
	Offset *int32 `json:"offset,omitempty"`

	// 查询数量
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ShowTempSetRequest) String

func (o ShowTempSetRequest) String() string

type ShowTempSetResponse

type ShowTempSetResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// temps
	Temps          *[]TempDetailInfo `json:"temps,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowTempSetResponse) String

func (o ShowTempSetResponse) String() string

type StageKpiItem added in v0.1.5

type StageKpiItem struct {

	// 比较符
	Comparison *string `json:"comparison,omitempty"`

	// 比较值
	Value *int32 `json:"value,omitempty"`
}

func (StageKpiItem) String added in v0.1.5

func (o StageKpiItem) String() string

type StageKpiItems added in v0.1.5

type StageKpiItems struct {
	AverageResponseTime *StageKpiItem `json:"average_response_time,omitempty"`

	SuccessRate *StageKpiItem `json:"success_rate,omitempty"`
}

func (StageKpiItems) String added in v0.1.5

func (o StageKpiItems) String() string

type Task added in v0.0.64

type Task struct {

	// 基准并发
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

	// 描述信息
	Description *string `json:"description,omitempty"`

	// 任务Id
	Id *int32 `json:"id,omitempty"`

	// 任务名称
	Name *string `json:"name,omitempty"`

	// 任务压测模式
	OperateMode *int32 `json:"operate_mode,omitempty"`

	TaskRunInfo *TaskRunInfo `json:"task_run_info,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 任务间用例是否并行执行
	Parallel *bool `json:"parallel,omitempty"`
}

tasks

func (Task) String added in v0.0.64

func (o Task) String() string

type TaskInfo added in v0.0.64

type TaskInfo struct {

	// bench_concurrent
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

	// case_list
	CaseList *[]CaseInfo `json:"case_list,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// description
	Description *string `json:"description,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// operate_mode
	OperateMode *int32 `json:"operate_mode,omitempty"`

	// project_id
	ProjectId *int32 `json:"project_id,omitempty"`

	// related_temp_running_data
	RelatedTempRunningData *[]RelatedTempRunningData `json:"related_temp_running_data,omitempty"`

	// run_status
	RunStatus *int32 `json:"run_status,omitempty"`

	// update_time
	UpdateTime *string `json:"update_time,omitempty"`

	// parallel
	Parallel *bool `json:"parallel,omitempty"`
}

func (TaskInfo) String added in v0.0.64

func (o TaskInfo) String() string

type TaskRunInfo added in v0.0.64

type TaskRunInfo struct {

	// id
	Id *int32 `json:"id,omitempty"`

	// run_type
	RunType *int32 `json:"run_type,omitempty"`
}

TaskRunInfo

func (TaskRunInfo) String added in v0.0.64

func (o TaskRunInfo) String() string

type TempContentInfo added in v0.0.65

type TempContentInfo struct {

	// content_id
	ContentId *int32 `json:"content_id,omitempty"`

	// content
	Content *[]Content `json:"content,omitempty"`

	// index
	Index *int32 `json:"index,omitempty"`

	// data
	Data *interface{} `json:"data,omitempty"`

	// data_type
	DataType *int32 `json:"data_type,omitempty"`
}

func (TempContentInfo) String added in v0.0.65

func (o TempContentInfo) String() string

type TempDetailInfo added in v0.0.65

type TempDetailInfo struct {

	// description
	Description *string `json:"description,omitempty"`

	// id
	Id *int32 `json:"id,omitempty"`

	// 是否被引用
	IsQuoted *bool `json:"is_quoted,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// temp_type
	TempType *int32 `json:"temp_type,omitempty"`

	// update_time
	UpdateTime *string `json:"update_time,omitempty"`
}

func (TempDetailInfo) String added in v0.0.65

func (o TempDetailInfo) String() string

type TempInfo added in v0.0.64

type TempInfo struct {

	// id
	Id *int32 `json:"id,omitempty"`

	// project_id
	ProjectId *int32 `json:"project_id,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// description
	Description *string `json:"description,omitempty"`

	// variables
	Variables *string `json:"variables,omitempty"`

	// contents
	Contents *[]interface{} `json:"contents,omitempty"`

	// temp_type
	TempType *int32 `json:"temp_type,omitempty"`

	// for_loop_params
	ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"`

	LogicController *LogicController `json:"logic_controller,omitempty"`

	// enable_pre
	EnablePre *bool `json:"enable_pre,omitempty"`
}

func (TempInfo) String added in v0.0.64

func (o TempInfo) String() string

type TempName added in v0.0.64

type TempName struct {

	// name
	Name *string `json:"name,omitempty"`
}

func (TempName) String added in v0.0.64

func (o TempName) String() string

type TempRunningData added in v0.0.78

type TempRunningData struct {

	// content_method_url
	ContentMethodUrl *[]string `json:"content_method_url,omitempty"`

	// crawler_status
	CrawlerStatus *int32 `json:"crawler_status,omitempty"`

	// related_temp_running_id
	RelatedTempRunningId *int32 `json:"related_temp_running_id,omitempty"`

	// task_run_info_id
	TaskRunInfoId *int32 `json:"task_run_info_id,omitempty"`

	// temp_id
	TempId *int32 `json:"temp_id,omitempty"`

	// temp_name
	TempName *string `json:"temp_name,omitempty"`

	// temp_running_status
	TempRunningStatus *int32 `json:"temp_running_status,omitempty"`
}

func (TempRunningData) String added in v0.0.78

func (o TempRunningData) String() string

type TestCaseStage added in v0.1.5

type TestCaseStage struct {

	// 压力阶段模式,0:时长模式;1:次数模式
	OperateMode *int32 `json:"operate_mode,omitempty"`

	// 阶段名称
	Name *string `json:"name,omitempty"`

	// 压测时长(单位:秒)
	Time *int32 `json:"time,omitempty"`

	// 开始时间
	StartTime *int32 `json:"start_time,omitempty"`

	// 结束时间
	EndTime *int32 `json:"end_time,omitempty"`

	// 最大并发数
	IssueNum *int32 `json:"issue_num,omitempty"`

	// 次数模式发送总次数
	Count *int32 `json:"count,omitempty"`

	// 压力模式,0:并发模式;1:TPS模式;2:摸高模式;3:浪涌并发模式;4:浪涌TPS模式;5:震荡并发模式;6:震荡TPS模式;7:智能摸高模式
	PressureMode *int32 `json:"pressure_mode,omitempty"`

	// TPS模式下TPS值
	TpsValue *int32 `json:"tps_value,omitempty"`

	// 起始并发数
	CurrentUserNum *int32 `json:"current_user_num,omitempty"`

	// 起始tps值
	CurrentTps *int32 `json:"current_tps,omitempty"`

	// 调压模式,0:自动调压模式;1:手动调压模式
	VoltageRegulatingMode *int32 `json:"voltage_regulating_mode,omitempty"`

	// 浪涌/浪涌模式下最大并发数
	Maximum *int32 `json:"maximum,omitempty"`

	// 浪涌/浪涌模式下最小并发数
	Minimum *int32 `json:"minimum,omitempty"`

	// 震荡/浪涌次数
	LoopCount *int32 `json:"loop_count,omitempty"`

	// 浪涌模式下峰值持续时间
	MaxDuration *int32 `json:"max_duration,omitempty"`

	// 摸高模式下爬坡时长(单位:秒)
	RampUp *int32 `json:"ramp_up,omitempty"`

	PeakLoadKpis *StageKpiItems `json:"peak_load_kpis,omitempty"`

	// 智能摸高模式下单步执行时长
	StepDuration *int32 `json:"step_duration,omitempty"`

	// 智能摸高模式下递增并发数
	StepSize *int32 `json:"step_size,omitempty"`
}

func (TestCaseStage) String added in v0.1.5

func (o TestCaseStage) String() string

type TpsBrokens added in v0.0.64

type TpsBrokens struct {

	// 平均响应时间
	Average *[]float64 `json:"average,omitempty"`

	// tps
	Tps *[]float64 `json:"tps,omitempty"`
}

func (TpsBrokens) String added in v0.0.64

func (o TpsBrokens) String() string

type UpdateCaseRequest

type UpdateCaseRequest struct {

	// 用例id
	CaseId int32 `json:"case_id"`

	// 类型
	Target string `json:"target"`

	Body *CaseInfo `json:"body,omitempty"`
}

Request Object

func (UpdateCaseRequest) String

func (o UpdateCaseRequest) String() string

type UpdateCaseResponse

type UpdateCaseResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateCaseResponse) String

func (o UpdateCaseResponse) String() string

type UpdateNewTaskRequestBody added in v0.1.2

type UpdateNewTaskRequestBody struct {

	// 名称
	Name string `json:"name"`

	// 并行状态(表示任务执行时用例是否并行执行;true:并行执行,false:串行执行)
	Parallel bool `json:"parallel"`

	// 工程id
	ProjectId int32 `json:"project_id"`

	// 任务模式(兼容旧版接口保留字段,0:时长模式,1:次数模式,2:混合模式;此处请传固定值:2)
	OperateMode int32 `json:"operate_mode"`

	// 关联的用例id集合
	CaseIdList []int32 `json:"case_id_list"`
}

新版(任务用例分离版本)更新任务请求体

func (UpdateNewTaskRequestBody) String added in v0.1.2

func (o UpdateNewTaskRequestBody) String() string

type UpdateProjectRequest

type UpdateProjectRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	Body *UpdateProjectRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateProjectRequest) String

func (o UpdateProjectRequest) String() string

type UpdateProjectRequestBody

type UpdateProjectRequestBody struct {

	// id
	Id int32 `json:"id"`

	// name
	Name string `json:"name"`

	// description
	Description *string `json:"description,omitempty"`

	// variables_no_file
	VariablesNoFile *[]string `json:"variables_no_file,omitempty"`

	// source
	Source *int32 `json:"source,omitempty"`

	// external_params
	ExternalParams *interface{} `json:"external_params,omitempty"`
}

UpdateProjectRequestBody

func (UpdateProjectRequestBody) String

func (o UpdateProjectRequestBody) String() string

type UpdateProjectResponse

type UpdateProjectResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateProjectResponse) String

func (o UpdateProjectResponse) String() string

type UpdateTaskRelatedTestCaseRequest added in v0.1.2

type UpdateTaskRelatedTestCaseRequest struct {

	// 任务id
	TaskId int32 `json:"task_id"`

	Body *UpdateNewTaskRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTaskRelatedTestCaseRequest) String added in v0.1.2

type UpdateTaskRelatedTestCaseResponse added in v0.1.2

type UpdateTaskRelatedTestCaseResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	TaskInfo       *TaskInfo `json:"taskInfo,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateTaskRelatedTestCaseResponse) String added in v0.1.2

type UpdateTaskRequest

type UpdateTaskRequest struct {

	// 任务id
	TaskId int32 `json:"task_id"`

	Body *UpdateTaskRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTaskRequest) String

func (o UpdateTaskRequest) String() string

type UpdateTaskRequestBody

type UpdateTaskRequestBody struct {

	// id
	Id int32 `json:"id"`

	// name
	Name string `json:"name"`

	// description
	Description *string `json:"description,omitempty"`

	// project_id
	ProjectId int32 `json:"project_id"`

	// run_status
	RunStatus *int32 `json:"run_status,omitempty"`

	// run_type
	RunType *int32 `json:"run_type,omitempty"`

	TaskRunInfo *TaskRunInfo `json:"task_run_info,omitempty"`

	// case_list
	CaseList *[]CaseInfo `json:"case_list,omitempty"`

	// operate_mode
	OperateMode *int32 `json:"operate_mode,omitempty"`

	// bench_concurrent
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

	// related_temp_running_data
	RelatedTempRunningData *[]RelatedTempRunningData `json:"related_temp_running_data,omitempty"`
}

UpdateTaskRequestBody

func (UpdateTaskRequestBody) String

func (o UpdateTaskRequestBody) String() string

type UpdateTaskResponse

type UpdateTaskResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	TaskInfo       *TaskInfo `json:"taskInfo,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateTaskResponse) String

func (o UpdateTaskResponse) String() string

type UpdateTaskStatusRequest

type UpdateTaskStatusRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	// 任务id
	TaskId int32 `json:"task_id"`

	Body *UpdateTaskStatusRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTaskStatusRequest) String

func (o UpdateTaskStatusRequest) String() string

type UpdateTaskStatusRequestBody

type UpdateTaskStatusRequestBody struct {

	// cluster_id
	ClusterId int32 `json:"cluster_id"`

	// cluster_type
	ClusterType string `json:"cluster_type"`

	// without_package
	WithoutPackage int32 `json:"without_package"`

	NetworkInfo *NetworkInfo `json:"network_info"`

	// status
	Status int32 `json:"status"`
}

UpdateTaskStatusRequestBody

func (UpdateTaskStatusRequestBody) String

type UpdateTaskStatusResponse

type UpdateTaskStatusResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	// message
	Message *string `json:"message,omitempty"`

	// extend
	Extend *string `json:"extend,omitempty"`

	Result         *UpdateTaskStatusResult `json:"result,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (UpdateTaskStatusResponse) String

func (o UpdateTaskStatusResponse) String() string

type UpdateTaskStatusResult added in v0.0.64

type UpdateTaskStatusResult struct {

	// task_run_id
	TaskRunId *int32 `json:"task_run_id,omitempty"`
}

func (UpdateTaskStatusResult) String added in v0.0.64

func (o UpdateTaskStatusResult) String() string

type UpdateTempRequest

type UpdateTempRequest struct {

	// 事务id
	TemplateId int32 `json:"template_id"`

	Body *UpdateTempRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateTempRequest) String

func (o UpdateTempRequest) String() string

type UpdateTempRequestBody

type UpdateTempRequestBody struct {

	// id
	Id int32 `json:"id"`

	// project_id
	ProjectId int32 `json:"project_id"`

	// name
	Name string `json:"name"`

	// temp_type
	TempType *int32 `json:"temp_type,omitempty"`

	// description
	Description *string `json:"description,omitempty"`

	// for_loop_params
	ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"`

	// enable_pre
	EnablePre *bool `json:"enable_pre,omitempty"`

	// contents
	Contents *[]TempContentInfo `json:"contents,omitempty"`
}

UpdateTempRequestBody

func (UpdateTempRequestBody) String

func (o UpdateTempRequestBody) String() string

type UpdateTempResponse

type UpdateTempResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateTempResponse) String

func (o UpdateTempResponse) String() string

type UpdateVariableRequest

type UpdateVariableRequest struct {

	// 测试工程id
	TestSuiteId int32 `json:"test_suite_id"`

	Body *[]UpdateVariableRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateVariableRequest) String

func (o UpdateVariableRequest) String() string

type UpdateVariableRequestBody

type UpdateVariableRequestBody struct {

	// id
	Id int32 `json:"id"`

	// name
	Name string `json:"name"`

	// variable_type
	VariableType int32 `json:"variable_type"`

	// variable
	Variable []interface{} `json:"variable"`
}

UpdateVariableRequestBody

func (UpdateVariableRequestBody) String

func (o UpdateVariableRequestBody) String() string

type UpdateVariableResponse

type UpdateVariableResponse struct {

	// code
	Code *string `json:"code,omitempty"`

	Json *CreateVariableResultJson `json:"json,omitempty"`

	// message
	Message        *string `json:"message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateVariableResponse) String

func (o UpdateVariableResponse) String() string

type UploadProcessJson added in v0.0.65

type UploadProcessJson struct {

	// details
	Details *[]UploadProcessJsonDetail `json:"details,omitempty"`

	// process_status
	ProcessStatus *int32 `json:"process_status,omitempty"`
}

json

func (UploadProcessJson) String added in v0.0.65

func (o UploadProcessJson) String() string

type UploadProcessJsonDetail added in v0.0.65

type UploadProcessJsonDetail struct {

	// id
	Id *int32 `json:"id,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// status
	Status *int32 `json:"status,omitempty"`

	// cause
	Cause *string `json:"cause,omitempty"`
}

func (UploadProcessJsonDetail) String added in v0.0.65

func (o UploadProcessJsonDetail) String() string

type VariableDetail added in v0.0.65

type VariableDetail struct {

	// file_size
	FileSize *int32 `json:"file_size,omitempty"`

	// id
	Id *int32 `json:"id,omitempty"`

	// 是否被引用
	IsQuoted *bool `json:"is_quoted,omitempty"`

	// name
	Name *string `json:"name,omitempty"`

	// variable
	Variable *[]interface{} `json:"variable,omitempty"`

	// variable_type
	VariableType *int32 `json:"variable_type,omitempty"`

	// 变量读取模式,0:顺序模式;1:随机模式
	VariableMode *int32 `json:"variable_mode,omitempty"`

	// 变量共享模式,0:用例模式;1:并发模式
	ShareMode *int32 `json:"share_mode,omitempty"`
}

func (VariableDetail) String added in v0.0.65

func (o VariableDetail) String() string

type VusersBrokens added in v0.0.64

type VusersBrokens struct {

	// vusers
	Vusers *[]float64 `json:"vusers,omitempty"`
}

func (VusersBrokens) String added in v0.0.64

func (o VusersBrokens) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL