model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrandBrokens

type BrandBrokens struct {
	RecBytes *[]int32 `json:"recBytes,omitempty"`

	SentBytes *[]int32 `json:"sentBytes,omitempty"`
}

func (BrandBrokens) String

func (o BrandBrokens) String() string

type CaseInfo

type CaseInfo struct {
	CaseId *int32 `json:"case_id,omitempty"`

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

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

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

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

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

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

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

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

func (CaseInfo) String

func (o CaseInfo) String() string

type CodeMessageResq

type CodeMessageResq struct {
	Code *string `json:"code,omitempty"`

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

func (CodeMessageResq) String

func (o CodeMessageResq) String() string

type Content

type Content struct {
	ContentType *int32 `json:"content_type,omitempty"`

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

func (Content) String

func (o Content) String() string

type ContentHeader

type ContentHeader struct {
	Key *string `json:"key,omitempty"`

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

func (ContentHeader) String

func (o ContentHeader) String() string

type ContentInfo

type ContentInfo struct {
	BodyType *int32 `json:"body_type,omitempty"`

	Bodys *[]string `json:"bodys,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

func (ContentInfo) String

func (o ContentInfo) String() string

type Contents

type Contents struct {
	ContentId *int32 `json:"content_id,omitempty"`

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

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

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

	Data *string `json:"data,omitempty"`

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

func (Contents) String

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

	Type int32 `json:"type"`

	TaskId int32 `json:"task_id"`
}

CreateCaseRequestBody

func (CreateCaseRequestBody) String

func (o CreateCaseRequestBody) String() string

type CreateCaseResponse

type CreateCaseResponse struct {
	Code *string `json:"code,omitempty"`

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

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

Response Object

func (CreateCaseResponse) String

func (o CreateCaseResponse) String() string

type CreateCaseResultJson

type CreateCaseResultJson struct {
	TaskCaseId *int32 `json:"task_case_id,omitempty"`
}

func (CreateCaseResultJson) String

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

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

CreateProjectRequestBody

func (CreateProjectRequestBody) String

func (o CreateProjectRequestBody) String() string

type CreateProjectResponse

type CreateProjectResponse struct {
	Code *string `json:"code,omitempty"`

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

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

	ProjectId int32 `json:"project_id"`

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

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

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

CreateTaskRequestBody

func (CreateTaskRequestBody) String

func (o CreateTaskRequestBody) String() string

type CreateTaskResponse

type CreateTaskResponse struct {
	Code *string `json:"code,omitempty"`

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

	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 {
	ProjectId int32 `json:"project_id"`

	TempType int32 `json:"temp_type"`

	Name string `json:"name"`

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

CreateTempRequestBody

func (CreateTempRequestBody) String

func (o CreateTempRequestBody) String() string

type CreateTempResponse

type CreateTempResponse struct {
	Code *string `json:"code,omitempty"`

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

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

Response Object

func (CreateTempResponse) String

func (o CreateTempResponse) String() string

type CreateVariableRequest

type CreateVariableRequest struct {
	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 int32 `json:"id"`

	Name string `json:"name"`

	VariableType int32 `json:"variable_type"`

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

CreateVariableRequestBody

func (CreateVariableRequestBody) String

func (o CreateVariableRequestBody) String() string

type CreateVariableResponse

type CreateVariableResponse struct {
	Code *string `json:"code,omitempty"`

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

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

Response Object

func (CreateVariableResponse) String

func (o CreateVariableResponse) String() string

type CreateVariableResultJson

type CreateVariableResultJson struct {
	VariableId *int32 `json:"variable_id,omitempty"`
}

func (CreateVariableResultJson) String

func (o CreateVariableResultJson) String() string

type DebugCaseRequest

type DebugCaseRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`

	TaskId int32 `json:"task_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 int32 `json:"status"`

	ClusterId int32 `json:"cluster_id"`

	ClusterType string `json:"cluster_type"`

	WithoutPackage int32 `json:"without_package"`
}

DebugCaseRequestBody

func (DebugCaseRequestBody) String

func (o DebugCaseRequestBody) String() string

type DebugCaseResponse

type DebugCaseResponse struct {
	Code *string `json:"code,omitempty"`

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

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

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

Response Object

func (DebugCaseResponse) String

func (o DebugCaseResponse) String() string

type DebugCaseResult

type DebugCaseResult struct {
	Body *string `json:"body,omitempty"`

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

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

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

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

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

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

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

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

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

func (DebugCaseResult) String

func (o DebugCaseResult) String() string

type DebugCaseResultHeader

type DebugCaseResultHeader struct {
	Connection *string `json:"Connection,omitempty"`

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

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

func (DebugCaseResultHeader) String

func (o DebugCaseResultHeader) String() string

type DebugCaseReturnHeader

type DebugCaseReturnHeader struct {
	Connection *string `json:"Connection,omitempty"`

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

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

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

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

func (DebugCaseReturnHeader) String

func (o DebugCaseReturnHeader) String() string

type DeleteCaseRequest

type DeleteCaseRequest struct {
	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 {
	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 {
	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 {
	TemplateId int32 `json:"template_id"`
}

Request Object

func (DeleteTempRequest) String

func (o DeleteTempRequest) String() string

type DeleteTempResponse

type DeleteTempResponse struct {
	Code *string `json:"code,omitempty"`

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

Response Object

func (DeleteTempResponse) String

func (o DeleteTempResponse) String() string

type DetailDataInfo

type DetailDataInfo struct {
	AverageRespTime *float32 `json:"averageRespTime,omitempty"`

	AvgRecBytes *float32 `json:"avgRecBytes,omitempty"`

	AvgSentBytes *int32 `json:"avgSentBytes,omitempty"`

	AvgTranRespTime *string `json:"avgTranRespTime,omitempty"`

	CaseUri *string `json:"caseUri,omitempty"`

	CreateTime *string `json:"createTime,omitempty"`

	CurrentThreadNum *int32 `json:"currentThreadNum,omitempty"`

	DetailId *string `json:"detailId,omitempty"`

	EndTime *string `json:"endTime,omitempty"`

	ErrorCount *int32 `json:"errorCount,omitempty"`

	ErrorEventsCount *int32 `json:"errorEventsCount,omitempty"`

	FailedAssert *int32 `json:"failedAssert,omitempty"`

	FailedOthers *int32 `json:"failedOthers,omitempty"`

	FailedParsed *int32 `json:"failedParsed,omitempty"`

	FailedRefused *int32 `json:"failedRefused,omitempty"`

	FailedTimeout *int32 `json:"failedTimeout,omitempty"`

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

	IsAW *bool `json:"isAW,omitempty"`

	Max *int32 `json:"max,omitempty"`

	MaxRecBytes *int32 `json:"maxRecBytes,omitempty"`

	MaxRespTime *int32 `json:"maxRespTime,omitempty"`

	MaxSentBytes *int32 `json:"maxSentBytes,omitempty"`

	MaxTranRespTime *int32 `json:"maxTranRespTime,omitempty"`

	Min *int32 `json:"min,omitempty"`

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

	Requests *int32 `json:"requests,omitempty"`

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

	StartTime *string `json:"startTime,omitempty"`

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

	SuccessCount *int32 `json:"successCount,omitempty"`

	SuccessRate *int32 `json:"successRate,omitempty"`

	Sum1xx *int32 `json:"sum1xx,omitempty"`

	Sum2xx *int32 `json:"sum2xx,omitempty"`

	Sum3xx *int32 `json:"sum3xx,omitempty"`

	Sum4xx *int32 `json:"sum4xx,omitempty"`

	Sum5xx *int32 `json:"sum5xx,omitempty"`

	TaskId *string `json:"taskId,omitempty"`

	TaskProjectId *string `json:"taskProjectId,omitempty"`

	TaskStatus *int32 `json:"taskStatus,omitempty"`

	TestCaseUri *string `json:"testCaseUri,omitempty"`

	Tp50 *int32 `json:"tp50,omitempty"`

	Tp75 *int32 `json:"tp75,omitempty"`

	Tp90 *int32 `json:"tp90,omitempty"`

	Tp95 *int32 `json:"tp95,omitempty"`

	Tp99 *int32 `json:"tp99,omitempty"`

	Tps *float32 `json:"tps,omitempty"`

	TranTPS *string `json:"tranTPS,omitempty"`

	TransactionId *string `json:"transactionId,omitempty"`

	TransactionSuccess *string `json:"transactionSuccess,omitempty"`

	TransactionalSuccessRate *int32 `json:"transactionalSuccessRate,omitempty"`

	TransactionalTps *int32 `json:"transactionalTps,omitempty"`

	TransactionalTpsSuccess *int32 `json:"transactionalTpsSuccess,omitempty"`

	Transactions *string `json:"transactions,omitempty"`

	UpdateTime *string `json:"updateTime,omitempty"`

	Vum *int32 `json:"vum,omitempty"`
}

func (DetailDataInfo) String

func (o DetailDataInfo) String() string

type HistoryRunInfo

type HistoryRunInfo struct {
	Name *string `json:"name,omitempty"`

	RunId *int32 `json:"run_id,omitempty"`

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

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

	ContinueTime *int32 `json:"continue_time,omitempty"`

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

func (HistoryRunInfo) String

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 ListVariablesRequest

type ListVariablesRequest struct {
	VariableType int32 `json:"variable_type"`

	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ListVariablesRequest) String

func (o ListVariablesRequest) String() string

type ListVariablesResponse

type ListVariablesResponse struct {
	Code *string `json:"code,omitempty"`

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

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

Response Object

func (ListVariablesResponse) String

func (o ListVariablesResponse) String() string

type LogicController

type LogicController struct {
	ForLoopParams *string `json:"for_loop_params,omitempty"`

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

func (LogicController) String

func (o LogicController) String() string

type NetworkInfo

type NetworkInfo struct {
	NetworkType string `json:"network_type"`
}

func (NetworkInfo) String

func (o NetworkInfo) String() string

type Project

type Project struct {
	CreateTime *string `json:"create_time,omitempty"`

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

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

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

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

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

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

func (Project) String

func (o Project) 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:"create_time,omitempty"`

	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

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

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

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

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

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

func (ProjectsSet) String

func (o ProjectsSet) String() string

type RelatedTempRunningData

type RelatedTempRunningData struct {
	TaskRunInfoId *int32 `json:"task_run_info_id,omitempty"`

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

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

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

func (RelatedTempRunningData) String

func (o RelatedTempRunningData) String() string

type ReportInfo

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"`
}

func (ReportInfo) String

func (o ReportInfo) String() string

type ReportTaskInfo

type ReportTaskInfo struct {
	Vum *int32 `json:"vum,omitempty"`
}

func (ReportTaskInfo) String

func (o ReportTaskInfo) String() string

type ReportbrokensInfo

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

	CommonTimestamps *[]string `json:"commonTimestamps,omitempty"`

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

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

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

func (ReportbrokensInfo) String

func (o ReportbrokensInfo) String() string

type ReportdetailItemInfo

type ReportdetailItemInfo struct {
	CustomTransactions *[]string `json:"customTransactions,omitempty"`

	DetailDatas *[]DetailDataInfo `json:"detailDatas,omitempty"`
}

func (ReportdetailItemInfo) String

func (o ReportdetailItemInfo) String() string

type ReportdetailsInfo

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

func (o ReportdetailsInfo) String() string

type ReportoutlineInfo

type ReportoutlineInfo struct {
	AvgResponseTime *float32 `json:"avgResponseTime,omitempty"`

	CaseRetry *int32 `json:"caseRetry,omitempty"`

	CompleteNum *int32 `json:"completeNum,omitempty"`

	Duration *int32 `json:"duration,omitempty"`

	EndTime *string `json:"endTime,omitempty"`

	ExecutedNum *int32 `json:"executedNum,omitempty"`

	IterationUri *string `json:"iterationUri,omitempty"`

	KpiCaseCount *int32 `json:"kpiCaseCount,omitempty"`

	KpiCaseExecuteCount *int32 `json:"kpiCaseExecuteCount,omitempty"`

	KpiCasePassCount *int32 `json:"kpiCasePassCount,omitempty"`

	MaxUsers *int32 `json:"maxUsers,omitempty"`

	PassNum *int32 `json:"passNum,omitempty"`

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

	Stage *int32 `json:"stage,omitempty"`

	StageName *string `json:"stageName,omitempty"`

	StartTime *string `json:"startTime,omitempty"`

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

	SuccessRate *int32 `json:"successRate,omitempty"`

	TaskStatus *int32 `json:"taskStatus,omitempty"`

	TotalNum *int32 `json:"totalNum,omitempty"`

	Tps *float32 `json:"tps,omitempty"`

	VersionUri *string `json:"versionUri,omitempty"`
}

func (ReportoutlineInfo) String

func (o ReportoutlineInfo) String() string

type RespcodeBrokens

type RespcodeBrokens struct {
	CheckPointFailed *[]int32 `json:"checkPointFailed,omitempty"`

	Error *[]int32 `json:"error,omitempty"`

	OthersFailed *[]int32 `json:"othersFailed,omitempty"`

	ParsedFailed *[]int32 `json:"parsedFailed,omitempty"`

	RefusedFailed *[]int32 `json:"refusedFailed,omitempty"`

	Success *[]int32 `json:"success,omitempty"`

	Timeout *[]int32 `json:"timeout,omitempty"`
}

func (RespcodeBrokens) String

func (o RespcodeBrokens) String() string

type ShowHistoryRunInfoRequest

type ShowHistoryRunInfoRequest struct {
	TaskId int32 `json:"task_id"`
}

Request Object

func (ShowHistoryRunInfoRequest) String

func (o ShowHistoryRunInfoRequest) String() string

type ShowHistoryRunInfoResponse

type ShowHistoryRunInfoResponse struct {
	Code *string `json:"code,omitempty"`

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

	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 *string `json:"code,omitempty"`

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

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

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

Response Object

func (ShowProcessResponse) String

func (o ShowProcessResponse) String() string

type ShowProjectRequest

type ShowProjectRequest struct {
	TestSuiteId int32 `json:"test_suite_id"`
}

Request Object

func (ShowProjectRequest) String

func (o ShowProjectRequest) String() string

type ShowProjectResponse

type ShowProjectResponse struct {
	Code *string `json:"code,omitempty"`

	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 {
	TaskRunId int32 `json:"task_run_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 *string `json:"code,omitempty"`

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

	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 {
	TaskId int32 `json:"task_id"`
}

Request Object

func (ShowTaskRequest) String

func (o ShowTaskRequest) String() string

type ShowTaskResponse

type ShowTaskResponse struct {
	Code *string `json:"code,omitempty"`

	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 {
	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 *string `json:"code,omitempty"`

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

	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 {
	TemplateId int32 `json:"template_id"`
}

Request Object

func (ShowTempRequest) String

func (o ShowTempRequest) String() string

type ShowTempResponse

type ShowTempResponse struct {
	Code *string `json:"code,omitempty"`

	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 {
	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 *string `json:"code,omitempty"`

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

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

Response Object

func (ShowTempSetResponse) String

func (o ShowTempSetResponse) String() string

type Task

type Task struct {
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

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

	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"`
}

tasks

func (Task) String

func (o Task) String() string

type TaskInfo

type TaskInfo struct {
	BenchConcurrent *int32 `json:"bench_concurrent,omitempty"`

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

	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

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

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

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

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

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

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

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

func (TaskInfo) String

func (o TaskInfo) String() string

type TaskRunInfo

type TaskRunInfo struct {
	Id *int32 `json:"id,omitempty"`

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

TaskRunInfo

func (TaskRunInfo) String

func (o TaskRunInfo) String() string

type TempContentInfo

type TempContentInfo struct {
	ContentId *int32 `json:"content_id,omitempty"`

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

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

	Data *string `json:"data,omitempty"`

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

func (TempContentInfo) String

func (o TempContentInfo) String() string

type TempDetailInfo

type TempDetailInfo struct {
	Description *string `json:"description,omitempty"`

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

	IsQuoted *bool `json:"is_quoted,omitempty"`

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

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

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

func (TempDetailInfo) String

func (o TempDetailInfo) String() string

type TempInfo

type TempInfo struct {
	Id *int32 `json:"id,omitempty"`

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

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

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

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

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

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

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

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

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

func (TempInfo) String

func (o TempInfo) String() string

type TempName

type TempName struct {
	Name *string `json:"name,omitempty"`
}

func (TempName) String

func (o TempName) String() string

type TpsBrokens

type TpsBrokens struct {
	Average *[]int32 `json:"average,omitempty"`

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

func (TpsBrokens) String

func (o TpsBrokens) String() string

type UpdateCaseRequest

type UpdateCaseRequest struct {
	CaseId int32 `json:"case_id"`

	Target string `json:"target"`

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

Request Object

func (UpdateCaseRequest) String

func (o UpdateCaseRequest) String() string

type UpdateCaseRequestBody

type UpdateCaseRequestBody struct {
	Contents *[]CaseInfo `json:"contents,omitempty"`

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

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 {
	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 int32 `json:"id"`

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

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

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

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

	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 UpdateTaskRequest

type UpdateTaskRequest struct {
	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 int32 `json:"id"`

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

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

	ProjectId int32 `json:"project_id"`

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

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

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

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

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

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

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

UpdateTaskRequestBody

func (UpdateTaskRequestBody) String

func (o UpdateTaskRequestBody) String() string

type UpdateTaskResponse

type UpdateTaskResponse struct {
	Code *string `json:"code,omitempty"`

	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 {
	TestSuiteId int32 `json:"test_suite_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 {
	ClusterId int32 `json:"cluster_id"`

	ClusterType string `json:"cluster_type"`

	WithoutPackage int32 `json:"without_package"`

	NetworkInfo *NetworkInfo `json:"network_info"`

	Status int32 `json:"status"`
}

UpdateTaskStatusRequestBody

func (UpdateTaskStatusRequestBody) String

type UpdateTaskStatusResponse

type UpdateTaskStatusResponse struct {
	Code *string `json:"code,omitempty"`

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

	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

type UpdateTaskStatusResult struct {
	TaskRunId *int32 `json:"task_run_id,omitempty"`
}

func (UpdateTaskStatusResult) String

func (o UpdateTaskStatusResult) String() string

type UpdateTempRequest

type UpdateTempRequest struct {
	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 int32 `json:"id"`

	ProjectId int32 `json:"project_id"`

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

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

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

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

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

	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 {
	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 int32 `json:"id"`

	Name string `json:"name"`

	VariableType int32 `json:"variable_type"`

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

UpdateVariableRequestBody

func (UpdateVariableRequestBody) String

func (o UpdateVariableRequestBody) String() string

type UpdateVariableResponse

type UpdateVariableResponse struct {
	Code *string `json:"code,omitempty"`

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

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

Response Object

func (UpdateVariableResponse) String

func (o UpdateVariableResponse) String() string

type UploadProcessJson

type UploadProcessJson struct {
	Details *[]UploadProcessJsonDetail `json:"details,omitempty"`

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

json

func (UploadProcessJson) String

func (o UploadProcessJson) String() string

type UploadProcessJsonDetail

type UploadProcessJsonDetail struct {
	Id *int32 `json:"id,omitempty"`

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

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

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

func (UploadProcessJsonDetail) String

func (o UploadProcessJsonDetail) String() string

type VariableDetail

type VariableDetail struct {
	FileSize *int32 `json:"file_size,omitempty"`

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

	IsQuoted *bool `json:"is_quoted,omitempty"`

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

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

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

func (VariableDetail) String

func (o VariableDetail) String() string

type VusersBrokens

type VusersBrokens struct {
	Vusers *[]int32 `json:"vusers,omitempty"`
}

func (VusersBrokens) String

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