Documentation ¶
Index ¶
- Constants
- Variables
- type AlternativeCaseCategories
- type AlternativeCaseRules
- type AlternativeCaseType
- type AlternativeCaseTypes
- type AuditStatus
- type AuthorType
- type CaseType
- type ChangedStatus
- type CheckpointType
- type ClientAuthenticationWay
- type ComparisonOperator
- type ConditionCategory
- type ConditionSrc
- type ConditionType
- type CronExecStatus
- type CronLecangIsExtendOverride
- type CronLecangMessageType
- type CronLecangOverridable
- type CronSource
- type DataFileFormat
- type DataItSrc
- type DataItType
- type DataSyncType
- type DataType
- type DatabaseType
- type ErrorAction
- type ExecFromType
- type ExecType
- type ExpectRequestSelectType
- type ExtractorResultType
- type ExtractorScope
- type ExtractorSrc
- type ExtractorType
- type FieldFormat
- type FieldSource
- type FieldType
- type FormDataType
- type GrantType
- type HttpContentType
- type HttpMethod
- type HttpRespCharset
- type HttpRespCode
- type HttpRespLangType
- type Integers
- type IntegrationFuncExtendStatus
- type IntegrationFuncOverridable
- type LlmType
- type LogType
- type MessageSendStatus
- type MessageServiceType
- type MessageSource
- type MetricsType
- type MockPriority
- type NodeType
- type ParamIn
- type ParamType
- type PlaceholderPrefix
- type PlaceholderType
- type ProcessorCategory
- type ProcessorInterfaceSrc
- type ProcessorType
- type ProductStatus
- type ProgressStatus
- type ResultStatus
- type RoleSource
- type RoleType
- type RunType
- type SeverityLevel
- type SourceType
- type SwitchStatus
- type TenantId
- type TestStage
- type TestStatus
- type TestType
- type TimeUnit
- type UsedBy
- type ValueOperator
- type WsMsgCategory
Constants ¶
View Source
const ( App = "deeptest" ContentType = "Content-Type" ContentLength = "Content-Length" Server = "Server" Allow = "Allow" Connection = "Connection" Host = "Host" Authorization = "Authorization" UserAgentChrome = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36" ApiPathServer = "/api/v1" ApiPathAgent = "/api/v1" ApiPathMock = "/mocks" WsPath = ApiPathAgent + "/ws" WsDefaultNamespace = "default" WsDefaultRoom = "default_room" WsChatEvent = "OnChat" WebCheckInterval = 60 * 60 SummaryDataCheckInterval = 60 * 60 MaxNum = 10000 AgentConfigFileName = "agent.yaml" ServerConfigFileName = "server.yaml" CasbinFileName = "rbac_model.conf" // casbin 规则文件名称 WebsiteDev = "http://localhost:8000/" ExtractorErr = "extractor_err" ContentErr = "content_err" HttpRequestTimeout = 60 * time.Second DeepestKey = "com_deeptest_prop_for_selection" KEY_BASE_URL = "_base_url_" MaxLoopTimeForInterfaceTest = 1000 MaxLoopTimeForPerformanceTest = 1000000 KEY_MOCKJS = "x-mock-type" INVALID_VALUE = "N/A" TmpDirRelative = "tmp" TmpDirRelativeServer = TmpDirRelative + "/server" TmpDirRelativeAgent = TmpDirRelative + "/agent" )
View Source
const (
StatementsSample = `` /* 456-byte string literal not displayed */
)
Variables ¶
View Source
var ( DirUpload = "upload" HeaderOptions = []string{"Accept", "Accept-Encoding", "Accept-Language", "Connection", "Host", "Referer", "User-Agent", "Cache-Control", "Cookie", "Range"} )
View Source
var ( Language = "zh" Verbose = true RunFrom RunType ExecFrom ExecFromType IsRelease bool ExecDir string WorkDir string Port int FolderTmp = "tmp" TmpDir = "" )
View Source
var StringComparisons = []ComparisonOperator{ Equal, NotEqual, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, Contain, NotContain, RegularMatch, }
View Source
var TextComparisons = []ComparisonOperator{ Equal, NotEqual, Contain, NotContain, RegularMatch, }
View Source
var WebscoketAtions = []string{ ExecWebsocketConnect.String(), ExecWebsocketDisconnect.String(), ExecWebsocketSendMsg.String()}
Functions ¶
This section is empty.
Types ¶
type AlternativeCaseCategories ¶
type AlternativeCaseCategories string
const ( AlternativeCaseRoot AlternativeCaseCategories = "root" AlternativeCaseCategory AlternativeCaseCategories = "category" AlternativeCaseDir AlternativeCaseCategories = "dir" AlternativeCaseParam AlternativeCaseCategories = "param" AlternativeCaseObject AlternativeCaseCategories = "object" AlternativeCaseArray AlternativeCaseCategories = "array" AlternativeCaseProp AlternativeCaseCategories = "prop" AlternativeCaseCase AlternativeCaseCategories = "case" )
type AlternativeCaseRules ¶
type AlternativeCaseRules string
const ( AlternativeCaseRulesMin AlternativeCaseRules = "min" AlternativeCaseRulesMax AlternativeCaseRules = "max" AlternativeCaseRulesMaxLength AlternativeCaseRules = "maxLength" AlternativeCaseRulesMinLength AlternativeCaseRules = "minLength" AlternativeCaseRulesMultipleOf AlternativeCaseRules = "multipleOf" AlternativeCaseRulesExclusiveMin AlternativeCaseRules = "exclusiveMin" AlternativeCaseRulesExclusiveMax AlternativeCaseRules = "exclusiveMax" AlternativeCaseRulesPattern AlternativeCaseRules = "pattern" )
func (AlternativeCaseRules) String ¶
func (e AlternativeCaseRules) String() string
type AlternativeCaseType ¶
type AlternativeCaseType string
const ( QueryParam AlternativeCaseType = "query_param" PathParam AlternativeCaseType = "path_param" HeaderParam AlternativeCaseType = "header_param" BodyField AlternativeCaseType = "body_field" FormField AlternativeCaseType = "form_field" )
func (AlternativeCaseType) String ¶
func (e AlternativeCaseType) String() string
type AlternativeCaseTypes ¶
type AlternativeCaseTypes string
const ( AlternativeCaseRequired AlternativeCaseTypes = "required" AlternativeCaseTyped AlternativeCaseTypes = "typed" AlternativeCaseEnum AlternativeCaseTypes = "enum" AlternativeCaseFormat AlternativeCaseTypes = "format" AlternativeCaseRule AlternativeCaseTypes = "rule" )
type AuditStatus ¶
type AuditStatus uint
const ( Init AuditStatus = 0 Agreed AuditStatus = 1 Refused AuditStatus = 2 )
type AuthorType ¶
type AuthorType string
const ( BasicAuth AuthorType = "basicAuth" BearerToken AuthorType = "bearerToken" OAuth2 AuthorType = "oAuth2" ApiKey AuthorType = "apiKey" )
func (AuthorType) String ¶
func (e AuthorType) String() string
type ChangedStatus ¶
type ChangedStatus uint
const ( NoChanged ChangedStatus = 1 Changed ChangedStatus = 2 IgnoreChanged ChangedStatus = 3 )
type CheckpointType ¶
type CheckpointType string
const ( ResponseStatus CheckpointType = "responseStatus" ResponseHeader CheckpointType = "responseHeader" ResponseBody CheckpointType = "responseBody" Judgement CheckpointType = "judgement" ExtractorVari CheckpointType = "extractorVari" Extractor CheckpointType = "extractor" Script CheckpointType = "script" )
type ClientAuthenticationWay ¶
type ClientAuthenticationWay string
const ( SendAsBasicAuthHeader ClientAuthenticationWay = "sendAsBasicAuthHeader" SendClientCredentialsInBody ClientAuthenticationWay = "sendClientCredentialsInBody" )
func (ClientAuthenticationWay) String ¶
func (e ClientAuthenticationWay) String() string
type ComparisonOperator ¶
type ComparisonOperator string
const ( Equal ComparisonOperator = "equal" NotEqual ComparisonOperator = "notEqual" GreaterThan ComparisonOperator = "greaterThan" GreaterThanOrEqual ComparisonOperator = "greaterThanOrEqual" LessThan ComparisonOperator = "lessThan" LessThanOrEqual ComparisonOperator = "lessThanOrEqual" Contain ComparisonOperator = "contain" NotContain ComparisonOperator = "notContain" RegularMatch ComparisonOperator = "regularMatch" Exist ComparisonOperator = "exist" NotExist ComparisonOperator = "notExist" )
func (ComparisonOperator) String ¶
func (e ComparisonOperator) String() string
type ConditionCategory ¶
type ConditionCategory string
const ( ConditionCategoryResult ConditionCategory = "result" PostCondition ConditionCategory = "postCondition" ConditionCategoryConsole ConditionCategory = "console" ConditionCategoryAssert ConditionCategory = "assert" ConditionCategoryAll ConditionCategory = "all" ConditionCategoryResponse ConditionCategory = "response" )
type ConditionSrc ¶
type ConditionSrc string
const ( ConditionSrcPre ConditionSrc = "pre_condition" ConditionSrcPost ConditionSrc = "post_condition" )
type ConditionType ¶
type ConditionType string
const ( ConditionTypeExtractor ConditionType = "extractor" ConditionTypeCheckpoint ConditionType = "checkpoint" ConditionTypeScript ConditionType = "script" ConditionTypeDatabase ConditionType = "databaseOpt" ConditionTypeResponseDefine ConditionType = "responseDefine" )
type CronExecStatus ¶
type CronExecStatus string
const ( CronExecSuccess CronExecStatus = "success" CronExecIng CronExecStatus = "running" CronExecFail CronExecStatus = "fail" )
func (CronExecStatus) String ¶
func (e CronExecStatus) String() string
type CronLecangIsExtendOverride ¶
type CronLecangIsExtendOverride string
const ( CronLecangExtendOverride CronLecangIsExtendOverride = "extend_override" //继承并重写 CronLecangExtend CronLecangIsExtendOverride = "extend_not_override" //继承未重写 CronLecangNotExtend CronLecangIsExtendOverride = "not_extend" //未继承,自身 )
func (CronLecangIsExtendOverride) String ¶
func (e CronLecangIsExtendOverride) String() string
type CronLecangMessageType ¶
type CronLecangMessageType string
const ( CronLecangMessageTypeInner CronLecangMessageType = "inner" CronLecangMessageTypeOutside CronLecangMessageType = "outside" )
func (CronLecangMessageType) String ¶
func (e CronLecangMessageType) String() string
type CronLecangOverridable ¶
type CronLecangOverridable string
const ( CronLecangIsOverridable CronLecangOverridable = "YES" CronLecangNotOverridable CronLecangOverridable = "NO" )
func (CronLecangOverridable) String ¶
func (e CronLecangOverridable) String() string
type CronSource ¶
type CronSource string
const ( CronSourceSwagger CronSource = "swagger" CronSourceLecang CronSource = "lecang" )
func (CronSource) String ¶
func (e CronSource) String() string
type DataFileFormat ¶
type DataFileFormat string
const ( FormatText DataFileFormat = "text" FormatExcel DataFileFormat = "excel" FormatCsv DataFileFormat = "csv" FormatUnknown DataFileFormat = "unknown" )
func (DataFileFormat) ToString ¶
func (e DataFileFormat) ToString() string
type DataItType ¶
type DataItType string
const ( Text DataItType = "text" Excel DataItType = "excel" )
func (DataItType) ToString ¶
func (e DataItType) ToString() string
type DataSyncType ¶
type DataSyncType uint
const ( FullCover DataSyncType = 1 //完全覆盖 AutoAdd DataSyncType = 2 //智能合并 Add DataSyncType = 3 //新增 )
func (DataSyncType) String ¶
func (e DataSyncType) String() string
type DatabaseType ¶
type DatabaseType string
const ( DbTypeMySql DatabaseType = "mysql" DbTypeSqlServer DatabaseType = "sqlserver" DbTypePostgreSql DatabaseType = "postgreSql" DbTypeOracle DatabaseType = "oracle" )
func (DatabaseType) String ¶
func (e DatabaseType) String() string
type ErrorAction ¶
type ErrorAction string
const ( ActionContinue ErrorAction = "continue" ActionStartNextThread ErrorAction = "start_next_thread" ActionLoop ErrorAction = "loop" ActionStopThread ErrorAction = "stop_thread" ActionStopTest ErrorAction = "stop_test" ActionStopTestNow ErrorAction = "stop_test_now" )
func (ErrorAction) ToString ¶
func (e ErrorAction) ToString() string
type ExecFromType ¶
type ExecFromType string
const ( FromCmd ExecFromType = "cmd" FromClient ExecFromType = "client" )
func (ExecFromType) String ¶
func (e ExecFromType) String() string
type ExecType ¶
type ExecType string
const ( ExecStop ExecType = "stop" ExecInterface ExecType = "execInterface" ExecScenario ExecType = "execScenario" ExecPlan ExecType = "execPlan" ExecCase ExecType = "execCases" ExecMessage ExecType = "execMessage" ExecWebsocketConnect ExecType = "execWebsocketConnect" ExecWebsocketDisconnect ExecType = "execWebsocketDisconnect" ExecWebsocketSendMsg ExecType = "execWebsocketSendMsg" StartExecGrpc ExecType = "startExecGrpc" StopExecGrpc ExecType = "stopExecGrpc" )
type ExpectRequestSelectType ¶
type ExpectRequestSelectType string
const ( KeyValue ExpectRequestSelectType = "keyValue" Xpath ExpectRequestSelectType = "xPath" FullText ExpectRequestSelectType = "fullText" )
func (ExpectRequestSelectType) String ¶
func (e ExpectRequestSelectType) String() string
type ExtractorResultType ¶
type ExtractorResultType string
const ( ExtractorResultTypeString ExtractorResultType = "string" ExtractorResultTypeNumber ExtractorResultType = "number" ExtractorResultTypeBool ExtractorResultType = "bool" ExtractorResultTypeObject ExtractorResultType = "object" )
type ExtractorScope ¶
type ExtractorScope string
const ( Private ExtractorScope = "private" // in current interface Public ExtractorScope = "public" // shared by other interfaces in serve OR scenario )
type ExtractorSrc ¶
type ExtractorSrc string
const ( Header ExtractorSrc = "header" Body ExtractorSrc = "body" Cookie ExtractorSrc = "cookie" )
type ExtractorType ¶
type ExtractorType string
const ( Boundary ExtractorType = "boundary" JSONPath ExtractorType = "jsonpath" JsonQuery ExtractorType = "jsonquery" HtmlQuery ExtractorType = "htmlquery" XmlQuery ExtractorType = "xmlquery" Regx ExtractorType = "regx" )
type FieldFormat ¶
type FieldFormat string
const ( PlainText FieldFormat = "plainText" RichText FieldFormat = "richText" )
func (FieldFormat) String ¶
func (e FieldFormat) String() string
type FieldSource ¶
type FieldSource string
const ( System FieldSource = "requirement" Custom FieldSource = "task" )
func (FieldSource) String ¶
func (e FieldSource) String() string
type FieldType ¶
type FieldType string
const ( Input FieldType = "input" TextArea FieldType = "textarea" Password FieldType = "password" Checkbox FieldType = "checkbox" Radio FieldType = "radio" File FieldType = "file" Hidden FieldType = "hidden" Select FieldType = "select" MultiSelect FieldType = "multiselect" Button FieldType = "button" )
type FormDataType ¶
type FormDataType string
const ( FormDataTypeText FormDataType = "text" FormDataTypeFile FormDataType = "file" )
func (FormDataType) String ¶
func (e FormDataType) String() string
type HttpContentType ¶
type HttpContentType string
const ( ContentTypeJSON HttpContentType = "application/json" ContentTypeXML HttpContentType = "application/xml" ContentTypeHTML HttpContentType = "text/html" ContentTypeTEXT HttpContentType = "text/text" ContentTypeFormData HttpContentType = "multipart/form-data" ContentTypeFormUrlencoded HttpContentType = "application/x-www-form-urlencoded" ContentTypeUnixDir HttpContentType = "httpd/unix-directory" ContentTypeStream HttpContentType = "text/event-stream" )
func (HttpContentType) String ¶
func (e HttpContentType) String() string
type HttpMethod ¶
type HttpMethod string
const ( GET HttpMethod = "GET" POST HttpMethod = "POST" PUT HttpMethod = "PUT" DELETE HttpMethod = "DELETE" PATCH HttpMethod = "PATCH" HEAD HttpMethod = "HEAD" CONNECT HttpMethod = "CONNECT" OPTIONS HttpMethod = "OPTIONS" TRACE HttpMethod = "TRACE" )
func (HttpMethod) String ¶
func (e HttpMethod) String() string
type HttpRespCharset ¶
type HttpRespCharset string
const (
UTF8 HttpRespCharset = "utf-8"
)
func (HttpRespCharset) String ¶
func (e HttpRespCharset) String() string
type HttpRespCode ¶
type HttpRespCode int
const ( Continue HttpRespCode = 100 SwitchingProtocol HttpRespCode = 101 OK HttpRespCode = 200 Created HttpRespCode = 201 Accepted HttpRespCode = 202 NonAuthoritativeInformation HttpRespCode = 203 NoContent HttpRespCode = 204 ResetContent HttpRespCode = 205 PartialContent HttpRespCode = 206 MultipleChoice HttpRespCode = 300 MovedPermanently HttpRespCode = 301 Found HttpRespCode = 302 SeeOther HttpRespCode = 303 NotModified HttpRespCode = 304 UseProxy HttpRespCode = 305 TemporaryRedirect HttpRespCode = 307 PermanentRedirect HttpRespCode = 308 BadRequest HttpRespCode = 400 PaymentRequired HttpRespCode = 402 Forbidden HttpRespCode = 403 NotFound HttpRespCode = 404 MethodNotAllowed HttpRespCode = 405 NotAcceptable HttpRespCode = 406 ProxyAuthenticationRequired HttpRespCode = 407 RequestTimeout HttpRespCode = 408 Conflict HttpRespCode = 409 Gone HttpRespCode = 410 LengthRequired HttpRespCode = 411 PreconditionFailed HttpRespCode = 412 RequestEntityTooLarge HttpRespCode = 413 RequestURITooLong HttpRespCode = 414 UnsupportedMediaType HttpRespCode = 415 RequestedRangeNotSatisfiable HttpRespCode = 416 ExpectationFailed HttpRespCode = 417 InternalServerError HttpRespCode = 500 Implemented HttpRespCode = 501 BadGateway HttpRespCode = 502 GatewayTimeout HttpRespCode = 504 HTTPVersionNotSupported HttpRespCode = 505 )
func (HttpRespCode) Int ¶
func (e HttpRespCode) Int() int
type HttpRespLangType ¶
type HttpRespLangType string
const ( LangJSON HttpRespLangType = "json" LangXML HttpRespLangType = "xml" LangHTML HttpRespLangType = "html" LangTEXT HttpRespLangType = "text" LangEventStream HttpRespLangType = "event-stream" )
func (HttpRespLangType) String ¶
func (e HttpRespLangType) String() string
type IntegrationFuncExtendStatus ¶
type IntegrationFuncExtendStatus string
const ( IntegrationFuncIsExtend IntegrationFuncExtendStatus = "YES" IntegrationFuncIsNotExtend IntegrationFuncExtendStatus = "NO" )
func (IntegrationFuncExtendStatus) String ¶
func (e IntegrationFuncExtendStatus) String() string
type IntegrationFuncOverridable ¶
type IntegrationFuncOverridable string
const ( IntegrationFuncCanOverridable IntegrationFuncOverridable = "YES" IntegrationFuncCanNotOverridable IntegrationFuncOverridable = "NO" )
func (IntegrationFuncOverridable) String ¶
func (e IntegrationFuncOverridable) String() string
type MessageSendStatus ¶
type MessageSendStatus string
const ( MessageCreated MessageSendStatus = "created" MessageSendSuccess MessageSendStatus = "send_success" MessageSendFailed MessageSendStatus = "send_failed" MessageApprovalInProgress MessageSendStatus = "approval_in_progress" MessageApprovalAgreed MessageSendStatus = "approval_agreed" MessageApprovalReject MessageSendStatus = "approval_reject" )
func (MessageSendStatus) String ¶
func (e MessageSendStatus) String() string
type MessageServiceType ¶
type MessageServiceType string
const ( ServiceTypeApproval MessageServiceType = "approval" ServiceTypeInfo MessageServiceType = "info" )
func (MessageServiceType) String ¶
func (e MessageServiceType) String() string
type MessageSource ¶
type MessageSource string
const ( MessageSourceEndpoint MessageSource = "endpoint" MessageSourceJoinProject MessageSource = "join_project" MessageSourceAuditProjectRes MessageSource = "audit_project_res" )
func (MessageSource) String ¶
func (e MessageSource) String() string
type MetricsType ¶
type MetricsType string
const ( Summarization MetricsType = "summarization" AnswerRelevancy MetricsType = "answer_relevancy" Faithfulness MetricsType = "faithfulness" ContextualPrecision MetricsType = "contextual_precision" ContextualRecall MetricsType = "contextual_recall" ContextualRelevancy MetricsType = "contextual_relevancy" Hallucination MetricsType = "hallucination" Bias MetricsType = "bias" Toxicity MetricsType = "toxicity" Empty MetricsType = "" )
func (MetricsType) String ¶
func (e MetricsType) String() string
type MockPriority ¶
type MockPriority string
const ( MockPrioritySmart MockPriority = "smart" MockPriorityExample MockPriority = "example" )
type PlaceholderPrefix ¶
type PlaceholderPrefix string
const (
PlaceholderPrefixDatapool PlaceholderPrefix = "_dp"
)
func (PlaceholderPrefix) String ¶
func (e PlaceholderPrefix) String() string
type PlaceholderType ¶
type PlaceholderType string
const ( PlaceholderTypeEnvironmentVariable PlaceholderType = "environment_variable" PlaceholderTypeVariable PlaceholderType = "variable" PlaceholderTypeDatapool PlaceholderType = "datapool" PlaceholderTypeFunction PlaceholderType = "function" )
func (PlaceholderType) String ¶
func (e PlaceholderType) String() string
type ProcessorCategory ¶
type ProcessorCategory string
const ( ProcessorRoot ProcessorCategory = "processor_root" ProcessorInterface ProcessorCategory = "processor_interface" ProcessorGroup ProcessorCategory = "processor_group" ProcessorLogic ProcessorCategory = "processor_logic" ProcessorLoop ProcessorCategory = "processor_loop" ProcessorTimer ProcessorCategory = "processor_timer" ProcessorPrint ProcessorCategory = "processor_print" ProcessorVariable ProcessorCategory = "processor_variable" ProcessorAssertion ProcessorCategory = "processor_assertion" ProcessorCookie ProcessorCategory = "processor_cookie" ProcessorData ProcessorCategory = "processor_data" ProcessorCustomCode ProcessorCategory = "processor_custom_code" )
func (ProcessorCategory) ToString ¶
func (e ProcessorCategory) ToString() string
type ProcessorInterfaceSrc ¶
type ProcessorInterfaceSrc string
const ( InterfaceSrcDefine ProcessorInterfaceSrc = "define" InterfaceSrcCase ProcessorInterfaceSrc = "case" InterfaceSrcDiagnose ProcessorInterfaceSrc = "diagnose" InterfaceSrcCurl ProcessorInterfaceSrc = "curl" InterfaceSrcCustom ProcessorInterfaceSrc = "custom" )
type ProcessorType ¶
type ProcessorType string
const ( ProcessorRootDefault ProcessorType = "processor_root_default" ProcessorInterfaceDefault ProcessorType = "processor_interface_default" ProcessorGroupDefault ProcessorType = "processor_group_default" ProcessorTimerDefault ProcessorType = "processor_timer_default" ProcessorPrintDefault ProcessorType = "processor_print_default" ProcessorLogicIf ProcessorType = "processor_logic_if" ProcessorLogicElse ProcessorType = "processor_logic_else" ProcessorLoopTime ProcessorType = "processor_loop_time" ProcessorLoopIn ProcessorType = "processor_loop_in" ProcessorLoopRange ProcessorType = "processor_loop_range" ProcessorLoopUntil ProcessorType = "processor_loop_until" ProcessorVariableSet ProcessorType = "processor_variable_set" ProcessorVariableClear ProcessorType = "processor_variable_clear" ProcessorAssertionDefault ProcessorType = "processor_assertion_default" ProcessorExtractorBoundary ProcessorType = "processor_extractor_boundary" ProcessorExtractorJsonQuery ProcessorType = "processor_extractor_jsonquery" ProcessorExtractorHtmlQuery ProcessorType = "processor_extractor_htmlquery" ProcessorExtractorXmlQuery ProcessorType = "processor_extractor_xmlquery" ProcessorCookieSet ProcessorType = "processor_cookie_set" ProcessorCookieClear ProcessorType = "processor_cookie_clear" ProcessorDataDefault ProcessorType = "processor_data_default" ProcessorCustomCodeDefault ProcessorType = "processor_custom_code" )
func (ProcessorType) ToString ¶
func (e ProcessorType) ToString() string
type ProductStatus ¶
type ProductStatus string
const ( Active ProductStatus = "active" Closed ProductStatus = "closed" )
func (ProductStatus) String ¶
func (e ProductStatus) String() string
type ProgressStatus ¶
type ProgressStatus string
const ( Start ProgressStatus = "start" InProgress ProgressStatus = "in_progress" End ProgressStatus = "end" Cancel ProgressStatus = "cancel" Error ProgressStatus = "error" )
func (ProgressStatus) String ¶
func (e ProgressStatus) String() string
type ResultStatus ¶
type ResultStatus string
const ( Pass ResultStatus = "pass" Fail ResultStatus = "fail" Err ResultStatus = "err" Skip ResultStatus = "skip" Block ResultStatus = "block" )
func (ResultStatus) String ¶
func (e ResultStatus) String() string
type RoleSource ¶
type RoleSource string
const (
RoleSourceLy RoleSource = "ly"
)
func (RoleSource) String ¶
func (e RoleSource) String() string
type SeverityLevel ¶
type SeverityLevel int
const ( Critical SeverityLevel = 3 Blocker SeverityLevel = 2 Deadly SeverityLevel = 1 Major SeverityLevel = 4 Minor SeverityLevel = 5 Suggest SeverityLevel = 6 )
func (SeverityLevel) String ¶
func (e SeverityLevel) String() (ret string)
type SourceType ¶
type SourceType uint
const ( SwaggerSync SourceType = 1 SwaggerImport SourceType = 2 ThirdPartySync SourceType = 3 )
type SwitchStatus ¶
type SwitchStatus uint
const ( SwitchON SwitchStatus = 1 SwitchOFF SwitchStatus = 2 )
type TestStatus ¶
type TestStatus string
const ( Draft TestStatus = "draft" //草稿 Disabled TestStatus = "disabled" //已禁用 Submitted TestStatus = "submitted" //已提交 ToExecute TestStatus = "to_execute" //待执行 Executed TestStatus = "executed" //已执行 )
func (TestStatus) String ¶
func (e TestStatus) String() string
type ValueOperator ¶
type ValueOperator string
const ( Get ValueOperator = "get" Set ValueOperator = "set" Clear ValueOperator = "clear" )
func (ValueOperator) String ¶
func (e ValueOperator) String() string
type WsMsgCategory ¶
type WsMsgCategory string
const ( ProgressInProgress WsMsgCategory = "in_progress" ProgressEnd WsMsgCategory = "end" ProgressResult WsMsgCategory = "result" Processor WsMsgCategory = "processor" Initialize WsMsgCategory = "initialize" Statistic WsMsgCategory = "stat" Exception WsMsgCategory = "exception" )
func (WsMsgCategory) String ¶
func (e WsMsgCategory) String() string
Click to show internal directories.
Click to hide internal directories.