Documentation ¶
Index ¶
- type AgentConfig
- type AwInfoDto
- type BatchUpdateTaskStatusRequest
- type BatchUpdateTaskStatusRequestBody
- type BatchUpdateTaskStatusResponse
- type BatchUpdateTaskStatusResponseBodyResult
- type BrandBrokens
- type BrokenList
- type CaseAwInfo
- type CaseDoc
- type CaseDocSteps
- type CaseInfoDetail
- type CaseReportDetail
- type CaseReportDetailResult
- type CaseReportDetails
- type CaseReportSummary
- type CodeMessageResq
- type Content
- type ContentHeader
- type ContentInfo
- type Contents
- type CoreIndex
- type CreaseCaseResponseJson
- type CreateCaseRequest
- type CreateCaseRequestBody
- type CreateCaseResponse
- type CreateCaseResultJson
- type CreateDirectoryRequest
- type CreateDirectoryRequestBody
- type CreateDirectoryResponse
- type CreateNewCaseRequest
- type CreateNewCaseResponse
- type CreateNewTaskRequest
- type CreateNewTaskResponse
- type CreateProjectRequest
- type CreateProjectRequestBody
- type CreateProjectResponse
- type CreateTaskRequest
- type CreateTaskRequestBody
- type CreateTaskResponse
- type CreateTempRequest
- type CreateTempRequestBody
- type CreateTempResponse
- type CreateVariableRequest
- type CreateVariableRequestBody
- type CreateVariableResponse
- type CreateVariableResultJson
- type DebugCaseRequest
- type DebugCaseRequestBody
- type DebugCaseResponse
- type DebugCaseResult
- type DebugCaseResultHeader
- type DebugCaseReturnHeader
- type DeleteCaseRequest
- type DeleteCaseResponse
- type DeleteDirectoryRequest
- type DeleteDirectoryResponse
- type DeleteNewCaseRequest
- type DeleteNewCaseResponse
- type DeleteNewTaskRequest
- type DeleteNewTaskResponse
- type DeleteProjectRequest
- type DeleteProjectResponse
- type DeleteTaskRequest
- type DeleteTaskResponse
- type DeleteTempRequest
- type DeleteTempResponse
- type DeleteVariableRequest
- type DeleteVariableResponse
- type DetailDataInfo
- type DetailItem
- type ExceptionResponseSum
- type HistoryRunInfo
- type ListProjectSetsRequest
- type ListProjectSetsResponse
- type ListProjectTestCaseRequest
- type ListProjectTestCaseResponse
- type ListTaskCasesRequest
- type ListTaskCasesResponse
- type ListVariablesRequest
- type ListVariablesResponse
- type LogicController
- type MockRuleConfig
- type NetworkInfo
- type NetworkTraffic
- type NewTaskInfo
- type PeakMetric
- type PerformanceInfo
- type Project
- type ProjectDirectory
- type ProjectResp
- type ProjectsSet
- type RelatedTempRunningData
- type ReportInfo
- type ReportOutline
- type ReportOutlineResult
- type ReportTaskInfo
- type ReportbrokensInfo
- type ReportdetailItemInfo
- type ReportdetailsInfo
- type ReportoutlineInfo
- type RespcodeBrokens
- type ResponseCodeSum
- type ResponseTimeInfo
- type RtmpBrokens
- type ShowAgentConfigRequest
- type ShowAgentConfigRequestBody
- type ShowAgentConfigResponse
- type ShowCaseRequest
- type ShowCaseResponse
- type ShowHistoryRunInfoRequest
- type ShowHistoryRunInfoResponse
- type ShowMergeCaseDetailRequest
- type ShowMergeCaseDetailResponse
- type ShowMergeReportLogsOutlineRequest
- type ShowMergeReportLogsOutlineResponse
- type ShowMergeTaskCaseRequest
- type ShowMergeTaskCaseResponse
- type ShowProcessRequest
- type ShowProcessResponse
- type ShowProjectRequest
- type ShowProjectResponse
- type ShowReportRequest
- type ShowReportResponse
- type ShowTaskCaseAwChartRequest
- type ShowTaskCaseAwChartResponse
- type ShowTaskRequest
- type ShowTaskResponse
- type ShowTaskSetRequest
- type ShowTaskSetResponse
- type ShowTempRequest
- type ShowTempResponse
- type ShowTempSetRequest
- type ShowTempSetResponse
- type StageKpiItem
- type StageKpiItems
- type StreamingErrorBrokens
- type StreamingMediaReport
- type Task
- type TaskBasicAttribute
- type TaskBasicExecutionData
- type TaskCaseAwChartResult
- type TaskInfo
- type TaskRunInfo
- type TempContentInfo
- type TempDetailInfo
- type TempInfo
- type TempName
- type TempRunningData
- type TestCaseBriefInfo
- type TestCaseStage
- type TpsBrokens
- type UpdateAgentHealthStatusRequest
- type UpdateAgentHealthStatusRequestBody
- type UpdateAgentHealthStatusResponse
- type UpdateAgentStatusResponseDetail
- type UpdateCaseRequest
- type UpdateCaseResponse
- type UpdateDirectoryRequest
- type UpdateDirectoryRequestBody
- type UpdateDirectoryResponse
- type UpdateNewCaseRequest
- type UpdateNewCaseResponse
- type UpdateNewTaskRequestBody
- type UpdateProjectRequest
- type UpdateProjectRequestBody
- type UpdateProjectResponse
- type UpdateTaskRelatedTestCaseRequest
- type UpdateTaskRelatedTestCaseResponse
- type UpdateTaskRequest
- type UpdateTaskRequestBody
- type UpdateTaskResponse
- type UpdateTaskStatusRequest
- type UpdateTaskStatusRequestBody
- type UpdateTaskStatusResponse
- type UpdateTaskStatusResult
- type UpdateTempRequest
- type UpdateTempRequestBody
- type UpdateTempResponse
- type UpdateVariableRequest
- type UpdateVariableRequestBody
- type UpdateVariableResponse
- type UploadProcessJson
- type UploadProcessJsonDetail
- type VariableDetail
- type VusersBrokens
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfig ¶ added in v0.1.36
type AgentConfig struct { // 探针id AgentId *int32 `json:"agent_id,omitempty"` // 是否开启数据库影子规则 DbEnable *bool `json:"db_enable,omitempty"` // 数据库影子库名称 DbShadowRepository *string `json:"db_shadow_repository,omitempty"` // 数据库影子库类型 DbShadowType *string `json:"db_shadow_type,omitempty"` // 日志级别,枚举值:INFO,DEBUG,WARN,ERROR LogLevel *string `json:"log_level,omitempty"` // 日志路径 LogPath *string `json:"log_path,omitempty"` // 影子规则开关 MainSwitch *bool `json:"main_switch,omitempty"` // 是否开启redis影子库规则 RedisEnable *bool `json:"redis_enable,omitempty"` // redis影子库key前缀 RedisShadowKeyPrefix *string `json:"redis_shadow_key_prefix,omitempty"` // redis影子库名称 RedisShadowRepository *string `json:"redis_shadow_repository,omitempty"` // redis影子库类型 RedisShadowType *string `json:"redis_shadow_type,omitempty"` // kafka影子规则开关 KafkaEnable *bool `json:"kafka_enable,omitempty"` // kafka影子topic前缀 KafkaShadowTopicPrefix *string `json:"kafka_shadow_topic_prefix,omitempty"` // 应用日志等级(ALL/TRACE/DEBUG/INFO/WARN/ERROR/OFF) AppLogLevel *string `json:"app_log_level,omitempty"` // 应用日志路径 AppLogPath *string `json:"app_log_path,omitempty"` // mock规则列表 MockRuleList *[]MockRuleConfig `json:"mock_rule_list,omitempty"` }
AgentConfig 探针配置
func (AgentConfig) String ¶ added in v0.1.36
func (o AgentConfig) String() string
type AwInfoDto ¶ added in v0.1.42
type BatchUpdateTaskStatusRequest ¶ added in v0.1.42
type BatchUpdateTaskStatusRequest struct { // 工程id TestSuitId int32 `json:"test_suit_id"` Body *BatchUpdateTaskStatusRequestBody `json:"body,omitempty"` }
BatchUpdateTaskStatusRequest Request Object
func (BatchUpdateTaskStatusRequest) String ¶ added in v0.1.42
func (o BatchUpdateTaskStatusRequest) String() string
type BatchUpdateTaskStatusRequestBody ¶ added in v0.1.42
type BatchUpdateTaskStatusRequestBody struct { // 类型(0-旧版本任务;1-新版本任务) Type *int32 `json:"type,omitempty"` // 所属工程id ProjectId int32 `json:"project_id"` // 任务id列表 TaskIdList []int32 `json:"task_id_list"` // cluster_id ClusterId int32 `json:"cluster_id"` // cluster_type ClusterType string `json:"cluster_type"` // without_package WithoutPackage *int32 `json:"without_package,omitempty"` NetworkInfo *NetworkInfo `json:"network_info,omitempty"` // status Status int32 `json:"status"` // 企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
func (BatchUpdateTaskStatusRequestBody) String ¶ added in v0.1.42
func (o BatchUpdateTaskStatusRequestBody) String() string
type BatchUpdateTaskStatusResponse ¶ added in v0.1.42
type BatchUpdateTaskStatusResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展字段 Extend *interface{} `json:"extend,omitempty"` // 批量启停任务响应结果 Result *[]BatchUpdateTaskStatusResponseBodyResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
BatchUpdateTaskStatusResponse Response Object
func (BatchUpdateTaskStatusResponse) String ¶ added in v0.1.42
func (o BatchUpdateTaskStatusResponse) String() string
type BatchUpdateTaskStatusResponseBodyResult ¶ added in v0.1.42
type BatchUpdateTaskStatusResponseBodyResult struct { // 任务id TaskId *int32 `json:"task_id,omitempty"` // 报告id TaskRunId *int32 `json:"task_run_id,omitempty"` }
func (BatchUpdateTaskStatusResponseBodyResult) String ¶ added in v0.1.42
func (o BatchUpdateTaskStatusResponseBodyResult) String() string
type BrandBrokens ¶ added in v0.0.64
type BrandBrokens struct { // 接收字节数 RecBytes *[]float64 `json:"recBytes,omitempty"` // 发送字节数 SentBytes *[]float64 `json:"sentBytes,omitempty"` }
func (BrandBrokens) String ¶ added in v0.0.64
func (o BrandBrokens) String() string
type BrokenList ¶ added in v0.1.42
type BrokenList struct { BrandBrokens *BrandBrokens `json:"brand_brokens,omitempty"` // 时间戳 CommonTimestamps *[]string `json:"commonTimestamps,omitempty"` // 摸高数据 PerformanceLoad *interface{} `json:"performance_load,omitempty"` RespcodeBrokens *RespcodeBrokens `json:"respcode_brokens,omitempty"` RtmpBrokens *RtmpBrokens `json:"rtmp_brokens,omitempty"` StreamingErrorBrokens *StreamingErrorBrokens `json:"streaming_error_brokens,omitempty"` TpsBrokens *TpsBrokens `json:"tps_brokens,omitempty"` VusersBrokens *VusersBrokens `json:"vusers_brokens,omitempty"` }
func (BrokenList) String ¶ added in v0.1.42
func (o BrokenList) String() string
type CaseAwInfo ¶ added in v0.1.42
type CaseAwInfo struct { // aw信息Dto Aw *[]AwInfoDto `json:"aw,omitempty"` // aw详细信息列表 AwList *[]DetailItem `json:"awList,omitempty"` // 数据库中dc_case_aw表中的主键ID CaseAwId *string `json:"caseAwId,omitempty"` // 数据库中dc_testcase表中的case_uri CaseUri *string `json:"caseUri,omitempty"` // 数据库中dc_testcase表中的case_uri_iteration CaseUriI *string `json:"case_uri_i,omitempty"` // 数据类型(用例/aw/事务) DatumType *int32 `json:"datumType,omitempty"` // 数据库中dc_case_aw表中的主键ID Id *string `json:"id,omitempty"` // 用例名 Name *string `json:"name,omitempty"` // 数据库中dc_testcase表中的testcase_id TaskExecId *string `json:"taskExecId,omitempty"` // 任务ID TaskId *string `json:"taskId,omitempty"` // 数据库中dc_testcase表中的testcase_id TestcaseId *string `json:"testcaseId,omitempty"` // 事务详细信息列表 TransactionList *[]DetailItem `json:"transactionList,omitempty"` }
func (CaseAwInfo) String ¶ added in v0.1.42
func (o CaseAwInfo) String() string
type CaseDoc ¶ added in v0.1.42
type CaseDoc struct { // 用例描述信息 Description *string `json:"description,omitempty"` // 标签 LabelNames *[]string `json:"label_names,omitempty"` // 前置条件 Preparation *string `json:"preparation,omitempty"` // 用例等级(0-L0;1-L1;2-L2;3-L3;4-L4;) Rank *int32 `json:"rank,omitempty"` // 状态(0-新建;5-设计中;6-测试中;7-完成;) StatusCode *int32 `json:"status_code,omitempty"` // 测试步骤 Steps *[]CaseDocSteps `json:"steps,omitempty"` }
CaseDoc 文本用例信息
type CaseDocSteps ¶ added in v0.1.42
type CaseDocSteps struct { // 步骤描述 ExpectResult *string `json:"expect_result,omitempty"` // 预期结果 TestStep *string `json:"test_step,omitempty"` }
func (CaseDocSteps) String ¶ added in v0.1.42
func (o CaseDocSteps) String() string
type CaseInfoDetail ¶ added in v0.1.40
type CaseInfoDetail struct { // case_id CaseId *int32 `json:"case_id,omitempty"` // 用例名称 Name *string `json:"name,omitempty"` // case_type CaseType *int32 `json:"case_type,omitempty"` // contents Contents *[]Contents `json:"contents,omitempty"` // for_loop_params ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"` // increase_setting IncreaseSetting *[]interface{} `json:"increase_setting,omitempty"` // stages Stages *[]TestCaseStage `json:"stages,omitempty"` // 状态,0:已删除;1:启用;2:禁用 Status *int32 `json:"status,omitempty"` // temp_id TempId *int32 `json:"temp_id,omitempty"` // 排序字段 Sort *int32 `json:"sort,omitempty"` // 用例所属目录id(旧版接口可不传) DirectoryId *int32 `json:"directory_id,omitempty"` // 前置步骤 SetupContents *[]Contents `json:"setup_contents,omitempty"` // 执行器个数 UserReplicas *int32 `json:"user_replicas,omitempty"` // 日志采集策略(0-请求模式;1-用例模式) CollectLogPolicy *int32 `json:"collect_log_policy,omitempty"` // 关联全链路应用列表 LinkAppList *[]int32 `json:"link_app_list,omitempty"` CaseInfo *CaseDoc `json:"case_info,omitempty"` }
func (CaseInfoDetail) String ¶ added in v0.1.40
func (o CaseInfoDetail) String() string
type CaseReportDetail ¶ added in v0.1.42
type CaseReportDetail struct { // 最大成功率检查点 MaxSuccessRateCheckPoint *float64 `json:"MaxSuccessRateCheckPoint,omitempty"` // 别名 Alias *string `json:"alias,omitempty"` // 平均响应时间 AverageRespTime *float64 `json:"averageRespTime,omitempty"` // 平均响应时间检查点 AverageRespTimeCheckPoint *float64 `json:"averageRespTimeCheckPoint,omitempty"` // 平均响应时间检查结果 AverageRespTimeCheckRes *bool `json:"averageRespTimeCheckRes,omitempty"` // 平均带宽 AvgNetworkTraffic *float64 `json:"avgNetworkTraffic,omitempty"` // 平均下行带宽 AvgRecBytes *int32 `json:"avgRecBytes,omitempty"` // 平均下行带宽检查点 AvgRecBytesCheckPoint *float64 `json:"avgRecBytesCheckPoint,omitempty"` // 平均下行带宽检查结果 AvgRecBytesCheckRes *bool `json:"avgRecBytesCheckRes,omitempty"` // 平均上行带宽 AvgSentBytes *int32 `json:"avgSentBytes,omitempty"` // 平均上行带宽检查点 AvgSentBytesCheckPoint *float64 `json:"avgSentBytesCheckPoint,omitempty"` // 平均上行带宽检查结果 AvgSentBytesCheckRes *bool `json:"avgSentBytesCheckRes,omitempty"` // 事务平均响应时间 AvgTranRespTime *float64 `json:"avgTranRespTime,omitempty"` // 事务平均响应时间检查点 AvgTranRespTimeCheckPoint *float64 `json:"avgTranRespTimeCheckPoint,omitempty"` // 事务平均响应时间检查结果 AvgTranRespTimeCheckRes *bool `json:"avgTranRespTimeCheckRes,omitempty"` // awId AwId *string `json:"awId,omitempty"` // 用例Uri CaseUri *string `json:"caseUri,omitempty"` // 所有检查点结果的汇总结果 CheckpointResult *bool `json:"checkpointResult,omitempty"` // cpu最大使用率 CpuUsage *float64 `json:"cpuUsage,omitempty"` // cpu平均使用率 CpuUsageAvg *float64 `json:"cpuUsageAvg,omitempty"` // cpu平均使用率检查点 CpuUsageAvgCheckPoint *float64 `json:"cpuUsageAvgCheckPoint,omitempty"` // cpu平均使用率检查结果 CpuUsageAvgCheckRes *bool `json:"cpuUsageAvgCheckRes,omitempty"` // cpu最大使用率检查点 CpuUsageCheckPoint *float32 `json:"cpuUsageCheckPoint,omitempty"` // cpu最大使用率检查结果 CpuUsageCheckRes *bool `json:"cpuUsageCheckRes,omitempty"` // 创建时间 CreateTime *string `json:"createTime,omitempty"` // 最大并发数 CurrentThreadNum *int32 `json:"currentThreadNum,omitempty"` // 数据类型(case/aw/transaction) DatumType *int32 `json:"datumType,omitempty"` // dcs平均时延 DcsLatencyAvg *float64 `json:"dcsLatencyAvg,omitempty"` // dcs平均时延检查点 DcsLatencyAvgCheckPoint *float64 `json:"dcsLatencyAvgCheckPoint,omitempty"` // dcs平均时延检查结果 DcsLatencyAvgCheckRes *bool `json:"dcsLatencyAvgCheckRes,omitempty"` // dcs最大时延 DcsLatencyMax *float64 `json:"dcsLatencyMax,omitempty"` // dcs最大时延检查点· DcsLatencyMaxCheckPoint *float64 `json:"dcsLatencyMaxCheckPoint,omitempty"` // dcs最大时延检查结果 DcsLatencyMaxCheckRes *bool `json:"dcsLatencyMaxCheckRes,omitempty"` // dcs最小时延 DcsLatencyMin *float64 `json:"dcsLatencyMin,omitempty"` // dcs最小时延检查点 DcsLatencyMinCheckPoint *float64 `json:"dcsLatencyMinCheckPoint,omitempty"` // dcs最小时延检查结果 DcsLatencyMinCheckRes *bool `json:"dcsLatencyMinCheckRes,omitempty"` // 用例/aw/事务在数据库中dc_case_aw表的主键ID DetailId *string `json:"detailId,omitempty"` // 磁盘最大读取速度 DiskRead *float64 `json:"diskRead,omitempty"` // 磁盘平均读取速度 DiskReadAvg *float64 `json:"diskReadAvg,omitempty"` // 磁盘平均读取速度检查点 DiskReadAvgCheckPoint *float64 `json:"diskReadAvgCheckPoint,omitempty"` // 磁盘平均读取速度检查结果 DiskReadAvgCheckRes *bool `json:"diskReadAvgCheckRes,omitempty"` // 磁盘最大读取速度检查点 DiskReadCheckPoint *float64 `json:"diskReadCheckPoint,omitempty"` // 磁盘最大读取速度检查结果 DiskReadCheckRes *bool `json:"diskReadCheckRes,omitempty"` // 磁盘最大使用率 DiskUsage *float64 `json:"diskUsage,omitempty"` // 磁盘平均使用率 DiskUsageAvg *float64 `json:"diskUsageAvg,omitempty"` // 磁盘平均使用率检查点 DiskUsageAvgCheckPoint *float64 `json:"diskUsageAvgCheckPoint,omitempty"` // 磁盘平均使用率检查结果 DiskUsageAvgCheckRes *bool `json:"diskUsageAvgCheckRes,omitempty"` // 磁盘最大使用率检查点 DiskUsageCheckPoint *float64 `json:"diskUsageCheckPoint,omitempty"` // 磁盘最大使用率检查结果 DiskUsageCheckRes *bool `json:"diskUsageCheckRes,omitempty"` // 磁盘最大写入速度 DiskWrite *float64 `json:"diskWrite,omitempty"` // 磁盘平均写入速度 DiskWriteAvg *float64 `json:"diskWriteAvg,omitempty"` // 磁盘平均写入速度检查点 DiskWriteAvgCheckPoint *float64 `json:"diskWriteAvgCheckPoint,omitempty"` // 磁盘平均写入速度检查结果 DiskWriteAvgCheckRes *bool `json:"diskWriteAvgCheckRes,omitempty"` // 磁盘最大写入速度检查点 DiskWriteCheckPoint *float64 `json:"diskWriteCheckPoint,omitempty"` // 磁盘最大写入速度检查结果 DiskWriteCheckRes *bool `json:"diskWriteCheckRes,omitempty"` // 运行时长 Duration *int32 `json:"duration,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"` // 失败原因 FailedReason *string `json:"failedReason,omitempty"` // 连接拒绝失败数 FailedRefused *int32 `json:"failedRefused,omitempty"` // 连接超时失败数 FailedTimeout *int32 `json:"failedTimeout,omitempty"` // 用例在数据库中dc_testcase表的主键id Id *string `json:"id,omitempty"` // 是否是aw IsAW *bool `json:"isAW,omitempty"` // 迭代uri IterationUri *string `json:"iterationUri,omitempty"` // 来源于设计服务的监控数据 KpiMonitor *string `json:"kpiMonitor,omitempty"` // 最大响应时间 Max *int32 `json:"max,omitempty"` // 平均响应时间 MaxAvgTime *float64 `json:"maxAvgTime,omitempty"` // 平均响应时间检查点 MaxAvgTimeCheckPoint *float64 `json:"maxAvgTimeCheckPoint,omitempty"` // 平均响应时间检查结果 MaxAvgTimeCheckRes *bool `json:"maxAvgTimeCheckRes,omitempty"` // 流量峰值 MaxNetworkTraffic *int32 `json:"maxNetworkTraffic,omitempty"` // 最大下行带宽 MaxRecBytes *int32 `json:"maxRecBytes,omitempty"` // 最大下行带宽检查点 MaxRecBytesCheckPoint *float64 `json:"maxRecBytesCheckPoint,omitempty"` // 最大下行带宽检查结果 MaxRecBytesCheckRes *bool `json:"maxRecBytesCheckRes,omitempty"` // 最大响应时间 MaxRespTime *int32 `json:"maxRespTime,omitempty"` // 最大响应时间检查点 MaxRespTimeCheckPoint *float64 `json:"maxRespTimeCheckPoint,omitempty"` // 最大响应时间检查结果 MaxRespTimeCheckRes *bool `json:"maxRespTimeCheckRes,omitempty"` // 最大RPS MaxRps *int32 `json:"maxRps,omitempty"` // 最大上行带宽 MaxSentBytes *int32 `json:"maxSentBytes,omitempty"` // 最大上行带宽检查点 MaxSentBytesCheckPoint *float64 `json:"maxSentBytesCheckPoint,omitempty"` // 最大上行带宽检查结果 MaxSentBytesCheckRes *bool `json:"maxSentBytesCheckRes,omitempty"` // 最大成功率 MaxSuccessRate *float64 `json:"maxSuccessRate,omitempty"` // 最大成功率检查结果 MaxSuccessRateCheckRes *bool `json:"maxSuccessRateCheckRes,omitempty"` // 最大线程数 MaxThreadNum *float64 `json:"maxThreadNum,omitempty"` // 最大线程数检查点 MaxThreadNumCheckPoint *float64 `json:"maxThreadNumCheckPoint,omitempty"` // 最大线程数检查结果 MaxThreadNumCheckRes *bool `json:"maxThreadNumCheckRes,omitempty"` // 最大TPS MaxTps *float64 `json:"maxTps,omitempty"` // 最大TPS检查点 MaxTpsCheckPoint *float64 `json:"maxTpsCheckPoint,omitempty"` // 最大TPS检查结果 MaxTpsCheckRes *bool `json:"maxTpsCheckRes,omitempty"` // 最大事务响应时间 MaxTranRespTime *float64 `json:"maxTranRespTime,omitempty"` // 最大事务响应时间检查点 MaxTranRespTimeCheckPoint *float64 `json:"maxTranRespTimeCheckPoint,omitempty"` // 最大事务响应时间检查结果 MaxTranRespTimeCheckRes *bool `json:"maxTranRespTimeCheckRes,omitempty"` // 最大内存使用率 MemoryUsage *float64 `json:"memoryUsage,omitempty"` // 平均内存使用率 MemoryUsageAvg *float64 `json:"memoryUsageAvg,omitempty"` // 平均内存使用率检查点 MemoryUsageAvgCheckPoint *float64 `json:"memoryUsageAvgCheckPoint,omitempty"` // 平均内存使用率检查结果 MemoryUsageAvgCheckRes *bool `json:"memoryUsageAvgCheckRes,omitempty"` // 最大内存使用率检查点 MemoryUsageCheckPoint *float64 `json:"memoryUsageCheckPoint,omitempty"` // 最大内存使用率检查结果 MemoryUsageCheckRes *bool `json:"memoryUsageCheckRes,omitempty"` // 最小响应时间 Min *int32 `json:"min,omitempty"` // 流量谷值 MinNetworkTraffic *int32 `json:"minNetworkTraffic,omitempty"` // 压力模式 Mode *string `json:"mode,omitempty"` // 监控峰值时间 MonitorPeakTime *float64 `json:"monitorPeakTime,omitempty"` // 监控峰值时间检查点 MonitorPeakTimeCheckPoint *float64 `json:"monitorPeakTimeCheckPoint,omitempty"` // 监控峰值时间检查结果 MonitorPeakTimeCheckRes *bool `json:"monitorPeakTimeCheckRes,omitempty"` // 监控结果 MonitorResult *float64 `json:"monitorResult,omitempty"` // 监控结果检查点 MonitorResultCheckPoint *float64 `json:"monitorResultCheckPoint,omitempty"` // 监控结果检查结果 MonitorResultCheckRes *bool `json:"monitorResultCheckRes,omitempty"` // 用例/aw/事务名 Name *string `json:"name,omitempty"` // 网络最大接收数据速度 NetworkRead *float64 `json:"networkRead,omitempty"` // 网络平均接收数据速度 NetworkReadAvg *float64 `json:"networkReadAvg,omitempty"` // 网络平均接收数据速度检查点 NetworkReadAvgCheckPoint *float64 `json:"networkReadAvgCheckPoint,omitempty"` // 网络平均接收数据速度检查结果 NetworkReadAvgCheckRes *bool `json:"networkReadAvgCheckRes,omitempty"` // 网络最大接收数据速度检查点 NetworkReadCheckPoint *float64 `json:"networkReadCheckPoint,omitempty"` // 网络最大接收数据速度检查结果 NetworkReadCheckRes *bool `json:"networkReadCheckRes,omitempty"` // 网络最大写入数据速度 NetworkWrite *float64 `json:"networkWrite,omitempty"` // 网络平均写入数据速度 NetworkWriteAvg *float64 `json:"networkWriteAvg,omitempty"` // 网络平均写入数据速度检查点 NetworkWriteAvgCheckPoint *float64 `json:"networkWriteAvgCheckPoint,omitempty"` // 网络平均写入数据速度检查结果 NetworkWriteAvgCheckRes *bool `json:"networkWriteAvgCheckRes,omitempty"` // 网络最大写入数据速度检查点 NetworkWriteCheckPoint *float64 `json:"networkWriteCheckPoint,omitempty"` // 网络最大写入数据速度检查结果 NetworkWriteCheckRes *bool `json:"networkWriteCheckRes,omitempty"` // 峰值负载状态 PeakLoadStatus *float64 `json:"peakLoadStatus,omitempty"` // 峰值负载状态检查点 PeakLoadStatusCheckPoint *float64 `json:"peakLoadStatusCheckPoint,omitempty"` // 峰值负载状态检查结果 PeakLoadStatusCheckRes *bool `json:"peakLoadStatusCheckRes,omitempty"` PeakMetric *PeakMetric `json:"peakMetric,omitempty"` // 工程ID ProjectId *string `json:"projectId,omitempty"` // 协议 Protocols *[]string `json:"protocols,omitempty"` // 请求数 Requests *int32 `json:"requests,omitempty"` // 用例结果 Result *int32 `json:"result,omitempty"` // 用例结果日志 ResultLog *string `json:"resultLog,omitempty"` // 执行轮次 Round *int32 `json:"round,omitempty"` // 是否存储全量数据到CSS SaveAllData *bool `json:"saveAllData,omitempty"` // 服务ID ServiceId *string `json:"serviceId,omitempty"` // 阶段 Stage *int32 `json:"stage,omitempty"` // 开始时间 StartTime *string `json:"startTime,omitempty"` // 任务状态 Status *int32 `json:"status,omitempty"` StreamingMediaVo *StreamingMediaReport `json:"streamingMediaVo,omitempty"` // 成功数 SuccessCount *int32 `json:"successCount,omitempty"` // 成功率 SuccessRate *int32 `json:"successRate,omitempty"` // 成功率检查点 SuccessRateCheckPoint *float64 `json:"successRateCheckPoint,omitempty"` // 成功率检查结果 SuccessRateCheckRes *bool `json:"successRateCheckRes,omitempty"` // 1XX响应码数量 Sum1xx *int32 `json:"sum1xx,omitempty"` // 2XX响应码数量 Sum2xx *int32 `json:"sum2xx,omitempty"` // 3XX响应码数量 Sum3xx *int32 `json:"sum3xx,omitempty"` // 4XX响应码数量 Sum4xx *int32 `json:"sum4xx,omitempty"` // 5XX响应码数量 Sum5xx *int32 `json:"sum5xx,omitempty"` // 任务ID TaskId *string `json:"taskId,omitempty"` // 任务名 TaskName *string `json:"taskName,omitempty"` // 任务项目ID TaskProjectId *string `json:"taskProjectId,omitempty"` // 任务状态 TaskStatus *int32 `json:"taskStatus,omitempty"` // 用例基线uri TestCaseUri *string `json:"testCaseUri,omitempty"` // TP50 Tp50 *int32 `json:"tp50,omitempty"` // TP50检查点 Tp50CheckPoint *float64 `json:"tp50CheckPoint,omitempty"` // TP50检查结果 Tp50CheckRes *bool `json:"tp50CheckRes,omitempty"` // TP75 Tp75 *int32 `json:"tp75,omitempty"` // TP75检查点 Tp75CheckPoint *float64 `json:"tp75CheckPoint,omitempty"` // TP75检查结果 Tp75CheckRes *bool `json:"tp75CheckRes,omitempty"` // TP85 Tp85 *int32 `json:"tp85,omitempty"` // TP85检查点 Tp85CheckPoint *float64 `json:"tp85CheckPoint,omitempty"` // TP85检查结果 Tp85CheckRes *bool `json:"tp85CheckRes,omitempty"` // TP90 Tp90 *int32 `json:"tp90,omitempty"` // TP90检查点 Tp90CheckPoint *float64 `json:"tp90CheckPoint,omitempty"` // TP90检查结果 Tp90CheckRes *bool `json:"tp90CheckRes,omitempty"` // TP95 Tp95 *int32 `json:"tp95,omitempty"` // TP95检查点 Tp95CheckPoint *float64 `json:"tp95CheckPoint,omitempty"` // TP95检查结果 Tp95CheckRes *bool `json:"tp95CheckRes,omitempty"` // TP99 Tp99 *int32 `json:"tp99,omitempty"` // TP99.9 Tp999 *int32 `json:"tp999,omitempty"` // TP99.99 Tp9999 *int32 `json:"tp9999,omitempty"` // TP99.99检查点 Tp9999CheckPoint *float64 `json:"tp9999CheckPoint,omitempty"` // TP99.99检查结果 Tp9999CheckRes *bool `json:"tp9999CheckRes,omitempty"` // TP99.9检查点 Tp999CheckPoint *float64 `json:"tp999CheckPoint,omitempty"` // TP99.9检查结果 Tp999CheckRes *bool `json:"tp999CheckRes,omitempty"` // TP99检查点 Tp99CheckPoint *float64 `json:"tp99CheckPoint,omitempty"` // TP99检查结果 Tp99CheckRes *bool `json:"tp99CheckRes,omitempty"` // TPS Tps *float64 `json:"tps,omitempty"` // TPS检查点 TpsCheckPoint *float64 `json:"tpsCheckPoint,omitempty"` // TPS检查结果 TpsCheckRes *bool `json:"tpsCheckRes,omitempty"` // 平均TPS TranTPS *float64 `json:"tranTPS,omitempty"` // 平均TPS检查点 TranTPSCheckPoint *float64 `json:"tranTPSCheckPoint,omitempty"` // 平均TPS检查结果 TranTPSCheckRes *bool `json:"tranTPSCheckRes,omitempty"` // 事务ID TransactionId *string `json:"transactionId,omitempty"` // 事务成功数 TransactionSuccess *float64 `json:"transactionSuccess,omitempty"` // 事务数 Transactions *float64 `json:"transactions,omitempty"` // 事务数检查点 TransactionsCheckPoint *float64 `json:"transactionsCheckPoint,omitempty"` // 事务数检查结果 TransactionsCheckRes *bool `json:"transactionsCheckRes,omitempty"` // 更新时间 UpdateTime *string `json:"updateTime,omitempty"` // aw的http url Url *string `json:"url,omitempty"` // 反应实时vuser数据 UserConcur *int32 `json:"userConcur,omitempty"` // 分支uri VersionUri *string `json:"versionUri,omitempty"` }
func (CaseReportDetail) String ¶ added in v0.1.42
func (o CaseReportDetail) String() string
type CaseReportDetailResult ¶ added in v0.1.42
type CaseReportDetailResult struct { Detail *CaseReportDetails `json:"detail,omitempty"` // 错误信息 ErrMessage *string `json:"err_message,omitempty"` }
func (CaseReportDetailResult) String ¶ added in v0.1.42
func (o CaseReportDetailResult) String() string
type CaseReportDetails ¶ added in v0.1.42
type CaseReportDetails struct { // 用例下所有事务的基本性能数据信息 CustomTransactions *[]CaseReportDetail `json:"customTransactions,omitempty"` // 用例下所有aw的基本性能数据信息 DetailDatas *[]CaseReportDetail `json:"detailDatas,omitempty"` Performance *CaseReportDetail `json:"performance,omitempty"` }
func (CaseReportDetails) String ¶ added in v0.1.42
func (o CaseReportDetails) String() string
type CaseReportSummary ¶ added in v0.1.42
type CaseReportSummary struct { // 用例和aw信息视图 CaseAwInfoList *[]CaseAwInfo `json:"case_aw_info_list,omitempty"` // 错误信息 ErrMessage *string `json:"err_message,omitempty"` }
func (CaseReportSummary) String ¶ added in v0.1.42
func (o CaseReportSummary) String() string
type CodeMessageResq ¶
type CodeMessageResq struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` }
func (CodeMessageResq) String ¶
func (o CodeMessageResq) String() string
type Content ¶ added in v0.0.64
type Content struct { // content_type ContentType *int32 `json:"content_type,omitempty"` Content *ContentInfo `json:"content,omitempty"` }
type ContentHeader ¶ added in v0.0.64
type ContentHeader struct { // key Key *string `json:"key,omitempty"` // value Value *string `json:"value,omitempty"` }
func (ContentHeader) String ¶ added in v0.0.64
func (o ContentHeader) String() string
type ContentInfo ¶ added in v0.0.64
type ContentInfo struct { // body_type BodyType *int32 `json:"body_type,omitempty"` // bodys Bodys *[]interface{} `json:"bodys,omitempty"` // TCP/UDP协议返回数据长度 CheckEndLength *interface{} `json:"check_end_length,omitempty"` // TCP/UDP协议返回结束符 CheckEndStr *interface{} `json:"check_end_str,omitempty"` // TCP/UDP协议返回结束类型,1:返回数据长度;2:结束符 CheckEndType *interface{} `json:"check_end_type,omitempty"` // connect_timeout ConnectTimeout *int32 `json:"connect_timeout,omitempty"` // connect_type ConnectType *int32 `json:"connect_type,omitempty"` // headers Headers *[]ContentHeader `json:"headers,omitempty"` // http_version HttpVersion *string `json:"http_version,omitempty"` // method Method *string `json:"method,omitempty"` // name Name *string `json:"name,omitempty"` // protocol_type ProtocolType *int32 `json:"protocol_type,omitempty"` // return_timeout ReturnTimeout *int32 `json:"return_timeout,omitempty"` // return_timeout_param ReturnTimeoutParam *string `json:"return_timeout_param,omitempty"` // url Url *string `json:"url,omitempty"` // rtmp地址 RtmpUrl *string `json:"rtmp_url,omitempty"` // flv地址 FlvUrl *string `json:"flv_url,omitempty"` // 分辨率策略 BitrateType *int32 `json:"bitrate_type,omitempty"` // duration Duration *int32 `json:"duration,omitempty"` // HLS重试延迟时间 RetryDelay *int32 `json:"retry_delay,omitempty"` // HLS重试次数 RetryTime *int32 `json:"retry_time,omitempty"` }
func (ContentInfo) String ¶ added in v0.0.64
func (o ContentInfo) String() string
type Contents ¶ added in v0.0.64
type Contents struct { // 事务id,若不为0表示此卡片为事务;为0表示非事务 ContentId *int32 `json:"content_id,omitempty"` // content Content *[]Content `json:"content,omitempty"` // 排序索引标识 Index *int32 `json:"index,omitempty"` // selected_temp_name SelectedTempName *string `json:"selected_temp_name,omitempty"` // 数据(循环、条件控制器作用的数据) Data *interface{} `json:"data,omitempty"` // 类型,0:默认请求;1:数据指令;201:循环指令; 202:条件指令;301:集合点 DataType *int32 `json:"data_type,omitempty"` // 若类型为202:条件指令,该字段为条件配置 Conditions *interface{} `json:"conditions,omitempty"` // 是否禁用 IsDisabled *bool `json:"is_disabled,omitempty"` }
type CoreIndex ¶ added in v0.1.42
type CoreIndex struct { // 错误请求数 ErrorRequestCount *int32 `json:"error_request_count,omitempty"` // 最大RPS MaxRps *int32 `json:"max_rps,omitempty"` // 最大并发数 MaxUsers *int32 `json:"max_users,omitempty"` // 请求总数 RequestCount *int32 `json:"request_count,omitempty"` // 平均RPS Rps *float32 `json:"rps,omitempty"` // 成功数 SuccessCount *int32 `json:"success_count,omitempty"` // 成功率 SuccessRate *int32 `json:"success_rate,omitempty"` // 平均TPS TransTps *float32 `json:"trans_tps,omitempty"` ResponseTime *ResponseTimeInfo `json:"response_time,omitempty"` }
type CreaseCaseResponseJson ¶ added in v0.1.42
type CreaseCaseResponseJson struct { // 用例id TestCaseId *int32 `json:"test_case_id,omitempty"` }
CreaseCaseResponseJson 响应json
func (CreaseCaseResponseJson) String ¶ added in v0.1.42
func (o CreaseCaseResponseJson) String() string
type CreateCaseRequest ¶
type CreateCaseRequest struct {
Body *CreateCaseRequestBody `json:"body,omitempty"`
}
CreateCaseRequest Request Object
func (CreateCaseRequest) String ¶
func (o CreateCaseRequest) String() string
type CreateCaseRequestBody ¶
type CreateCaseRequestBody struct { // name Name string `json:"name"` // type(0-常规用例,1-视频流用例,2-预制用例) Type int32 `json:"type"` // task_id TaskId int32 `json:"task_id"` }
CreateCaseRequestBody CreateCaseRequestBody
func (CreateCaseRequestBody) String ¶
func (o CreateCaseRequestBody) String() string
type CreateCaseResponse ¶
type CreateCaseResponse struct { // code Code *string `json:"code,omitempty"` Json *CreateCaseResultJson `json:"json,omitempty"` // message Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
CreateCaseResponse Response Object
func (CreateCaseResponse) String ¶
func (o CreateCaseResponse) String() string
type CreateCaseResultJson ¶ added in v0.0.64
type CreateCaseResultJson struct { // task_case_id TaskCaseId *int32 `json:"task_case_id,omitempty"` }
func (CreateCaseResultJson) String ¶ added in v0.0.64
func (o CreateCaseResultJson) String() string
type CreateDirectoryRequest ¶ added in v0.1.42
type CreateDirectoryRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` Body *CreateDirectoryRequestBody `json:"body,omitempty"` }
CreateDirectoryRequest Request Object
func (CreateDirectoryRequest) String ¶ added in v0.1.42
func (o CreateDirectoryRequest) String() string
type CreateDirectoryRequestBody ¶ added in v0.1.42
type CreateDirectoryRequestBody struct { // 目录名称 Name string `json:"name"` }
func (CreateDirectoryRequestBody) String ¶ added in v0.1.42
func (o CreateDirectoryRequestBody) String() string
type CreateDirectoryResponse ¶ added in v0.1.42
type CreateDirectoryResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 目录id DirectoryId *int32 `json:"directory_id,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
CreateDirectoryResponse Response Object
func (CreateDirectoryResponse) String ¶ added in v0.1.42
func (o CreateDirectoryResponse) String() string
type CreateNewCaseRequest ¶ added in v0.1.42
type CreateNewCaseRequest struct {
Body *CaseInfoDetail `json:"body,omitempty"`
}
CreateNewCaseRequest Request Object
func (CreateNewCaseRequest) String ¶ added in v0.1.42
func (o CreateNewCaseRequest) String() string
type CreateNewCaseResponse ¶ added in v0.1.42
type CreateNewCaseResponse struct { // 响应码 Code *string `json:"code,omitempty"` Json *CreaseCaseResponseJson `json:"json,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
CreateNewCaseResponse Response Object
func (CreateNewCaseResponse) String ¶ added in v0.1.42
func (o CreateNewCaseResponse) String() string
type CreateNewTaskRequest ¶ added in v0.1.42
type CreateNewTaskRequest struct {
Body *NewTaskInfo `json:"body,omitempty"`
}
CreateNewTaskRequest Request Object
func (CreateNewTaskRequest) String ¶ added in v0.1.42
func (o CreateNewTaskRequest) String() string
type CreateNewTaskResponse ¶ added in v0.1.42
type CreateNewTaskResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 任务id TaskId *int32 `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateNewTaskResponse Response Object
func (CreateNewTaskResponse) String ¶ added in v0.1.42
func (o CreateNewTaskResponse) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct {
Body *CreateProjectRequestBody `json:"body,omitempty"`
}
CreateProjectRequest Request Object
func (CreateProjectRequest) String ¶
func (o CreateProjectRequest) String() string
type CreateProjectRequestBody ¶
type CreateProjectRequestBody struct { // name Name string `json:"name"` // description Description *string `json:"description,omitempty"` }
CreateProjectRequestBody CreateProjectRequestBody
func (CreateProjectRequestBody) String ¶
func (o CreateProjectRequestBody) String() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // project_id ProjectId *int32 `json:"project_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateProjectResponse Response Object
func (CreateProjectResponse) String ¶
func (o CreateProjectResponse) String() string
type CreateTaskRequest ¶
type CreateTaskRequest struct {
Body *CreateTaskRequestBody `json:"body,omitempty"`
}
CreateTaskRequest Request Object
func (CreateTaskRequest) String ¶
func (o CreateTaskRequest) String() string
type CreateTaskRequestBody ¶
type CreateTaskRequestBody struct { // name Name string `json:"name"` // project_id ProjectId int32 `json:"project_id"` // temps Temps *[]string `json:"temps,omitempty"` // operate_mode OperateMode *int32 `json:"operate_mode,omitempty"` // bench_concurrent BenchConcurrent *int32 `json:"bench_concurrent,omitempty"` }
CreateTaskRequestBody CreateTaskRequestBody
func (CreateTaskRequestBody) String ¶
func (o CreateTaskRequestBody) String() string
type CreateTaskResponse ¶
type CreateTaskResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // task_id TaskId *int32 `json:"task_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateTaskResponse Response Object
func (CreateTaskResponse) String ¶
func (o CreateTaskResponse) String() string
type CreateTempRequest ¶
type CreateTempRequest struct {
Body *CreateTempRequestBody `json:"body,omitempty"`
}
CreateTempRequest Request Object
func (CreateTempRequest) String ¶
func (o CreateTempRequest) String() string
type CreateTempRequestBody ¶
type CreateTempRequestBody struct { // project_id ProjectId int32 `json:"project_id"` // temp_type TempType int32 `json:"temp_type"` // name Name string `json:"name"` // description Description *string `json:"description,omitempty"` // contents Contents *[]interface{} `json:"contents,omitempty"` }
CreateTempRequestBody CreateTempRequestBody
func (CreateTempRequestBody) String ¶
func (o CreateTempRequestBody) String() string
type CreateTempResponse ¶
type CreateTempResponse struct { // code Code *string `json:"code,omitempty"` // tempId TempId *int32 `json:"tempId,omitempty"` // message Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
CreateTempResponse Response Object
func (CreateTempResponse) String ¶
func (o CreateTempResponse) String() string
type CreateVariableRequest ¶
type CreateVariableRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` Body *[]CreateVariableRequestBody `json:"body,omitempty"` }
CreateVariableRequest Request Object
func (CreateVariableRequest) String ¶
func (o CreateVariableRequest) String() string
type CreateVariableRequestBody ¶
type CreateVariableRequestBody struct { // id Id int32 `json:"id"` // name Name string `json:"name"` // variable_type VariableType int32 `json:"variable_type"` // variable Variable []interface{} `json:"variable"` // 是否被引用 IsQuoted bool `json:"is_quoted"` }
CreateVariableRequestBody CreateVariableRequestBody
func (CreateVariableRequestBody) String ¶
func (o CreateVariableRequestBody) String() string
type CreateVariableResponse ¶
type CreateVariableResponse struct { // code Code *string `json:"code,omitempty"` Json *CreateVariableResultJson `json:"json,omitempty"` // message Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
CreateVariableResponse Response Object
func (CreateVariableResponse) String ¶
func (o CreateVariableResponse) String() string
type CreateVariableResultJson ¶ added in v0.0.64
type CreateVariableResultJson struct { // variable_id VariableId *int32 `json:"variable_id,omitempty"` }
func (CreateVariableResultJson) String ¶ added in v0.0.64
func (o CreateVariableResultJson) String() string
type DebugCaseRequest ¶
type DebugCaseRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` // 任务id TaskId int32 `json:"task_id"` // 用例id CaseId int32 `json:"case_id"` Body *DebugCaseRequestBody `json:"body,omitempty"` }
DebugCaseRequest Request Object
func (DebugCaseRequest) String ¶
func (o DebugCaseRequest) String() string
type DebugCaseRequestBody ¶
type DebugCaseRequestBody struct { // status Status int32 `json:"status"` // cluster_id ClusterId int32 `json:"cluster_id"` // cluster_type ClusterType string `json:"cluster_type"` // without_package WithoutPackage int32 `json:"without_package"` }
DebugCaseRequestBody DebugCaseRequestBody
func (DebugCaseRequestBody) String ¶
func (o DebugCaseRequestBody) String() string
type DebugCaseResponse ¶
type DebugCaseResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // extend Extend *string `json:"extend,omitempty"` // result Result *[]DebugCaseResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
DebugCaseResponse Response Object
func (DebugCaseResponse) String ¶
func (o DebugCaseResponse) String() string
type DebugCaseResult ¶ added in v0.0.64
type DebugCaseResult struct { // body Body *string `json:"body,omitempty"` // errorReason ErrorReason *string `json:"errorReason,omitempty"` Header *DebugCaseResultHeader `json:"header,omitempty"` // name Name *string `json:"name,omitempty"` // responseTime ResponseTime *int32 `json:"responseTime,omitempty"` // result Result *int32 `json:"result,omitempty"` // returnBody ReturnBody *string `json:"returnBody,omitempty"` ReturnHeader *DebugCaseReturnHeader `json:"returnHeader,omitempty"` // statusCode StatusCode *string `json:"statusCode,omitempty"` // url Url *string `json:"url,omitempty"` }
func (DebugCaseResult) String ¶ added in v0.0.64
func (o DebugCaseResult) String() string
type DebugCaseResultHeader ¶ added in v0.0.64
type DebugCaseResultHeader struct { // Connection Connection *string `json:"Connection,omitempty"` // Content-Type ContentType *string `json:"Content-Type,omitempty"` // Host Host *string `json:"Host,omitempty"` }
func (DebugCaseResultHeader) String ¶ added in v0.0.64
func (o DebugCaseResultHeader) String() string
type DebugCaseReturnHeader ¶ added in v0.0.64
type DebugCaseReturnHeader struct { // Connection Connection *string `json:"Connection,omitempty"` // Content-Length ContentLength *string `json:"Content-Length,omitempty"` // Content-Type ContentType *string `json:"Content-Type,omitempty"` // Date Date *string `json:"Date,omitempty"` // Vary Vary *string `json:"Vary,omitempty"` }
func (DebugCaseReturnHeader) String ¶ added in v0.0.64
func (o DebugCaseReturnHeader) String() string
type DeleteCaseRequest ¶
type DeleteCaseRequest struct { // 用例id CaseId int32 `json:"case_id"` }
DeleteCaseRequest Request Object
func (DeleteCaseRequest) String ¶
func (o DeleteCaseRequest) String() string
type DeleteCaseResponse ¶
type DeleteCaseResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteCaseResponse Response Object
func (DeleteCaseResponse) String ¶
func (o DeleteCaseResponse) String() string
type DeleteDirectoryRequest ¶ added in v0.1.42
type DeleteDirectoryRequest struct { // 目录id DirectoryId int32 `json:"directory_id"` // 测试工程id TestSuiteId int32 `json:"test_suite_id"` }
DeleteDirectoryRequest Request Object
func (DeleteDirectoryRequest) String ¶ added in v0.1.42
func (o DeleteDirectoryRequest) String() string
type DeleteDirectoryResponse ¶ added in v0.1.42
type DeleteDirectoryResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteDirectoryResponse Response Object
func (DeleteDirectoryResponse) String ¶ added in v0.1.42
func (o DeleteDirectoryResponse) String() string
type DeleteNewCaseRequest ¶ added in v0.1.42
type DeleteNewCaseRequest struct { // 用例id CaseId int32 `json:"case_id"` }
DeleteNewCaseRequest Request Object
func (DeleteNewCaseRequest) String ¶ added in v0.1.42
func (o DeleteNewCaseRequest) String() string
type DeleteNewCaseResponse ¶ added in v0.1.42
type DeleteNewCaseResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteNewCaseResponse Response Object
func (DeleteNewCaseResponse) String ¶ added in v0.1.42
func (o DeleteNewCaseResponse) String() string
type DeleteNewTaskRequest ¶ added in v0.1.42
type DeleteNewTaskRequest struct { // 任务id TaskId int32 `json:"task_id"` }
DeleteNewTaskRequest Request Object
func (DeleteNewTaskRequest) String ¶ added in v0.1.42
func (o DeleteNewTaskRequest) String() string
type DeleteNewTaskResponse ¶ added in v0.1.42
type DeleteNewTaskResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteNewTaskResponse Response Object
func (DeleteNewTaskResponse) String ¶ added in v0.1.42
func (o DeleteNewTaskResponse) String() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` }
DeleteProjectRequest Request Object
func (DeleteProjectRequest) String ¶
func (o DeleteProjectRequest) String() string
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteProjectResponse Response Object
func (DeleteProjectResponse) String ¶
func (o DeleteProjectResponse) String() string
type DeleteTaskRequest ¶
type DeleteTaskRequest struct { // 任务id TaskId int32 `json:"task_id"` }
DeleteTaskRequest Request Object
func (DeleteTaskRequest) String ¶
func (o DeleteTaskRequest) String() string
type DeleteTaskResponse ¶
type DeleteTaskResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTaskResponse Response Object
func (DeleteTaskResponse) String ¶
func (o DeleteTaskResponse) String() string
type DeleteTempRequest ¶
type DeleteTempRequest struct { // 事务id TemplateId int32 `json:"template_id"` }
DeleteTempRequest Request Object
func (DeleteTempRequest) String ¶
func (o DeleteTempRequest) String() string
type DeleteTempResponse ¶
type DeleteTempResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
DeleteTempResponse Response Object
func (DeleteTempResponse) String ¶
func (o DeleteTempResponse) String() string
type DeleteVariableRequest ¶ added in v0.1.2
type DeleteVariableRequest struct { // 全局变量id VariableId int32 `json:"variable_id"` // 工程id TestSuiteId int32 `json:"test_suite_id"` }
DeleteVariableRequest Request Object
func (DeleteVariableRequest) String ¶ added in v0.1.2
func (o DeleteVariableRequest) String() string
type DeleteVariableResponse ¶ added in v0.1.2
type DeleteVariableResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteVariableResponse Response Object
func (DeleteVariableResponse) String ¶ added in v0.1.2
func (o DeleteVariableResponse) String() string
type DetailDataInfo ¶ added in v0.0.65
type DetailDataInfo struct { // 平均响应时间 AverageRespTime *float64 `json:"averageRespTime,omitempty"` // 平均接收字节数 AvgRecBytes *float64 `json:"avgRecBytes,omitempty"` // 平均发送字节数 AvgSentBytes *float64 `json:"avgSentBytes,omitempty"` // 事务平均响应时间 AvgTranRespTime *float64 `json:"avgTranRespTime,omitempty"` // 用例Uri CaseUri *string `json:"caseUri,omitempty"` // 创建时间 CreateTime *string `json:"createTime,omitempty"` // 最大并发数 CurrentThreadNum *float64 `json:"currentThreadNum,omitempty"` // 详情id DetailId *string `json:"detailId,omitempty"` // 结束时间 EndTime *string `json:"endTime,omitempty"` // 失败请求数 ErrorCount *float64 `json:"errorCount,omitempty"` // ERROR级别的事件个数 ErrorEventsCount *float64 `json:"errorEventsCount,omitempty"` // 断言失败 FailedAssert *float64 `json:"failedAssert,omitempty"` // 其他失败 FailedOthers *float64 `json:"failedOthers,omitempty"` // 解析失败 FailedParsed *float64 `json:"failedParsed,omitempty"` // 连接被拒 FailedRefused *float64 `json:"failedRefused,omitempty"` // 超时失败 FailedTimeout *float64 `json:"failedTimeout,omitempty"` // id Id *string `json:"id,omitempty"` // 是否aw IsAW *bool `json:"isAW,omitempty"` // 最大响应时间 Max *float64 `json:"max,omitempty"` // 最大接收字节数 MaxRecBytes *float64 `json:"maxRecBytes,omitempty"` // 探底最大响应时间 MaxRespTime *float64 `json:"maxRespTime,omitempty"` // 最大发送字节数 MaxSentBytes *float64 `json:"maxSentBytes,omitempty"` // 事务最大响应时间 MaxTranRespTime *float64 `json:"maxTranRespTime,omitempty"` // 最小响应时间 Min *float64 `json:"min,omitempty"` // 最小带宽 MinNetworkTraffic *float64 `json:"minNetworkTraffic,omitempty"` // 名字 Name *string `json:"name,omitempty"` // 请求数 Requests *float64 `json:"requests,omitempty"` // aw执行结果 Result *float64 `json:"result,omitempty"` // 开始时间 StartTime *string `json:"startTime,omitempty"` // 用例状态 Status *float64 `json:"status,omitempty"` // 成功请求数 SuccessCount *float64 `json:"successCount,omitempty"` // 成功率 SuccessRate *float64 `json:"successRate,omitempty"` // 1xx请求数 Sum1xx *float64 `json:"sum1xx,omitempty"` // 2xx请求数 Sum2xx *float64 `json:"sum2xx,omitempty"` // 3xx请求数 Sum3xx *float64 `json:"sum3xx,omitempty"` // 4xx请求数 Sum4xx *float64 `json:"sum4xx,omitempty"` // 5xx请求数 Sum5xx *float64 `json:"sum5xx,omitempty"` // 任务id_轮次 TaskId *string `json:"taskId,omitempty"` // 任务id TaskProjectId *string `json:"taskProjectId,omitempty"` // 任务状态 TaskStatus *float64 `json:"taskStatus,omitempty"` // 用例uri TestCaseUri *string `json:"testCaseUri,omitempty"` // tp50 Tp50 *float64 `json:"tp50,omitempty"` // tp75 Tp75 *float64 `json:"tp75,omitempty"` // tp90 Tp90 *float64 `json:"tp90,omitempty"` // tp95 Tp95 *float64 `json:"tp95,omitempty"` // tp99 Tp99 *float64 `json:"tp99,omitempty"` // tps Tps *float64 `json:"tps,omitempty"` // 事务tps TranTPS *float64 `json:"tranTPS,omitempty"` // 事务id TransactionId *string `json:"transactionId,omitempty"` // 事务成功率 TransactionSuccess *float64 `json:"transactionSuccess,omitempty"` // 事务成功率 TransactionalSuccessRate *float64 `json:"transactionalSuccessRate,omitempty"` // 自定义事务tps TransactionalTps *float64 `json:"transactionalTps,omitempty"` // 自定义事务成功率 TransactionalTpsSuccess *float64 `json:"transactionalTpsSuccess,omitempty"` // 事务数 Transactions *float64 `json:"transactions,omitempty"` // 更新时间 UpdateTime *string `json:"updateTime,omitempty"` // 分钟*并发数 Vum *float64 `json:"vum,omitempty"` // 平均带宽 AvgNetworkTraffic *float64 `json:"avgNetworkTraffic,omitempty"` // 最大带宽 MaxNetworkTraffic *float64 `json:"maxNetworkTraffic,omitempty"` }
func (DetailDataInfo) String ¶ added in v0.0.65
func (o DetailDataInfo) String() string
type DetailItem ¶ added in v0.1.42
type DetailItem struct { // 数据库中dc_case_aw表中的主键ID CaseAwId *string `json:"caseAwId,omitempty"` // 数据类型(用例/aw/事务) DatumType *int32 `json:"datumType,omitempty"` // 用例/aw/事务名 Name *string `json:"name,omitempty"` // 事务ID TransactionId *string `json:"transactionId,omitempty"` // aw列表 AwList *[]DetailItem `json:"awList,omitempty"` }
func (DetailItem) String ¶ added in v0.1.42
func (o DetailItem) String() string
type ExceptionResponseSum ¶ added in v0.1.42
type ExceptionResponseSum struct { // 断言失败数 FailedAssert *int32 `json:"failed_assert,omitempty"` // 其他错误失败数 FailedOthers *int32 `json:"failed_others,omitempty"` // 解析失败数 FailedParsed *int32 `json:"failed_parsed,omitempty"` // 连接被拒绝失败数 FailedRefused *int32 `json:"failed_refused,omitempty"` // 响应超时失败数 FailedTimeout *int32 `json:"failed_timeout,omitempty"` }
func (ExceptionResponseSum) String ¶ added in v0.1.42
func (o ExceptionResponseSum) String() string
type HistoryRunInfo ¶ added in v0.0.64
type HistoryRunInfo struct { // name Name *string `json:"name,omitempty"` // run_id RunId *float64 `json:"run_id,omitempty"` // run_type RunType *float64 `json:"run_type,omitempty"` // start_time StartTime *string `json:"start_time,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // continue_time ContinueTime *float64 `json:"continue_time,omitempty"` // temp_names TempNames *[]TempName `json:"temp_names,omitempty"` // 任务间用例是否并行执行 Parallel *bool `json:"parallel,omitempty"` }
func (HistoryRunInfo) String ¶ added in v0.0.64
func (o HistoryRunInfo) String() string
type ListProjectSetsRequest ¶
type ListProjectSetsRequest struct { // 查询偏移 Offset *int32 `json:"offset,omitempty"` // 查询数量 Limit *int32 `json:"limit,omitempty"` }
ListProjectSetsRequest 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:"-"` }
ListProjectSetsResponse Response Object
func (ListProjectSetsResponse) String ¶
func (o ListProjectSetsResponse) String() string
type ListProjectTestCaseRequest ¶ added in v0.1.2
type ListProjectTestCaseRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` }
ListProjectTestCaseRequest Request Object
func (ListProjectTestCaseRequest) String ¶ added in v0.1.2
func (o ListProjectTestCaseRequest) String() string
type ListProjectTestCaseResponse ¶ added in v0.1.2
type ListProjectTestCaseResponse struct { // 状态码 Code *string `json:"code,omitempty"` // 描述 Message *string `json:"message,omitempty"` // 用例集 Directory *[]ProjectDirectory `json:"directory,omitempty"` HttpStatusCode int `json:"-"` }
ListProjectTestCaseResponse Response Object
func (ListProjectTestCaseResponse) String ¶ added in v0.1.2
func (o ListProjectTestCaseResponse) String() string
type ListTaskCasesRequest ¶ added in v0.1.42
type ListTaskCasesRequest struct { // 工程id TestSuitId int32 `json:"test_suit_id"` // 任务id TaskId int32 `json:"task_id"` }
ListTaskCasesRequest Request Object
func (ListTaskCasesRequest) String ¶ added in v0.1.42
func (o ListTaskCasesRequest) String() string
type ListTaskCasesResponse ¶ added in v0.1.42
type ListTaskCasesResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 用例列表 TestCases *[]TestCaseBriefInfo `json:"test_cases,omitempty"` HttpStatusCode int `json:"-"` }
ListTaskCasesResponse Response Object
func (ListTaskCasesResponse) String ¶ added in v0.1.42
func (o ListTaskCasesResponse) String() string
type ListVariablesRequest ¶
type ListVariablesRequest struct { // 变量类型 VariableType int32 `json:"variable_type"` // 测试工程id TestSuiteId int32 `json:"test_suite_id"` }
ListVariablesRequest Request Object
func (ListVariablesRequest) String ¶
func (o ListVariablesRequest) String() string
type ListVariablesResponse ¶
type ListVariablesResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // variable_list VariableList *[]VariableDetail `json:"variable_list,omitempty"` HttpStatusCode int `json:"-"` }
ListVariablesResponse Response Object
func (ListVariablesResponse) String ¶
func (o ListVariablesResponse) String() string
type LogicController ¶ added in v0.0.64
type LogicController struct { // for_loop_params ForLoopParams *string `json:"for_loop_params,omitempty"` // condition Condition *string `json:"condition,omitempty"` }
func (LogicController) String ¶ added in v0.0.64
func (o LogicController) String() string
type MockRuleConfig ¶ added in v0.1.40
type MockRuleConfig struct { // 服务类型(当前只支持http) ServiceType *string `json:"service_type,omitempty"` // 请求地址 RequestUrl *string `json:"request_url,omitempty"` // 请求方式(GET/POST/PUT/DELET/PATCH) RequestMethod *string `json:"request_method,omitempty"` // 重定向地址 RedirectUrl *string `json:"redirect_url,omitempty"` // mock策略(当前只支持redirect) MockStrategy *string `json:"mock_strategy,omitempty"` // 是否启用 Enable *bool `json:"enable,omitempty"` // 规则名称 Name *string `json:"name,omitempty"` // 项目id ProjectId *string `json:"project_id,omitempty"` // 规则id Id *int32 `json:"id,omitempty"` }
MockRuleConfig 全链路压测探针Mock规则配置
func (MockRuleConfig) String ¶ added in v0.1.40
func (o MockRuleConfig) String() string
type NetworkInfo ¶ added in v0.0.64
type NetworkInfo struct { // network_type NetworkType string `json:"network_type"` }
func (NetworkInfo) String ¶ added in v0.0.64
func (o NetworkInfo) String() string
type NetworkTraffic ¶ added in v0.1.42
type NetworkTraffic struct { // 平均网络流量 AvgNetworkTraffic *float32 `json:"avg_network_traffic,omitempty"` // 最大下行带宽 MaxDownStream *int32 `json:"max_down_stream,omitempty"` // 最大网络流量(流量峰值) MaxNetworkTraffic *int32 `json:"max_network_traffic,omitempty"` // 最大上行带宽 MaxUpstream *int32 `json:"max_upstream,omitempty"` // 最小网络流量 MinNetworkTraffic *int32 `json:"min_network_traffic,omitempty"` }
func (NetworkTraffic) String ¶ added in v0.1.42
func (o NetworkTraffic) String() string
type NewTaskInfo ¶ added in v0.1.42
type NewTaskInfo struct { // 任务名称 Name string `json:"name"` // 是否并行 Parallel bool `json:"parallel"` // 是否支持全链路压测 EnableFullLink *bool `json:"enable_full_link,omitempty"` // 工程id ProjectId int32 `json:"project_id"` // 任务压测模式,0-时长模式;1-次数模式;2-混合模式;此处是兼容老版本遗留字段,填固定值2 OperateMode int32 `json:"operate_mode"` // 关联用例id列表 CaseIdList []int32 `json:"case_id_list"` }
func (NewTaskInfo) String ¶ added in v0.1.42
func (o NewTaskInfo) String() string
type PeakMetric ¶ added in v0.1.42
type PeakMetric struct { // vusers Vuser *int32 `json:"vuser,omitempty"` // tps Rps *float64 `json:"rps,omitempty"` // avgRT AvgRT *float64 `json:"avgRT,omitempty"` // 成功率 SuccessRate *float64 `json:"successRate,omitempty"` // 峰值时间 PeakTime *string `json:"peakTime,omitempty"` }
func (PeakMetric) String ¶ added in v0.1.42
func (o PeakMetric) String() string
type PerformanceInfo ¶ added in v0.0.78
type PerformanceInfo struct { // 平均响应时间 AverageRespTime *float64 `json:"averageRespTime,omitempty"` // 平均带宽 AvgNetworkTraffic *float64 `json:"avgNetworkTraffic,omitempty"` // 平均下行带宽 AvgRecBytes *float64 `json:"avgRecBytes,omitempty"` // 平均上行带宽 AvgSentBytes *float64 `json:"avgSentBytes,omitempty"` // 事务平均响应时间 AvgTranRespTime *float64 `json:"avgTranRespTime,omitempty"` // 用例Uri CaseUri *string `json:"caseUri,omitempty"` // 创建时间 CreateTime *string `json:"createTime,omitempty"` // 最大并发数 CurrentThreadNum *float64 `json:"currentThreadNum,omitempty"` // 详情id DetailId *string `json:"detailId,omitempty"` // 结束时间 EndTime *string `json:"endTime,omitempty"` // 失败请求数 ErrorCount *float64 `json:"errorCount,omitempty"` // ERROR级别的事件个数 ErrorEventsCount *float64 `json:"errorEventsCount,omitempty"` // 断言失败 FailedAssert *float64 `json:"failedAssert,omitempty"` // 其他失败 FailedOthers *float64 `json:"failedOthers,omitempty"` // 解析失败 FailedParsed *float64 `json:"failedParsed,omitempty"` // 连接被拒 FailedRefused *float64 `json:"failedRefused,omitempty"` // 超时失败 FailedTimeout *float64 `json:"failedTimeout,omitempty"` // id Id *string `json:"id,omitempty"` // 是否aw IsAW *bool `json:"isAW,omitempty"` // 最大响应时间 Max *float64 `json:"max,omitempty"` // 最大带宽 MaxNetworkTraffic *float64 `json:"maxNetworkTraffic,omitempty"` // 最大接收字节数 MaxRecBytes *float64 `json:"maxRecBytes,omitempty"` // 探底结果:响应时间 MaxRespTime *float64 `json:"maxRespTime,omitempty"` // 最大发送带宽 MaxSentBytes *float64 `json:"maxSentBytes,omitempty"` // 事务最大响应时间 MaxTranRespTime *float64 `json:"maxTranRespTime,omitempty"` // 最小响应时间 Min *float64 `json:"min,omitempty"` // 最小带宽 MinNetworkTraffic *float64 `json:"minNetworkTraffic,omitempty"` // 名称 Name *string `json:"name,omitempty"` // 请求数 Requests *float64 `json:"requests,omitempty"` // 用例/aw的执行结果 Result *float64 `json:"result,omitempty"` // 开始时间 StartTime *string `json:"startTime,omitempty"` // 用例状态 Status *float64 `json:"status,omitempty"` // 成功数 SuccessCount *float64 `json:"successCount,omitempty"` // 成功率 SuccessRate *float64 `json:"successRate,omitempty"` // 1xx响应码计数 Sum1xx *float64 `json:"sum1xx,omitempty"` // 2xx响应码计数 Sum2xx *float64 `json:"sum2xx,omitempty"` // 3xx响应码计数 Sum3xx *float64 `json:"sum3xx,omitempty"` // 4xx响应码计数 Sum4xx *float64 `json:"sum4xx,omitempty"` // 5xx响应码计数 Sum5xx *float64 `json:"sum5xx,omitempty"` // 任务id_轮次 TaskId *string `json:"taskId,omitempty"` // 任务id TaskProjectId *string `json:"taskProjectId,omitempty"` // 任务状态 TaskStatus *float64 `json:"taskStatus,omitempty"` // 用例uri TestCaseUri *string `json:"testCaseUri,omitempty"` // tp50 Tp50 *float64 `json:"tp50,omitempty"` // tp75 Tp75 *float64 `json:"tp75,omitempty"` // tp90 Tp90 *float64 `json:"tp90,omitempty"` // tp95 Tp95 *float64 `json:"tp95,omitempty"` // tp99 Tp99 *float64 `json:"tp99,omitempty"` // tp999 Tp999 *float64 `json:"tp999,omitempty"` // tp9999 Tp9999 *float64 `json:"tp9999,omitempty"` // tps Tps *float64 `json:"tps,omitempty"` // 事务TPS TranTPS *float64 `json:"tranTPS,omitempty"` // 事务id TransactionId *string `json:"transactionId,omitempty"` // 成功事务数 TransactionSuccess *float64 `json:"transactionSuccess,omitempty"` // 事务成功率 TransactionalSuccessRate *float64 `json:"transactionalSuccessRate,omitempty"` // 自定义事务tps TransactionalTps *float64 `json:"transactionalTps,omitempty"` // 自定义事务成功率 TransactionalTpsSuccess *float64 `json:"transactionalTpsSuccess,omitempty"` // 事务数 Transactions *float64 `json:"transactions,omitempty"` // 更新时间 UpdateTime *string `json:"updateTime,omitempty"` // 分钟数*并发数 Vum *float64 `json:"vum,omitempty"` }
func (PerformanceInfo) String ¶ added in v0.0.78
func (o PerformanceInfo) String() string
type Project ¶ added in v0.0.64
type Project struct { // create_time CreateTime *string `json:"create_time,omitempty"` // description Description *string `json:"description,omitempty"` // group Group *string `json:"group,omitempty"` // id Id *int32 `json:"id,omitempty"` // name Name *string `json:"name,omitempty"` // source Source *int32 `json:"source,omitempty"` // update_time UpdateTime *string `json:"update_time,omitempty"` }
type ProjectDirectory ¶ added in v0.1.2
type ProjectDirectory struct { // id Id int32 `json:"id"` // 名称 Name string `json:"name"` // 状态(0:已删除,1:启用,2:停用) Status int32 `json:"status"` // 创建时间 CreateTime string `json:"create_time"` // 更新时间 UpdateTime string `json:"update_time"` // 父id ParentId int32 `json:"parent_id"` // 类型(1:目录,2:用例) Type int32 `json:"type"` }
ProjectDirectory 用例列表详情
func (ProjectDirectory) String ¶ added in v0.1.2
func (o ProjectDirectory) String() string
type ProjectResp ¶
type ProjectResp struct { // 状态码 Code *string `json:"code,omitempty"` // 描述 Message *string `json:"message,omitempty"` }
func (ProjectResp) String ¶
func (o ProjectResp) String() string
type ProjectsSet ¶
type ProjectsSet struct { // 创建时间 CreateTime *sdktime.SdkTime `json:"CreateTime,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"UpdateTime,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 工程id Id *int32 `json:"id,omitempty"` // 工程名字 Name *string `json:"name,omitempty"` // 工程来源 0:PerfTest,2:CloudTest Source *int32 `json:"source,omitempty"` // 外部参数 ExternalParams *interface{} `json:"external_params,omitempty"` // 文件变量 VariablesNoFile *[]string `json:"variables_no_file,omitempty"` }
func (ProjectsSet) String ¶
func (o ProjectsSet) String() string
type RelatedTempRunningData ¶ added in v0.0.64
type RelatedTempRunningData struct { // task_run_info_id TaskRunInfoId *int32 `json:"task_run_info_id,omitempty"` // related_temp_running_id RelatedTempRunningId *int32 `json:"related_temp_running_id,omitempty"` // temp_id TempId *int32 `json:"temp_id,omitempty"` // temp_name TempName *string `json:"temp_name,omitempty"` // related_temp_running_data RelatedTempRunningData *[]TempRunningData `json:"related_temp_running_data,omitempty"` }
func (RelatedTempRunningData) String ¶ added in v0.0.64
func (o RelatedTempRunningData) String() string
type ReportInfo ¶ added in v0.0.64
type ReportInfo struct { Brokens *ReportbrokensInfo `json:"brokens,omitempty"` Details *ReportdetailsInfo `json:"details,omitempty"` Outline *ReportoutlineInfo `json:"outline,omitempty"` // 响应时间分布 Rtproportion *string `json:"rtproportion,omitempty"` TaskInfo *ReportTaskInfo `json:"taskInfo,omitempty"` // 响应时间分布 RespTimeRange *interface{} `json:"respTimeRange,omitempty"` }
func (ReportInfo) String ¶ added in v0.0.64
func (o ReportInfo) String() string
type ReportOutline ¶ added in v0.1.42
type ReportOutline struct { CoreIndex *CoreIndex `json:"core_index,omitempty"` ExceptionResponseSum *ExceptionResponseSum `json:"exception_response_sum,omitempty"` NetworkTraffic *NetworkTraffic `json:"network_traffic,omitempty"` ResponseCodeSum *ResponseCodeSum `json:"response_code_sum,omitempty"` TaskBasicAttribute *TaskBasicAttribute `json:"task_basic_attribute,omitempty"` TaskBasicExecutionData *TaskBasicExecutionData `json:"task_basic_execution_data,omitempty"` // 响应码详细信息 ResponseCodeDetails *[]interface{} `json:"response_code_details,omitempty"` // SLA数据 SlaStatistic *interface{} `json:"sla_statistic,omitempty"` // 流媒体相关数据 StreamingMedia *interface{} `json:"streaming_media,omitempty"` }
func (ReportOutline) String ¶ added in v0.1.42
func (o ReportOutline) String() string
type ReportOutlineResult ¶ added in v0.1.42
type ReportOutlineResult struct { // 错误信息 ErrMessage *interface{} `json:"err_message,omitempty"` Outline *ReportOutline `json:"outline,omitempty"` }
func (ReportOutlineResult) String ¶ added in v0.1.42
func (o ReportOutlineResult) String() string
type ReportTaskInfo ¶ added in v0.0.64
type ReportTaskInfo struct { // 分钟*并发数 Vum *float64 `json:"vum,omitempty"` }
ReportTaskInfo 报告任务信息
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"` // aw数据 DetailDatas *[]DetailDataInfo `json:"detailDatas,omitempty"` Performance *PerformanceInfo `json:"performance,omitempty"` }
func (ReportdetailItemInfo) String ¶ added in v0.0.65
func (o ReportdetailItemInfo) String() string
type ReportdetailsInfo ¶ added in v0.0.64
type ReportdetailsInfo struct { // 表格数据 Data *[]ReportdetailItemInfo `json:"data,omitempty"` // 页码 PageIndex *int32 `json:"pageIndex,omitempty"` // 每页大小 PageSize *int32 `json:"pageSize,omitempty"` // 总记录数 Total *int32 `json:"total,omitempty"` }
func (ReportdetailsInfo) String ¶ added in v0.0.64
func (o ReportdetailsInfo) String() string
type ReportoutlineInfo ¶ added in v0.0.64
type ReportoutlineInfo struct { // 平均响应时间 AvgResponseTime *float64 `json:"avgResponseTime,omitempty"` // 分支id BranchId *string `json:"branchId,omitempty"` // 分支名称 BranchName *string `json:"branchName,omitempty"` // 用例重试次数 CaseRetry *float64 `json:"caseRetry,omitempty"` // 已完成的用例数 CompleteNum *float64 `json:"completeNum,omitempty"` // 持续时间 Duration *float64 `json:"duration,omitempty"` // 结束时间 EndTime *string `json:"endTime,omitempty"` // 已执行用例数 ExecutedNum *float64 `json:"executedNum,omitempty"` // 迭代id IterationUri *string `json:"iterationUri,omitempty"` // kpi用例数 KpiCaseCount *float64 `json:"kpiCaseCount,omitempty"` // kpi用例执行次数 KpiCaseExecuteCount *float64 `json:"kpiCaseExecuteCount,omitempty"` // kpi用例通过次数 KpiCasePassCount *float64 `json:"kpiCasePassCount,omitempty"` // 最大并发数 MaxUsers *float64 `json:"maxUsers,omitempty"` // 结果为pass的用例数 PassNum *float64 `json:"passNum,omitempty"` // 阶段id Stage *float64 `json:"stage,omitempty"` // 阶段名称 StageName *string `json:"stageName,omitempty"` // 开始时间 StartTime *string `json:"startTime,omitempty"` // 成功率 SuccessRate *float64 `json:"successRate,omitempty"` // 任务状态 TaskStatus *float64 `json:"taskStatus,omitempty"` // 总用例数 TotalNum *float64 `json:"totalNum,omitempty"` // 性能tps指标 Tps *float64 `json:"tps,omitempty"` // 分支uri VersionUri *string `json:"versionUri,omitempty"` // 工程id ProjectId *string `json:"projectId,omitempty"` // 服务id ServiceId *string `json:"serviceId,omitempty"` // 内部版本字段,已弃用,待删除 ProgressState *string `json:"progressState,omitempty"` // 报告执行人 CreateBy *string `json:"createBy,omitempty"` // 内部版本字段,已弃用,待删除 StatusValue *string `json:"statusValue,omitempty"` }
func (ReportoutlineInfo) String ¶ added in v0.0.64
func (o ReportoutlineInfo) String() string
type RespcodeBrokens ¶ added in v0.0.64
type RespcodeBrokens struct { // 校验失败 CheckPointFailed *[]float64 `json:"checkPointFailed,omitempty"` // 异常请求 Error *[]float64 `json:"error,omitempty"` // 其他失败 OthersFailed *[]float64 `json:"othersFailed,omitempty"` // 解析失败 ParsedFailed *[]float64 `json:"parsedFailed,omitempty"` // 连接被拒 RefusedFailed *[]float64 `json:"refusedFailed,omitempty"` // 成功请求 Success *[]float64 `json:"success,omitempty"` // 超时失败 Timeout *[]float64 `json:"timeout,omitempty"` }
func (RespcodeBrokens) String ¶ added in v0.0.64
func (o RespcodeBrokens) String() string
type ResponseCodeSum ¶ added in v0.1.42
type ResponseCodeSum struct { // 1xx请求数 Sum1xx *int32 `json:"sum1xx,omitempty"` // 2xx请求数 Sum2xx *int32 `json:"sum2xx,omitempty"` // 3xx请求数 Sum3xx *int32 `json:"sum3xx,omitempty"` // 4xx请求数 Sum4xx *int32 `json:"sum4xx,omitempty"` // 5xx请求数 Sum5xx *int32 `json:"sum5xx,omitempty"` }
func (ResponseCodeSum) String ¶ added in v0.1.42
func (o ResponseCodeSum) String() string
type ResponseTimeInfo ¶ added in v0.1.42
type ResponseTimeInfo struct { // 平均响应时间 AvgResponseTime *float32 `json:"avg_response_time,omitempty"` // TP50 AvgTp50 *int32 `json:"avg_tp50,omitempty"` // TP90 AvgTp90 *int32 `json:"avg_tp90,omitempty"` // 最大响应时间 MaxResponseTime *int32 `json:"max_response_time,omitempty"` // 最小响应时间 MinResponseTime *int32 `json:"min_response_time,omitempty"` }
func (ResponseTimeInfo) String ¶ added in v0.1.42
func (o ResponseTimeInfo) String() string
type RtmpBrokens ¶ added in v0.1.42
type RtmpBrokens struct { // 音频接收字节数 AudioRecBytes *[]float64 `json:"audioRecBytes,omitempty"` // 音频发送字节数 AudioSentBytes *[]float64 `json:"audioSentBytes,omitempty"` // RTMP接收数据包数 RtmpReceivedPackets *[]float64 `json:"rtmpReceivedPackets,omitempty"` // RTMP发送数据包数 RtmpSentPackets *[]float64 `json:"rtmpSentPackets,omitempty"` // 视频接收字节数 VideoRecBytes *[]float64 `json:"videoRecBytes,omitempty"` // 视频发送字节数 VideoSentBytes *[]float64 `json:"videoSentBytes,omitempty"` }
func (RtmpBrokens) String ¶ added in v0.1.42
func (o RtmpBrokens) String() string
type ShowAgentConfigRequest ¶ added in v0.1.36
type ShowAgentConfigRequest struct {
Body *ShowAgentConfigRequestBody `json:"body,omitempty"`
}
ShowAgentConfigRequest Request Object
func (ShowAgentConfigRequest) String ¶ added in v0.1.36
func (o ShowAgentConfigRequest) String() string
type ShowAgentConfigRequestBody ¶ added in v0.1.36
type ShowAgentConfigRequestBody struct { // 应用id AppId int32 `json:"app_id"` // 探针的内网地址 Address string `json:"address"` // 探针的版本 Version string `json:"version"` // 探针id,非必填,不填是注册探针,填了是更新探针配置 AgentId *string `json:"agent_id,omitempty"` }
ShowAgentConfigRequestBody 获取探针配置信息请求体
func (ShowAgentConfigRequestBody) String ¶ added in v0.1.36
func (o ShowAgentConfigRequestBody) String() string
type ShowAgentConfigResponse ¶ added in v0.1.36
type ShowAgentConfigResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展信息 Extend *interface{} `json:"extend,omitempty"` Result *AgentConfig `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowAgentConfigResponse Response Object
func (ShowAgentConfigResponse) String ¶ added in v0.1.36
func (o ShowAgentConfigResponse) String() string
type ShowCaseRequest ¶ added in v0.1.42
type ShowCaseRequest struct { // 用例id CaseId int32 `json:"case_id"` }
ShowCaseRequest Request Object
func (ShowCaseRequest) String ¶ added in v0.1.42
func (o ShowCaseRequest) String() string
type ShowCaseResponse ¶ added in v0.1.42
type ShowCaseResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` TestCase *CaseInfoDetail `json:"test_case,omitempty"` HttpStatusCode int `json:"-"` }
ShowCaseResponse Response Object
func (ShowCaseResponse) String ¶ added in v0.1.42
func (o ShowCaseResponse) String() string
type ShowHistoryRunInfoRequest ¶
type ShowHistoryRunInfoRequest struct { // 任务id TaskId int32 `json:"task_id"` }
ShowHistoryRunInfoRequest Request Object
func (ShowHistoryRunInfoRequest) String ¶
func (o ShowHistoryRunInfoRequest) String() string
type ShowHistoryRunInfoResponse ¶
type ShowHistoryRunInfoResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // log_list LogList *[]HistoryRunInfo `json:"log_list,omitempty"` HttpStatusCode int `json:"-"` }
ShowHistoryRunInfoResponse Response Object
func (ShowHistoryRunInfoResponse) String ¶
func (o ShowHistoryRunInfoResponse) String() string
type ShowMergeCaseDetailRequest ¶ added in v0.1.42
type ShowMergeCaseDetailRequest struct { // 任务运行id(报告id) TaskRunId int32 `json:"task_run_id"` // 用例运行id CaseRunId int32 `json:"case_run_id"` }
ShowMergeCaseDetailRequest Request Object
func (ShowMergeCaseDetailRequest) String ¶ added in v0.1.42
func (o ShowMergeCaseDetailRequest) String() string
type ShowMergeCaseDetailResponse ¶ added in v0.1.42
type ShowMergeCaseDetailResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展信息 Extend *interface{} `json:"extend,omitempty"` Result *CaseReportDetailResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowMergeCaseDetailResponse Response Object
func (ShowMergeCaseDetailResponse) String ¶ added in v0.1.42
func (o ShowMergeCaseDetailResponse) String() string
type ShowMergeReportLogsOutlineRequest ¶ added in v0.1.42
type ShowMergeReportLogsOutlineRequest struct { // 任务运行id(报告id) TaskRunId int32 `json:"task_run_id"` }
ShowMergeReportLogsOutlineRequest Request Object
func (ShowMergeReportLogsOutlineRequest) String ¶ added in v0.1.42
func (o ShowMergeReportLogsOutlineRequest) String() string
type ShowMergeReportLogsOutlineResponse ¶ added in v0.1.42
type ShowMergeReportLogsOutlineResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展字段 Extend *interface{} `json:"extend,omitempty"` Result *ReportOutlineResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowMergeReportLogsOutlineResponse Response Object
func (ShowMergeReportLogsOutlineResponse) String ¶ added in v0.1.42
func (o ShowMergeReportLogsOutlineResponse) String() string
type ShowMergeTaskCaseRequest ¶ added in v0.1.42
type ShowMergeTaskCaseRequest struct { // 任务运行id(报告id) TaskRunId int32 `json:"task_run_id"` }
ShowMergeTaskCaseRequest Request Object
func (ShowMergeTaskCaseRequest) String ¶ added in v0.1.42
func (o ShowMergeTaskCaseRequest) String() string
type ShowMergeTaskCaseResponse ¶ added in v0.1.42
type ShowMergeTaskCaseResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展信息 Extend *interface{} `json:"extend,omitempty"` Result *CaseReportSummary `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowMergeTaskCaseResponse Response Object
func (ShowMergeTaskCaseResponse) String ¶ added in v0.1.42
func (o ShowMergeTaskCaseResponse) String() string
type ShowProcessRequest ¶
type ShowProcessRequest struct { }
ShowProcessRequest Request Object
func (ShowProcessRequest) String ¶
func (o ShowProcessRequest) String() string
type ShowProcessResponse ¶
type ShowProcessResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` Json *UploadProcessJson `json:"json,omitempty"` // extend Extend *string `json:"extend,omitempty"` HttpStatusCode int `json:"-"` }
ShowProcessResponse Response Object
func (ShowProcessResponse) String ¶
func (o ShowProcessResponse) String() string
type ShowProjectRequest ¶
type ShowProjectRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` }
ShowProjectRequest Request Object
func (ShowProjectRequest) String ¶
func (o ShowProjectRequest) String() string
type ShowProjectResponse ¶
type ShowProjectResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` Project *Project `json:"project,omitempty"` HttpStatusCode int `json:"-"` }
ShowProjectResponse Response Object
func (ShowProjectResponse) String ¶
func (o ShowProjectResponse) String() string
type ShowReportRequest ¶
type ShowReportRequest struct { // 运行任务id TaskRunId int32 `json:"task_run_id"` // 运行用例id CaseRunId int32 `json:"case_run_id"` // 曲线图点数 BrokensLimitCount int32 `json:"brokens_limit_count"` }
ShowReportRequest Request Object
func (ShowReportRequest) String ¶
func (o ShowReportRequest) String() string
type ShowReportResponse ¶
type ShowReportResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // extend Extend *string `json:"extend,omitempty"` Result *ReportInfo `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowReportResponse Response Object
func (ShowReportResponse) String ¶
func (o ShowReportResponse) String() string
type ShowTaskCaseAwChartRequest ¶ added in v0.1.42
type ShowTaskCaseAwChartRequest struct { // 任务运行id(报告id) TaskRunId int32 `json:"task_run_id"` // 用例运行id CaseRunId int32 `json:"case_run_id"` // 详情id DetailId string `json:"detail_id"` }
ShowTaskCaseAwChartRequest Request Object
func (ShowTaskCaseAwChartRequest) String ¶ added in v0.1.42
func (o ShowTaskCaseAwChartRequest) String() string
type ShowTaskCaseAwChartResponse ¶ added in v0.1.42
type ShowTaskCaseAwChartResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展字段 Extend *interface{} `json:"extend,omitempty"` Result *TaskCaseAwChartResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
ShowTaskCaseAwChartResponse Response Object
func (ShowTaskCaseAwChartResponse) String ¶ added in v0.1.42
func (o ShowTaskCaseAwChartResponse) String() string
type ShowTaskRequest ¶
type ShowTaskRequest struct { // 任务id TaskId int32 `json:"task_id"` }
ShowTaskRequest Request Object
func (ShowTaskRequest) String ¶
func (o ShowTaskRequest) String() string
type ShowTaskResponse ¶
type ShowTaskResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` TaskInfo *TaskInfo `json:"taskInfo,omitempty"` HttpStatusCode int `json:"-"` }
ShowTaskResponse Response Object
func (ShowTaskResponse) String ¶
func (o ShowTaskResponse) String() string
type ShowTaskSetRequest ¶
type ShowTaskSetRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` // 查询偏移 Offset *int32 `json:"offset,omitempty"` // 查询数量 Limit *int32 `json:"limit,omitempty"` }
ShowTaskSetRequest Request Object
func (ShowTaskSetRequest) String ¶
func (o ShowTaskSetRequest) String() string
type ShowTaskSetResponse ¶
type ShowTaskSetResponse struct { // code Code *string `json:"code,omitempty"` // extend Extend *[]string `json:"extend,omitempty"` // message Message *string `json:"message,omitempty"` // 工程集详细信息 Tasks *[]Task `json:"tasks,omitempty"` HttpStatusCode int `json:"-"` }
ShowTaskSetResponse Response Object
func (ShowTaskSetResponse) String ¶
func (o ShowTaskSetResponse) String() string
type ShowTempRequest ¶
type ShowTempRequest struct { // 事务id TemplateId int32 `json:"template_id"` }
ShowTempRequest Request Object
func (ShowTempRequest) String ¶
func (o ShowTempRequest) String() string
type ShowTempResponse ¶
type ShowTempResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` TempInfo *TempInfo `json:"temp_info,omitempty"` HttpStatusCode int `json:"-"` }
ShowTempResponse Response Object
func (ShowTempResponse) String ¶
func (o ShowTempResponse) String() string
type ShowTempSetRequest ¶
type ShowTempSetRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` // 查询偏移 Offset *int32 `json:"offset,omitempty"` // 查询数量 Limit *int32 `json:"limit,omitempty"` }
ShowTempSetRequest Request Object
func (ShowTempSetRequest) String ¶
func (o ShowTempSetRequest) String() string
type ShowTempSetResponse ¶
type ShowTempSetResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // temps Temps *[]TempDetailInfo `json:"temps,omitempty"` HttpStatusCode int `json:"-"` }
ShowTempSetResponse Response Object
func (ShowTempSetResponse) String ¶
func (o ShowTempSetResponse) String() string
type StageKpiItem ¶ added in v0.1.5
type StageKpiItem struct { // 比较符 Comparison *string `json:"comparison,omitempty"` // 比较值 Value *int32 `json:"value,omitempty"` }
func (StageKpiItem) String ¶ added in v0.1.5
func (o StageKpiItem) String() string
type StageKpiItems ¶ added in v0.1.5
type StageKpiItems struct { AverageResponseTime *StageKpiItem `json:"average_response_time,omitempty"` SuccessRate *StageKpiItem `json:"success_rate,omitempty"` }
func (StageKpiItems) String ¶ added in v0.1.5
func (o StageKpiItems) String() string
type StreamingErrorBrokens ¶ added in v0.1.42
type StreamingErrorBrokens struct { // 创建流媒体失败数 CreateStreamFailed *[]float64 `json:"createStreamFailed,omitempty"` // 建立握手失败数 HandShakeFailed *[]float64 `json:"handShakeFailed,omitempty"` // 文件解析失败数 ParseFileFailed *[]float64 `json:"parseFileFailed,omitempty"` // FLV文件解析失败数 ParseFlvFileFailed *[]float64 `json:"parseFlvFileFailed,omitempty"` // 播放失败数 PlayFailed *[]float64 `json:"playFailed,omitempty"` // 发布失败数 PublishFailed *[]float64 `json:"publishFailed,omitempty"` // 重试失败数 RetryFailed *[]float64 `json:"retryFailed,omitempty"` // RTMP连接失败数 RtmpConnectFailed *[]float64 `json:"rtmpConnectFailed,omitempty"` // TCP连接失败数 TcpConnectFailed *[]float64 `json:"tcpConnectFailed,omitempty"` }
func (StreamingErrorBrokens) String ¶ added in v0.1.42
func (o StreamingErrorBrokens) String() string
type StreamingMediaReport ¶ added in v0.1.42
type StreamingMediaReport struct { // 流媒体播放次数(流媒体aw执行次数) StreamingPlayTimes *int64 `json:"streamingPlayTimes,omitempty"` // 流媒体播放出现失败的次数(失败的流媒体aw次数) StreamingErrorTimes *int64 `json:"streamingErrorTimes,omitempty"` // 流媒体播放成功率 StreamingSuccessRate *float64 `json:"streamingSuccessRate,omitempty"` // 每秒发送数据包大小 SentPacketsPerSecond *float64 `json:"sentPacketsPerSecond,omitempty"` // 每秒接收数据包大小 ReceivedPacketsPerSecond *float64 `json:"receivedPacketsPerSecond,omitempty"` // 接收数据包大小 RecvPackets *float64 `json:"recvPackets,omitempty"` // 发送数据包大小 SendPackets *float64 `json:"sendPackets,omitempty"` // 音频发送字节大小 AudioSentBytes *float64 `json:"audioSentBytes,omitempty"` // 音频接收字节大小 AudioRecBytes *float64 `json:"audioRecBytes,omitempty"` // 视频发送字节大小 VideoSentBytes *float64 `json:"videoSentBytes,omitempty"` // 视频接收字节大小 VideoRecBytes *float64 `json:"videoRecBytes,omitempty"` // 接收关键帧延迟之和 SumRecvKeyFrameDelay *float64 `json:"sumRecvKeyFrameDelay,omitempty"` // 平均接收关键帧延迟 AvgRecvKeyFrameDelay *float64 `json:"avgRecvKeyFrameDelay,omitempty"` // 最小接收关键帧延迟 MinRecvKeyFrameDelay *float64 `json:"minRecvKeyFrameDelay,omitempty"` // 最大接收关键帧延迟 MaxRecvKeyFrameDelay *float64 `json:"maxRecvKeyFrameDelay,omitempty"` // 发送关键帧延迟之和 SumSendKeyFrameDelay *float64 `json:"sumSendKeyFrameDelay,omitempty"` // 平均发送关键帧延迟 AvgSendKeyFrameDelay *float64 `json:"avgSendKeyFrameDelay,omitempty"` // 最小发送关键帧延迟 MinSendKeyFrameDelay *float64 `json:"minSendKeyFrameDelay,omitempty"` // 最大发送关键帧延迟 MaxSendKeyFrameDelay *float64 `json:"maxSendKeyFrameDelay,omitempty"` // 关键帧发送次数 KeyFrameSendCnt *float64 `json:"keyFrameSendCnt,omitempty"` // 关键帧接收次数 KeyFrameReceiveCnt *float64 `json:"keyFrameReceiveCnt,omitempty"` // TCP连接失败数 TcpConnectFailed *float64 `json:"tcpConnectFailed,omitempty"` // 握手失败数 HandShakeFailed *float64 `json:"handShakeFailed,omitempty"` // RTMP连接失败数 RtmpConnectFailed *float64 `json:"rtmpConnectFailed,omitempty"` // 创建流失败数 CreateStreamFailed *float64 `json:"createStreamFailed,omitempty"` // 播放失败数 PlayFailed *float64 `json:"playFailed,omitempty"` // 发布失败数 PublishFailed *float64 `json:"publishFailed,omitempty"` // 重试失败数 RetryFailed *float64 `json:"retryFailed,omitempty"` // 解析文件失败数 ParseFileFailed *float64 `json:"parseFileFailed,omitempty"` // 非法URL失败数 IllegalUrlFailed *float64 `json:"illegalUrlFailed,omitempty"` // 非法FLV Header失败数 IllegalFlvHeaderFailed *float64 `json:"illegalFlvHeaderFailed,omitempty"` // HTTP连接超时数 HttpTimeoutFailed *float64 `json:"httpTimeoutFailed,omitempty"` // 解析FLV文件失败数 ParseFlvFileFailed *float64 `json:"parseFlvFileFailed,omitempty"` // 未知错误数 UnknownFailed *float64 `json:"unknownFailed,omitempty"` }
func (StreamingMediaReport) String ¶ added in v0.1.42
func (o StreamingMediaReport) String() string
type Task ¶ added in v0.0.64
type Task struct { // 基准并发 BenchConcurrent *int32 `json:"bench_concurrent,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 任务Id Id *int32 `json:"id,omitempty"` // 任务名称 Name *string `json:"name,omitempty"` // 任务压测模式 OperateMode *int32 `json:"operate_mode,omitempty"` TaskRunInfo *TaskRunInfo `json:"task_run_info,omitempty"` // 更新时间 UpdateTime *string `json:"update_time,omitempty"` // 任务间用例是否并行执行 Parallel *bool `json:"parallel,omitempty"` }
Task tasks
type TaskBasicAttribute ¶ added in v0.1.42
type TaskBasicAttribute struct { // 分支ID BranchId *string `json:"branch_id,omitempty"` // 分支名 BranchName *string `json:"branch_name,omitempty"` // 创建人的工号 CreateBy *string `json:"create_by,omitempty"` // 迭代url IterationUri *string `json:"iteration_uri,omitempty"` // 工程id ProjectId *string `json:"project_id,omitempty"` // 协议 Protocols *[]string `json:"protocols,omitempty"` // 服务id ServiceId *string `json:"service_id,omitempty"` // 阶段 Stage *int32 `json:"stage,omitempty"` // 阶段名称 StageName *string `json:"stage_name,omitempty"` // 任务id TaskId *string `json:"task_id,omitempty"` // 版本uri VersionUri *string `json:"version_uri,omitempty"` }
func (TaskBasicAttribute) String ¶ added in v0.1.42
func (o TaskBasicAttribute) String() string
type TaskBasicExecutionData ¶ added in v0.1.42
type TaskBasicExecutionData struct { // 已执行完成的用例数 CompleteNum *int32 `json:"complete_num,omitempty"` // 持续时间 Duration *int32 `json:"duration,omitempty"` // 结束时间 EndTime *string `json:"end_time,omitempty"` // 已执行用例数 ExecutedNum *int32 `json:"executed_num,omitempty"` // 【指标数据:最后一个轮次】 用例数 KpiCaseCount *int32 `json:"kpi_case_count,omitempty"` // 【指标数据:最后一个轮次】 已执行的用例数 KpiCaseExecuteCount *int32 `json:"kpi_case_execute_count,omitempty"` // 【指标数据:最后一个轮次】 最后一轮结果为Pass的用例数 KpiCasePassCount *int32 `json:"kpi_case_pass_count,omitempty"` // 任务间用例是否并行执行 Parallel *bool `json:"parallel,omitempty"` // 用例通过数 PassNum *int32 `json:"pass_num,omitempty"` // 开始时间 StartTime *string `json:"start_time,omitempty"` // 任务状态 TaskStatus *int32 `json:"task_status,omitempty"` // 总用例数 TotalNum *int32 `json:"total_num,omitempty"` // 分钟*并发数 Vum *int32 `json:"vum,omitempty"` }
func (TaskBasicExecutionData) String ¶ added in v0.1.42
func (o TaskBasicExecutionData) String() string
type TaskCaseAwChartResult ¶ added in v0.1.42
type TaskCaseAwChartResult struct { BrokenList *BrokenList `json:"broken_list,omitempty"` // 错误信息 ErrMessage *string `json:"err_message,omitempty"` // 响应时间区间与出现次数的汇总信息 RespTimeRange map[string]string `json:"resp_time_range,omitempty"` }
func (TaskCaseAwChartResult) String ¶ added in v0.1.42
func (o TaskCaseAwChartResult) String() string
type TaskInfo ¶ added in v0.0.64
type TaskInfo struct { // bench_concurrent BenchConcurrent *int32 `json:"bench_concurrent,omitempty"` // case_list CaseList *[]CaseInfoDetail `json:"case_list,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // description Description *string `json:"description,omitempty"` // name Name *string `json:"name,omitempty"` // operate_mode OperateMode *int32 `json:"operate_mode,omitempty"` // project_id ProjectId *int32 `json:"project_id,omitempty"` // related_temp_running_data RelatedTempRunningData *[]RelatedTempRunningData `json:"related_temp_running_data,omitempty"` // run_status RunStatus *int32 `json:"run_status,omitempty"` // update_time UpdateTime *string `json:"update_time,omitempty"` // parallel Parallel *bool `json:"parallel,omitempty"` }
type TaskRunInfo ¶ added in v0.0.64
type TaskRunInfo struct { // id Id *int32 `json:"id,omitempty"` // run_type RunType *int32 `json:"run_type,omitempty"` }
TaskRunInfo TaskRunInfo
func (TaskRunInfo) String ¶ added in v0.0.64
func (o TaskRunInfo) String() string
type TempContentInfo ¶ added in v0.0.65
type TempContentInfo struct { // content_id ContentId *int32 `json:"content_id,omitempty"` // content Content *[]Content `json:"content,omitempty"` // index Index *int32 `json:"index,omitempty"` // data Data *interface{} `json:"data,omitempty"` // data_type DataType *int32 `json:"data_type,omitempty"` }
func (TempContentInfo) String ¶ added in v0.0.65
func (o TempContentInfo) String() string
type TempDetailInfo ¶ added in v0.0.65
type TempDetailInfo struct { // description Description *string `json:"description,omitempty"` // id Id *int32 `json:"id,omitempty"` // 是否被引用 IsQuoted *bool `json:"is_quoted,omitempty"` // name Name *string `json:"name,omitempty"` // temp_type TempType *int32 `json:"temp_type,omitempty"` // update_time UpdateTime *string `json:"update_time,omitempty"` }
func (TempDetailInfo) String ¶ added in v0.0.65
func (o TempDetailInfo) String() string
type TempInfo ¶ added in v0.0.64
type TempInfo struct { // id Id *int32 `json:"id,omitempty"` // project_id ProjectId *int32 `json:"project_id,omitempty"` // name Name *string `json:"name,omitempty"` // description Description *string `json:"description,omitempty"` // variables Variables *string `json:"variables,omitempty"` // contents Contents *[]interface{} `json:"contents,omitempty"` // temp_type TempType *int32 `json:"temp_type,omitempty"` // for_loop_params ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"` LogicController *LogicController `json:"logic_controller,omitempty"` // enable_pre EnablePre *bool `json:"enable_pre,omitempty"` }
type TempName ¶ added in v0.0.64
type TempName struct { // name Name *string `json:"name,omitempty"` }
type TempRunningData ¶ added in v0.0.78
type TempRunningData struct { // content_method_url ContentMethodUrl *[]string `json:"content_method_url,omitempty"` // crawler_status CrawlerStatus *int32 `json:"crawler_status,omitempty"` // related_temp_running_id RelatedTempRunningId *int32 `json:"related_temp_running_id,omitempty"` // task_run_info_id TaskRunInfoId *int32 `json:"task_run_info_id,omitempty"` // temp_id TempId *int32 `json:"temp_id,omitempty"` // temp_name TempName *string `json:"temp_name,omitempty"` // temp_running_status TempRunningStatus *int32 `json:"temp_running_status,omitempty"` }
func (TempRunningData) String ¶ added in v0.0.78
func (o TempRunningData) String() string
type TestCaseBriefInfo ¶ added in v0.1.42
type TestCaseBriefInfo struct { // 用例id Id int32 `json:"id"` // 用例名称 Name string `json:"name"` // 状态(0-已删除;1-启用;2-停用;) Status int32 `json:"status"` // 创建时间 CreateTime string `json:"create_time"` // 更新时间 UpdateTime string `json:"update_time"` // 所属目录id ParentId int32 `json:"parent_id"` // 类型(1-目录;2-用例;) Type int32 `json:"type"` }
TestCaseBriefInfo 用例简略信息
func (TestCaseBriefInfo) String ¶ added in v0.1.42
func (o TestCaseBriefInfo) String() string
type TestCaseStage ¶ added in v0.1.5
type TestCaseStage struct { // 压力阶段模式,0:时长模式;1:次数模式 OperateMode *int32 `json:"operate_mode,omitempty"` // 阶段名称 Name *string `json:"name,omitempty"` // 压测时长(单位:秒) Time *int32 `json:"time,omitempty"` // 开始时间 StartTime *int32 `json:"start_time,omitempty"` // 结束时间 EndTime *int32 `json:"end_time,omitempty"` // 最大并发数 IssueNum *int32 `json:"issue_num,omitempty"` // 次数模式发送总次数 Count *int32 `json:"count,omitempty"` // 压力模式,0:并发模式;1:TPS模式;2:摸高模式;3:浪涌并发模式;4:浪涌TPS模式;5:震荡并发模式;6:震荡TPS模式;7:智能摸高模式 PressureMode *int32 `json:"pressure_mode,omitempty"` // TPS模式下TPS值 TpsValue *int32 `json:"tps_value,omitempty"` // 起始并发数 CurrentUserNum *int32 `json:"current_user_num,omitempty"` // 起始tps值 CurrentTps *int32 `json:"current_tps,omitempty"` // 调压模式,0:自动调压模式;1:手动调压模式 VoltageRegulatingMode *int32 `json:"voltage_regulating_mode,omitempty"` // 浪涌/浪涌模式下最大并发数 Maximum *int32 `json:"maximum,omitempty"` // 浪涌/浪涌模式下最小并发数 Minimum *int32 `json:"minimum,omitempty"` // 震荡/浪涌次数 LoopCount *int32 `json:"loop_count,omitempty"` // 浪涌模式下峰值持续时间 MaxDuration *int32 `json:"max_duration,omitempty"` // 摸高模式下爬坡时长(单位:秒) RampUp *int32 `json:"ramp_up,omitempty"` PeakLoadKpis *StageKpiItems `json:"peak_load_kpis,omitempty"` // 智能摸高模式下单步执行时长 StepDuration *int32 `json:"step_duration,omitempty"` // 智能摸高模式下递增并发数 StepSize *int32 `json:"step_size,omitempty"` }
func (TestCaseStage) String ¶ added in v0.1.5
func (o TestCaseStage) String() string
type TpsBrokens ¶ added in v0.0.64
type TpsBrokens struct { // 平均响应时间 Average *[]float64 `json:"average,omitempty"` // tps Tps *[]float64 `json:"tps,omitempty"` }
func (TpsBrokens) String ¶ added in v0.0.64
func (o TpsBrokens) String() string
type UpdateAgentHealthStatusRequest ¶ added in v0.1.36
type UpdateAgentHealthStatusRequest struct { // 探针id AgentId int32 `json:"agent_id"` Body *UpdateAgentHealthStatusRequestBody `json:"body,omitempty"` }
UpdateAgentHealthStatusRequest Request Object
func (UpdateAgentHealthStatusRequest) String ¶ added in v0.1.36
func (o UpdateAgentHealthStatusRequest) String() string
type UpdateAgentHealthStatusRequestBody ¶ added in v0.1.36
type UpdateAgentHealthStatusRequestBody struct { // 探针上次获取全链路应用的更新时间戳(单位:毫秒) UpdateTime int64 `json:"update_time"` }
UpdateAgentHealthStatusRequestBody 上报探针健康状态请求体
func (UpdateAgentHealthStatusRequestBody) String ¶ added in v0.1.36
func (o UpdateAgentHealthStatusRequestBody) String() string
type UpdateAgentHealthStatusResponse ¶ added in v0.1.36
type UpdateAgentHealthStatusResponse struct { // 响应码 Code *string `json:"code,omitempty"` // 响应消息 Message *string `json:"message,omitempty"` // 扩展信息 Extend *interface{} `json:"extend,omitempty"` Result *UpdateAgentStatusResponseDetail `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
UpdateAgentHealthStatusResponse Response Object
func (UpdateAgentHealthStatusResponse) String ¶ added in v0.1.36
func (o UpdateAgentHealthStatusResponse) String() string
type UpdateAgentStatusResponseDetail ¶ added in v0.1.36
type UpdateAgentStatusResponseDetail struct { // 全链路应用id Id int32 `json:"id"` // 全链路应用状态,枚举值:CREATING,FAILED,NORMAL,DELETE Status string `json:"status"` // 全链路应用更新时间 UpdateTime int64 `json:"update_time"` Result *AgentConfig `json:"result,omitempty"` }
func (UpdateAgentStatusResponseDetail) String ¶ added in v0.1.36
func (o UpdateAgentStatusResponseDetail) String() string
type UpdateCaseRequest ¶
type UpdateCaseRequest struct { // 用例id CaseId int32 `json:"case_id"` // 类型 Target string `json:"target"` Body *CaseInfoDetail `json:"body,omitempty"` }
UpdateCaseRequest Request Object
func (UpdateCaseRequest) String ¶
func (o UpdateCaseRequest) String() string
type UpdateCaseResponse ¶
type UpdateCaseResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateCaseResponse Response Object
func (UpdateCaseResponse) String ¶
func (o UpdateCaseResponse) String() string
type UpdateDirectoryRequest ¶ added in v0.1.42
type UpdateDirectoryRequest struct { // 目录id DirectoryId int32 `json:"directory_id"` // 测试工程id TestSuiteId int32 `json:"test_suite_id"` Body *UpdateDirectoryRequestBody `json:"body,omitempty"` }
UpdateDirectoryRequest Request Object
func (UpdateDirectoryRequest) String ¶ added in v0.1.42
func (o UpdateDirectoryRequest) String() string
type UpdateDirectoryRequestBody ¶ added in v0.1.42
type UpdateDirectoryRequestBody struct { // 目录名称 Name string `json:"name"` }
UpdateDirectoryRequestBody ge
func (UpdateDirectoryRequestBody) String ¶ added in v0.1.42
func (o UpdateDirectoryRequestBody) String() string
type UpdateDirectoryResponse ¶ added in v0.1.42
type UpdateDirectoryResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateDirectoryResponse Response Object
func (UpdateDirectoryResponse) String ¶ added in v0.1.42
func (o UpdateDirectoryResponse) String() string
type UpdateNewCaseRequest ¶ added in v0.1.42
type UpdateNewCaseRequest struct { // 用例id CaseId int32 `json:"case_id"` Body *CaseInfoDetail `json:"body,omitempty"` }
UpdateNewCaseRequest Request Object
func (UpdateNewCaseRequest) String ¶ added in v0.1.42
func (o UpdateNewCaseRequest) String() string
type UpdateNewCaseResponse ¶ added in v0.1.42
type UpdateNewCaseResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateNewCaseResponse Response Object
func (UpdateNewCaseResponse) String ¶ added in v0.1.42
func (o UpdateNewCaseResponse) String() string
type UpdateNewTaskRequestBody ¶ added in v0.1.2
type UpdateNewTaskRequestBody struct { // 名称 Name string `json:"name"` // 并行状态(表示任务执行时用例是否并行执行;true:并行执行,false:串行执行) Parallel bool `json:"parallel"` // 工程id ProjectId int32 `json:"project_id"` // 任务模式(兼容旧版接口保留字段,0:时长模式,1:次数模式,2:混合模式;此处请传固定值:2) OperateMode int32 `json:"operate_mode"` // 关联的用例id集合 CaseIdList []int32 `json:"case_id_list"` }
UpdateNewTaskRequestBody 新版(任务用例分离版本)更新任务请求体
func (UpdateNewTaskRequestBody) String ¶ added in v0.1.2
func (o UpdateNewTaskRequestBody) String() string
type UpdateProjectRequest ¶
type UpdateProjectRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` Body *UpdateProjectRequestBody `json:"body,omitempty"` }
UpdateProjectRequest Request Object
func (UpdateProjectRequest) String ¶
func (o UpdateProjectRequest) String() string
type UpdateProjectRequestBody ¶
type UpdateProjectRequestBody struct { // id Id int32 `json:"id"` // name Name string `json:"name"` // description Description *string `json:"description,omitempty"` // variables_no_file VariablesNoFile *[]string `json:"variables_no_file,omitempty"` // source Source *int32 `json:"source,omitempty"` // external_params ExternalParams *interface{} `json:"external_params,omitempty"` }
UpdateProjectRequestBody UpdateProjectRequestBody
func (UpdateProjectRequestBody) String ¶
func (o UpdateProjectRequestBody) String() string
type UpdateProjectResponse ¶
type UpdateProjectResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateProjectResponse Response Object
func (UpdateProjectResponse) String ¶
func (o UpdateProjectResponse) String() string
type UpdateTaskRelatedTestCaseRequest ¶ added in v0.1.2
type UpdateTaskRelatedTestCaseRequest struct { // 任务id TaskId int32 `json:"task_id"` Body *UpdateNewTaskRequestBody `json:"body,omitempty"` }
UpdateTaskRelatedTestCaseRequest Request Object
func (UpdateTaskRelatedTestCaseRequest) String ¶ added in v0.1.2
func (o UpdateTaskRelatedTestCaseRequest) String() string
type UpdateTaskRelatedTestCaseResponse ¶ added in v0.1.2
type UpdateTaskRelatedTestCaseResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` TaskInfo *TaskInfo `json:"taskInfo,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTaskRelatedTestCaseResponse Response Object
func (UpdateTaskRelatedTestCaseResponse) String ¶ added in v0.1.2
func (o UpdateTaskRelatedTestCaseResponse) String() string
type UpdateTaskRequest ¶
type UpdateTaskRequest struct { // 任务id TaskId int32 `json:"task_id"` Body *UpdateTaskRequestBody `json:"body,omitempty"` }
UpdateTaskRequest Request Object
func (UpdateTaskRequest) String ¶
func (o UpdateTaskRequest) String() string
type UpdateTaskRequestBody ¶
type UpdateTaskRequestBody struct { // id Id int32 `json:"id"` // name Name string `json:"name"` // description Description *string `json:"description,omitempty"` // project_id ProjectId int32 `json:"project_id"` // run_status RunStatus *int32 `json:"run_status,omitempty"` // run_type RunType *int32 `json:"run_type,omitempty"` TaskRunInfo *TaskRunInfo `json:"task_run_info,omitempty"` // case_list CaseList *[]CaseInfoDetail `json:"case_list,omitempty"` // operate_mode OperateMode *int32 `json:"operate_mode,omitempty"` // bench_concurrent BenchConcurrent *int32 `json:"bench_concurrent,omitempty"` // related_temp_running_data RelatedTempRunningData *[]RelatedTempRunningData `json:"related_temp_running_data,omitempty"` }
UpdateTaskRequestBody UpdateTaskRequestBody
func (UpdateTaskRequestBody) String ¶
func (o UpdateTaskRequestBody) String() string
type UpdateTaskResponse ¶
type UpdateTaskResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` TaskInfo *TaskInfo `json:"taskInfo,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTaskResponse Response Object
func (UpdateTaskResponse) String ¶
func (o UpdateTaskResponse) String() string
type UpdateTaskStatusRequest ¶
type UpdateTaskStatusRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` // 任务id TaskId int32 `json:"task_id"` Body *UpdateTaskStatusRequestBody `json:"body,omitempty"` }
UpdateTaskStatusRequest Request Object
func (UpdateTaskStatusRequest) String ¶
func (o UpdateTaskStatusRequest) String() string
type UpdateTaskStatusRequestBody ¶
type UpdateTaskStatusRequestBody struct { // cluster_id ClusterId int32 `json:"cluster_id"` // cluster_type ClusterType string `json:"cluster_type"` // without_package WithoutPackage int32 `json:"without_package"` NetworkInfo *NetworkInfo `json:"network_info"` // status Status int32 `json:"status"` // 企业项目id EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
UpdateTaskStatusRequestBody UpdateTaskStatusRequestBody
func (UpdateTaskStatusRequestBody) String ¶
func (o UpdateTaskStatusRequestBody) String() string
type UpdateTaskStatusResponse ¶
type UpdateTaskStatusResponse struct { // code Code *string `json:"code,omitempty"` // message Message *string `json:"message,omitempty"` // extend Extend *string `json:"extend,omitempty"` Result *UpdateTaskStatusResult `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
UpdateTaskStatusResponse Response Object
func (UpdateTaskStatusResponse) String ¶
func (o UpdateTaskStatusResponse) String() string
type UpdateTaskStatusResult ¶ added in v0.0.64
type UpdateTaskStatusResult struct { // task_run_id TaskRunId *int32 `json:"task_run_id,omitempty"` }
func (UpdateTaskStatusResult) String ¶ added in v0.0.64
func (o UpdateTaskStatusResult) String() string
type UpdateTempRequest ¶
type UpdateTempRequest struct { // 事务id TemplateId int32 `json:"template_id"` Body *UpdateTempRequestBody `json:"body,omitempty"` }
UpdateTempRequest Request Object
func (UpdateTempRequest) String ¶
func (o UpdateTempRequest) String() string
type UpdateTempRequestBody ¶
type UpdateTempRequestBody struct { // id Id int32 `json:"id"` // project_id ProjectId int32 `json:"project_id"` // name Name string `json:"name"` // temp_type TempType *int32 `json:"temp_type,omitempty"` // description Description *string `json:"description,omitempty"` // for_loop_params ForLoopParams *[]interface{} `json:"for_loop_params,omitempty"` // enable_pre EnablePre *bool `json:"enable_pre,omitempty"` // contents Contents *[]TempContentInfo `json:"contents,omitempty"` }
UpdateTempRequestBody UpdateTempRequestBody
func (UpdateTempRequestBody) String ¶
func (o UpdateTempRequestBody) String() string
type UpdateTempResponse ¶
type UpdateTempResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateTempResponse Response Object
func (UpdateTempResponse) String ¶
func (o UpdateTempResponse) String() string
type UpdateVariableRequest ¶
type UpdateVariableRequest struct { // 测试工程id TestSuiteId int32 `json:"test_suite_id"` Body *[]UpdateVariableRequestBody `json:"body,omitempty"` }
UpdateVariableRequest Request Object
func (UpdateVariableRequest) String ¶
func (o UpdateVariableRequest) String() string
type UpdateVariableRequestBody ¶
type UpdateVariableRequestBody struct { // id Id int32 `json:"id"` // name Name string `json:"name"` // variable_type VariableType int32 `json:"variable_type"` // variable Variable []interface{} `json:"variable"` }
UpdateVariableRequestBody UpdateVariableRequestBody
func (UpdateVariableRequestBody) String ¶
func (o UpdateVariableRequestBody) String() string
type UpdateVariableResponse ¶
type UpdateVariableResponse struct { // code Code *string `json:"code,omitempty"` Json *CreateVariableResultJson `json:"json,omitempty"` // message Message *string `json:"message,omitempty"` HttpStatusCode int `json:"-"` }
UpdateVariableResponse Response Object
func (UpdateVariableResponse) String ¶
func (o UpdateVariableResponse) String() string
type UploadProcessJson ¶ added in v0.0.65
type UploadProcessJson struct { // details Details *[]UploadProcessJsonDetail `json:"details,omitempty"` // process_status ProcessStatus *int32 `json:"process_status,omitempty"` }
UploadProcessJson json
func (UploadProcessJson) String ¶ added in v0.0.65
func (o UploadProcessJson) String() string
type UploadProcessJsonDetail ¶ added in v0.0.65
type UploadProcessJsonDetail struct { // id Id *int32 `json:"id,omitempty"` // name Name *string `json:"name,omitempty"` // status Status *int32 `json:"status,omitempty"` // cause Cause *string `json:"cause,omitempty"` }
func (UploadProcessJsonDetail) String ¶ added in v0.0.65
func (o UploadProcessJsonDetail) String() string
type VariableDetail ¶ added in v0.0.65
type VariableDetail struct { // file_size FileSize *int32 `json:"file_size,omitempty"` // id Id *int32 `json:"id,omitempty"` // 是否被引用 IsQuoted *bool `json:"is_quoted,omitempty"` // name Name *string `json:"name,omitempty"` // variable Variable *[]interface{} `json:"variable,omitempty"` // variable_type VariableType *int32 `json:"variable_type,omitempty"` // 变量读取模式,0:顺序模式;1:随机模式 VariableMode *int32 `json:"variable_mode,omitempty"` ShareMode *int32 `json:"share_mode,omitempty"` }
func (VariableDetail) String ¶ added in v0.0.65
func (o VariableDetail) String() string
type VusersBrokens ¶ added in v0.0.64
type VusersBrokens struct { // vusers Vusers *[]float64 `json:"vusers,omitempty"` }
func (VusersBrokens) String ¶ added in v0.0.64
func (o VusersBrokens) String() string
Source Files ¶
- model_agent_config.go
- model_aw_info_dto.go
- model_batch_update_task_status_request.go
- model_batch_update_task_status_request_body.go
- model_batch_update_task_status_response.go
- model_batch_update_task_status_response_body_result.go
- model_brand_brokens.go
- model_broken_list.go
- model_case_aw_info.go
- model_case_doc.go
- model_case_doc_steps.go
- model_case_info_detail.go
- model_case_report_detail.go
- model_case_report_detail_result.go
- model_case_report_details.go
- model_case_report_summary.go
- model_code_message_resq.go
- model_content.go
- model_content_header.go
- model_content_info.go
- model_contents.go
- model_core_index.go
- model_crease_case_response_json.go
- model_create_case_request.go
- model_create_case_request_body.go
- model_create_case_response.go
- model_create_case_result_json.go
- model_create_directory_request.go
- model_create_directory_request_body.go
- model_create_directory_response.go
- model_create_new_case_request.go
- model_create_new_case_response.go
- model_create_new_task_request.go
- model_create_new_task_response.go
- model_create_project_request.go
- model_create_project_request_body.go
- model_create_project_response.go
- model_create_task_request.go
- model_create_task_request_body.go
- model_create_task_response.go
- model_create_temp_request.go
- model_create_temp_request_body.go
- model_create_temp_response.go
- model_create_variable_request.go
- model_create_variable_request_body.go
- model_create_variable_response.go
- model_create_variable_result_json.go
- model_debug_case_request.go
- model_debug_case_request_body.go
- model_debug_case_response.go
- model_debug_case_result.go
- model_debug_case_result_header.go
- model_debug_case_return_header.go
- model_delete_case_request.go
- model_delete_case_response.go
- model_delete_directory_request.go
- model_delete_directory_response.go
- model_delete_new_case_request.go
- model_delete_new_case_response.go
- model_delete_new_task_request.go
- model_delete_new_task_response.go
- model_delete_project_request.go
- model_delete_project_response.go
- model_delete_task_request.go
- model_delete_task_response.go
- model_delete_temp_request.go
- model_delete_temp_response.go
- model_delete_variable_request.go
- model_delete_variable_response.go
- model_detail_data_info.go
- model_detail_item.go
- model_exception_response_sum.go
- model_history_run_info.go
- model_list_project_sets_request.go
- model_list_project_sets_response.go
- model_list_project_test_case_request.go
- model_list_project_test_case_response.go
- model_list_task_cases_request.go
- model_list_task_cases_response.go
- model_list_variables_request.go
- model_list_variables_response.go
- model_logic_controller.go
- model_mock_rule_config.go
- model_network_info.go
- model_network_traffic.go
- model_new_task_info.go
- model_peak_metric.go
- model_performance_info.go
- model_project.go
- model_project_directory.go
- model_project_resp.go
- model_projects_set.go
- model_related_temp_running_data.go
- model_report_info.go
- model_report_outline.go
- model_report_outline_result.go
- model_report_task_info.go
- model_reportbrokens_info.go
- model_reportdetail_item_info.go
- model_reportdetails_info.go
- model_reportoutline_info.go
- model_respcode_brokens.go
- model_response_code_sum.go
- model_response_time_info.go
- model_rtmp_brokens.go
- model_show_agent_config_request.go
- model_show_agent_config_request_body.go
- model_show_agent_config_response.go
- model_show_case_request.go
- model_show_case_response.go
- model_show_history_run_info_request.go
- model_show_history_run_info_response.go
- model_show_merge_case_detail_request.go
- model_show_merge_case_detail_response.go
- model_show_merge_report_logs_outline_request.go
- model_show_merge_report_logs_outline_response.go
- model_show_merge_task_case_request.go
- model_show_merge_task_case_response.go
- model_show_process_request.go
- model_show_process_response.go
- model_show_project_request.go
- model_show_project_response.go
- model_show_report_request.go
- model_show_report_response.go
- model_show_task_case_aw_chart_request.go
- model_show_task_case_aw_chart_response.go
- model_show_task_request.go
- model_show_task_response.go
- model_show_task_set_request.go
- model_show_task_set_response.go
- model_show_temp_request.go
- model_show_temp_response.go
- model_show_temp_set_request.go
- model_show_temp_set_response.go
- model_stage_kpi_item.go
- model_stage_kpi_items.go
- model_streaming_error_brokens.go
- model_streaming_media_report.go
- model_task.go
- model_task_basic_attribute.go
- model_task_basic_execution_data.go
- model_task_case_aw_chart_result.go
- model_task_info.go
- model_task_run_info.go
- model_temp_content_info.go
- model_temp_detail_info.go
- model_temp_info.go
- model_temp_name.go
- model_temp_running_data.go
- model_test_case_brief_info.go
- model_test_case_stage.go
- model_tps_brokens.go
- model_update_agent_health_status_request.go
- model_update_agent_health_status_request_body.go
- model_update_agent_health_status_response.go
- model_update_agent_status_response_detail.go
- model_update_case_request.go
- model_update_case_response.go
- model_update_directory_request.go
- model_update_directory_request_body.go
- model_update_directory_response.go
- model_update_new_case_request.go
- model_update_new_case_response.go
- model_update_new_task_request_body.go
- model_update_project_request.go
- model_update_project_request_body.go
- model_update_project_response.go
- model_update_task_related_test_case_request.go
- model_update_task_related_test_case_response.go
- model_update_task_request.go
- model_update_task_request_body.go
- model_update_task_response.go
- model_update_task_status_request.go
- model_update_task_status_request_body.go
- model_update_task_status_response.go
- model_update_task_status_result.go
- model_update_temp_request.go
- model_update_temp_request_body.go
- model_update_temp_response.go
- model_update_variable_request.go
- model_update_variable_request_body.go
- model_update_variable_response.go
- model_upload_process_json.go
- model_upload_process_json_detail.go
- model_variable_detail.go
- model_vusers_brokens.go