model

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 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 *[]int32 `json:"recBytes,omitempty"`

	SentBytes *[]int32 `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 {
	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 added in v0.0.64

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 added in v0.0.64

type Content struct {
	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 *string `json:"key,omitempty"`

	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 {
	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 added in v0.0.64

func (o ContentInfo) String() string

type Contents added in v0.0.64

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 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 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 added in v0.0.64

type CreateCaseResultJson struct {
	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 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 added in v0.0.64

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

func (CreateVariableResultJson) String added in v0.0.64

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 added in v0.0.64

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 added in v0.0.64

func (o DebugCaseResult) String() string

type DebugCaseResultHeader added in v0.0.64

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

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

	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 *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 added in v0.0.64

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 added in v0.0.65

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 added in v0.0.65

func (o DetailDataInfo) String() string

type HistoryRunInfo added in v0.0.64

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 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 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 added in v0.0.64

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

	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 {
	NetworkType string `json:"network_type"`
}

func (NetworkInfo) String added in v0.0.64

func (o NetworkInfo) String() string

type Project added in v0.0.64

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 added in v0.0.64

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 added in v0.0.64

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

func (ReportInfo) String added in v0.0.64

func (o ReportInfo) String() string

type ReportTaskInfo added in v0.0.64

type ReportTaskInfo struct {
	Vum *int32 `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 *[]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 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"`

	DetailDatas *[]DetailDataInfo `json:"detailDatas,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 *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 added in v0.0.64

func (o ReportoutlineInfo) String() string

type RespcodeBrokens added in v0.0.64

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 added in v0.0.64

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 added in v0.0.64

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 added in v0.0.64

func (o Task) String() string

type TaskInfo added in v0.0.64

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 added in v0.0.64

func (o TaskInfo) String() string

type TaskRunInfo added in v0.0.64

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

	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 {
	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 added in v0.0.65

func (o TempContentInfo) String() string

type TempDetailInfo added in v0.0.65

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 added in v0.0.65

func (o TempDetailInfo) String() string

type TempInfo added in v0.0.64

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 added in v0.0.64

func (o TempInfo) String() string

type TempName added in v0.0.64

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

func (TempName) String added in v0.0.64

func (o TempName) String() string

type TpsBrokens added in v0.0.64

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

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

func (TpsBrokens) String added in v0.0.64

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 added in v0.0.64

type UpdateTaskStatusResult struct {
	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 {
	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 added in v0.0.65

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

	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 *int32 `json:"id,omitempty"`

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

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

	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 {
	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 added in v0.0.65

func (o VariableDetail) String() string

type VusersBrokens added in v0.0.64

type VusersBrokens struct {
	Vusers *[]int32 `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