model

package
v0.0.108 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 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" xml:"recBytes"`

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

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" xml:"case_id"`

	// case_name
	CaseName *string `json:"case_name,omitempty" xml:"case_name"`

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

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

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

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

	// stages
	Stages *[]interface{} `json:"stages,omitempty" xml:"stages"`

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

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

	// sort
	Sort *int32 `json:"sort,omitempty" xml:"sort"`
}

func (CaseInfo) String added in v0.0.64

func (o CaseInfo) String() string

type CodeMessageResq

type CodeMessageResq struct {

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

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

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" xml:"content_type"`

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

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" xml:"key"`

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

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" xml:"body_type"`

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

	// check_end_length
	CheckEndLength *string `json:"check_end_length,omitempty" xml:"check_end_length"`

	// check_end_str
	CheckEndStr *string `json:"check_end_str,omitempty" xml:"check_end_str"`

	// check_end_type
	CheckEndType *string `json:"check_end_type,omitempty" xml:"check_end_type"`

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

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

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

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

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

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

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

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

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

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

func (ContentInfo) String added in v0.0.64

func (o ContentInfo) String() string

type Contents added in v0.0.64

type Contents struct {

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

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

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

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

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

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

func (Contents) String added in v0.0.64

func (o Contents) String() string

type CreateCaseRequest

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

Request Object

func (CreateCaseRequest) String

func (o CreateCaseRequest) String() string

type CreateCaseRequestBody

type CreateCaseRequestBody struct {

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

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

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

CreateCaseRequestBody

func (CreateCaseRequestBody) String

func (o CreateCaseRequestBody) String() string

type CreateCaseResponse

type CreateCaseResponse struct {

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

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

	// message
	Message        *string `json:"message,omitempty" xml:"message"`
	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" xml:"task_case_id"`
}

func (CreateCaseResultJson) String added in v0.0.64

func (o CreateCaseResultJson) String() string

type CreateProjectRequest

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

Request Object

func (CreateProjectRequest) String

func (o CreateProjectRequest) String() string

type CreateProjectRequestBody

type CreateProjectRequestBody struct {

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

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

CreateProjectRequestBody

func (CreateProjectRequestBody) String

func (o CreateProjectRequestBody) String() string

type CreateProjectResponse

type CreateProjectResponse struct {

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

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

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

Response Object

func (CreateProjectResponse) String

func (o CreateProjectResponse) String() string

type CreateTaskRequest

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

Request Object

func (CreateTaskRequest) String

func (o CreateTaskRequest) String() string

type CreateTaskRequestBody

type CreateTaskRequestBody struct {

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

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

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

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

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

CreateTaskRequestBody

func (CreateTaskRequestBody) String

func (o CreateTaskRequestBody) String() string

type CreateTaskResponse

type CreateTaskResponse struct {

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

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

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

Response Object

func (CreateTaskResponse) String

func (o CreateTaskResponse) String() string

type CreateTempRequest

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

Request Object

func (CreateTempRequest) String

func (o CreateTempRequest) String() string

type CreateTempRequestBody

type CreateTempRequestBody struct {

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

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

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

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

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

CreateTempRequestBody

func (CreateTempRequestBody) String

func (o CreateTempRequestBody) String() string

type CreateTempResponse

type CreateTempResponse struct {

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

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

	// message
	Message        *string `json:"message,omitempty" xml:"message"`
	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" xml:"test_suite_id"`

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

Request Object

func (CreateVariableRequest) String

func (o CreateVariableRequest) String() string

type CreateVariableRequestBody

type CreateVariableRequestBody struct {

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

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

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

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

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

CreateVariableRequestBody

func (CreateVariableRequestBody) String

func (o CreateVariableRequestBody) String() string

type CreateVariableResponse

type CreateVariableResponse struct {

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

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

	// message
	Message        *string `json:"message,omitempty" xml:"message"`
	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" xml:"variable_id"`
}

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" xml:"test_suite_id"`

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

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

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

Request Object

func (DebugCaseRequest) String

func (o DebugCaseRequest) String() string

type DebugCaseRequestBody

type DebugCaseRequestBody struct {

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

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

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

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

DebugCaseRequestBody

func (DebugCaseRequestBody) String

func (o DebugCaseRequestBody) String() string

type DebugCaseResponse

type DebugCaseResponse struct {

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

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

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

	// result
	Result         *[]DebugCaseResult `json:"result,omitempty" xml:"result"`
	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" xml:"body"`

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

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

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

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

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

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

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

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

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

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" xml:"Connection"`

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

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

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" xml:"Connection"`

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

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

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

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

func (DebugCaseReturnHeader) String added in v0.0.64

func (o DebugCaseReturnHeader) String() string

type DeleteCaseRequest

type DeleteCaseRequest struct {

	// 用例id
	CaseId int32 `json:"case_id" xml:"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" xml:"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" xml:"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" xml:"template_id"`
}

Request Object

func (DeleteTempRequest) String

func (o DeleteTempRequest) String() string

type DeleteTempResponse

type DeleteTempResponse struct {

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

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

Response Object

func (DeleteTempResponse) String

func (o DeleteTempResponse) String() string

type DetailDataInfo added in v0.0.65

type DetailDataInfo struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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" xml:"name"`

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

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

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

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

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

func (HistoryRunInfo) String added in v0.0.64

func (o HistoryRunInfo) String() string

type ListProjectSetsRequest

type ListProjectSetsRequest struct {

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

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

Request Object

func (ListProjectSetsRequest) String

func (o ListProjectSetsRequest) String() string

type ListProjectSetsResponse

type ListProjectSetsResponse struct {

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

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

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

Response Object

func (ListProjectSetsResponse) String

func (o ListProjectSetsResponse) String() string

type ListVariablesRequest

type ListVariablesRequest struct {

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

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

Request Object

func (ListVariablesRequest) String

func (o ListVariablesRequest) String() string

type ListVariablesResponse

type ListVariablesResponse struct {

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

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

	// variable_list
	VariableList   *[]VariableDetail `json:"variable_list,omitempty" xml:"variable_list"`
	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" xml:"for_loop_params"`

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

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" xml:"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" xml:"averageRespTime"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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" xml:"create_time"`

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

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

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

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

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

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

func (Project) String added in v0.0.64

func (o Project) String() string

type ProjectResp

type ProjectResp struct {

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

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

func (ProjectResp) String

func (o ProjectResp) String() string

type ProjectsSet

type ProjectsSet struct {

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

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

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

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

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

	// 工程状态
	Status *int32 `json:"status,omitempty" xml:"status"`

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

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

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" xml:"task_run_info_id"`

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

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

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

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

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" xml:"brokens"`

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

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

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

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

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" xml:"vum"`
}

报告任务信息

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" xml:"brand_brokens"`

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

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

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

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

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" xml:"customTransactions"`

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

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

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" xml:"data"`

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

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

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

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" xml:"avgResponseTime"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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" xml:"checkPointFailed"`

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

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

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

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

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

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

func (RespcodeBrokens) String added in v0.0.64

func (o RespcodeBrokens) String() string

type ShowHistoryRunInfoRequest

type ShowHistoryRunInfoRequest struct {

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

Request Object

func (ShowHistoryRunInfoRequest) String

func (o ShowHistoryRunInfoRequest) String() string

type ShowHistoryRunInfoResponse

type ShowHistoryRunInfoResponse struct {

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

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

	// log_list
	LogList        *[]HistoryRunInfo `json:"log_list,omitempty" xml:"log_list"`
	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" xml:"code"`

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

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

	// extend
	Extend         *string `json:"extend,omitempty" xml:"extend"`
	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" xml:"test_suite_id"`
}

Request Object

func (ShowProjectRequest) String

func (o ShowProjectRequest) String() string

type ShowProjectResponse

type ShowProjectResponse struct {

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

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

	Project        *Project `json:"project,omitempty" xml:"project"`
	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" xml:"task_run_id"`

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

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

Request Object

func (ShowReportRequest) String

func (o ShowReportRequest) String() string

type ShowReportResponse

type ShowReportResponse struct {

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

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

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

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

Response Object

func (ShowReportResponse) String

func (o ShowReportResponse) String() string

type ShowTaskRequest

type ShowTaskRequest struct {

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

Request Object

func (ShowTaskRequest) String

func (o ShowTaskRequest) String() string

type ShowTaskResponse

type ShowTaskResponse struct {

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

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

	Taskinfo       *TaskInfo `json:"taskinfo,omitempty" xml:"taskinfo"`
	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" xml:"test_suite_id"`

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

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

Request Object

func (ShowTaskSetRequest) String

func (o ShowTaskSetRequest) String() string

type ShowTaskSetResponse

type ShowTaskSetResponse struct {

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

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

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

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

Response Object

func (ShowTaskSetResponse) String

func (o ShowTaskSetResponse) String() string

type ShowTempRequest

type ShowTempRequest struct {

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

Request Object

func (ShowTempRequest) String

func (o ShowTempRequest) String() string

type ShowTempResponse

type ShowTempResponse struct {

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

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

	TempInfo       *TempInfo `json:"temp_info,omitempty" xml:"temp_info"`
	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" xml:"test_suite_id"`

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

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

Request Object

func (ShowTempSetRequest) String

func (o ShowTempSetRequest) String() string

type ShowTempSetResponse

type ShowTempSetResponse struct {

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

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

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

Response Object

func (ShowTempSetResponse) String

func (o ShowTempSetResponse) String() string

type Task added in v0.0.64

type Task struct {

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

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

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

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

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

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

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

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" xml:"bench_concurrent"`

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

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

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

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

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

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

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

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

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

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

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" xml:"id"`

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

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" xml:"content_id"`

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

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

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

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

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" xml:"description"`

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

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

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

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

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

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" xml:"id"`

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

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

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

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

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

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

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

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

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

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" xml:"name"`
}

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" xml:"content_method_url"`

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

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

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

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

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

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

func (TempRunningData) String added in v0.0.78

func (o TempRunningData) String() string

type TpsBrokens added in v0.0.64

type TpsBrokens struct {

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

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

func (TpsBrokens) String added in v0.0.64

func (o TpsBrokens) String() string

type UpdateCaseRequest

type UpdateCaseRequest struct {

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

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

	Body *UpdateCaseRequestBody `json:"body,omitempty" xml:"body"`
}

Request Object

func (UpdateCaseRequest) String

func (o UpdateCaseRequest) String() string

type UpdateCaseRequestBody

type UpdateCaseRequestBody struct {

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

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

UpdateCaseRequestBody

func (UpdateCaseRequestBody) String

func (o UpdateCaseRequestBody) String() string

type UpdateCaseResponse

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

Response Object

func (UpdateCaseResponse) String

func (o UpdateCaseResponse) String() string

type UpdateProjectRequest

type UpdateProjectRequest struct {

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

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

Request Object

func (UpdateProjectRequest) String

func (o UpdateProjectRequest) String() string

type UpdateProjectRequestBody

type UpdateProjectRequestBody struct {

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

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

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

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

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

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

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 UpdateTaskRequest

type UpdateTaskRequest struct {

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

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

Request Object

func (UpdateTaskRequest) String

func (o UpdateTaskRequest) String() string

type UpdateTaskRequestBody

type UpdateTaskRequestBody struct {

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

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

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

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

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

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

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

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

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

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

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

UpdateTaskRequestBody

func (UpdateTaskRequestBody) String

func (o UpdateTaskRequestBody) String() string

type UpdateTaskResponse

type UpdateTaskResponse struct {

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

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

	Taskinfo       *TaskInfo `json:"taskinfo,omitempty" xml:"taskinfo"`
	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" xml:"test_suite_id"`

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

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

Request Object

func (UpdateTaskStatusRequest) String

func (o UpdateTaskStatusRequest) String() string

type UpdateTaskStatusRequestBody

type UpdateTaskStatusRequestBody struct {

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

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

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

	NetworkInfo *NetworkInfo `json:"network_info" xml:"network_info"`

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

UpdateTaskStatusRequestBody

func (UpdateTaskStatusRequestBody) String

type UpdateTaskStatusResponse

type UpdateTaskStatusResponse struct {

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

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

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

	Result         *UpdateTaskStatusResult `json:"result,omitempty" xml:"result"`
	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" xml:"task_run_id"`
}

func (UpdateTaskStatusResult) String added in v0.0.64

func (o UpdateTaskStatusResult) String() string

type UpdateTempRequest

type UpdateTempRequest struct {

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

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

Request Object

func (UpdateTempRequest) String

func (o UpdateTempRequest) String() string

type UpdateTempRequestBody

type UpdateTempRequestBody struct {

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

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

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

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

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

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

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

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

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" xml:"test_suite_id"`

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

Request Object

func (UpdateVariableRequest) String

func (o UpdateVariableRequest) String() string

type UpdateVariableRequestBody

type UpdateVariableRequestBody struct {

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

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

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

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

UpdateVariableRequestBody

func (UpdateVariableRequestBody) String

func (o UpdateVariableRequestBody) String() string

type UpdateVariableResponse

type UpdateVariableResponse struct {

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

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

	// message
	Message        *string `json:"message,omitempty" xml:"message"`
	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" xml:"details"`

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

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" xml:"id"`

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

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

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

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" xml:"file_size"`

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

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

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

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

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

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" xml:"vusers"`
}

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