Documentation ¶
Index ¶
- func ExecScenario(execObj *agentExec.ScenarioExecObj, selectedEnvironmentId int, ...) (session *agentExec.Session, err error)
- func GenConditionLogsForCase(obj *agentExec.InterfaceExecObj) (ret []interface{})
- func GetCasesToExec(req *agentExec.CasesExecReq) (ret agentExec.CaseExecProcessor)
- func GetInterfaceToExec(req v1.InterfaceCall) (ret agentExec.InterfaceExecObj)
- func GetMessageToExec(req *agentExec.MessageExecReq) (ret *agentExec.MessageExecObj)
- func GetPlanNormalData(req *agentExec.PlanExecReq) (ret agentDomain.Report, err error)
- func GetPlanToExec(req *agentExec.PlanExecReq) (ret *agentExec.PlanExecObj)
- func GetScenarioNormalData(req *agentExec.ScenarioExecReq) (ret agentDomain.Report)
- func GetScenarioToExec(req *agentExec.ScenarioExecReq) (ret *agentExec.ScenarioExecObj)
- func ParseSpec(req v1.ParseSpecReq) (err error)
- func PostRequest(originalReqUri string, req *domain.DebugData) (err error)
- func PreRequest(req *domain.DebugData, execUuid string) (originalReqUri string, err error)
- func RequestInterface(req *domain.DebugData) (ret domain.DebugResponse, err error)
- func RestoreEntityFromRawAndSetParent(root *agentExec.Processor) (err error)
- func RunCases(req *agentExec.CasesExecReq, localVarsCache iris.Map, wsMsg *websocket.Message) (err error)
- func RunInterface(call agentDomain.InterfaceCall) (resultReq domain.DebugData, resultResp domain.DebugResponse, err error)
- func RunMessage(req *agentExec.MessageExecReq, wsMsg *websocket.Message) (err error)
- func RunPlan(req *agentExec.PlanExecReq, localVarsCache iris.Map, wsMsg *websocket.Message) (err error)
- func RunScenario(req *agentExec.ScenarioExecReq, localVarsCache iris.Map, ...) (err error)
- func StartExec(req agentDomain.WsReq, wsMsg *websocket.Message) (err error)
- func StopExec(execUuid string, wsMsg *websocket.Message) (err error)
- func SubmitInterfaceResult(execObj agentExec.InterfaceExecObj, respObj domain.DebugResponse, ...) (err error)
- func SubmitPlanResult(result agentDomain.PlanExecResult, planId int, serverUrl, token string, ...) (report agentDomain.Report, err error)
- func SubmitScenarioResult(result agentDomain.ScenarioExecResult, scenarioId uint, ...) (report agentDomain.Report, err error)
- func UpdateUrl(debugData domain.DebugData) (reqUrl, originalReqUri string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecScenario ¶
func GenConditionLogsForCase ¶
func GenConditionLogsForCase(obj *agentExec.InterfaceExecObj) (ret []interface{})
func GetCasesToExec ¶
func GetCasesToExec(req *agentExec.CasesExecReq) (ret agentExec.CaseExecProcessor)
for cases exec
func GetInterfaceToExec ¶
func GetInterfaceToExec(req v1.InterfaceCall) (ret agentExec.InterfaceExecObj)
for interface invocation in both endpoint and scenario
func GetMessageToExec ¶
func GetMessageToExec(req *agentExec.MessageExecReq) (ret *agentExec.MessageExecObj)
func GetPlanNormalData ¶
func GetPlanNormalData(req *agentExec.PlanExecReq) (ret agentDomain.Report, err error)
func GetPlanToExec ¶
func GetPlanToExec(req *agentExec.PlanExecReq) (ret *agentExec.PlanExecObj)
for plan exec
func GetScenarioNormalData ¶
func GetScenarioNormalData(req *agentExec.ScenarioExecReq) (ret agentDomain.Report)
func GetScenarioToExec ¶
func GetScenarioToExec(req *agentExec.ScenarioExecReq) (ret *agentExec.ScenarioExecObj)
for scenario exec
func ParseSpec ¶
func ParseSpec(req v1.ParseSpecReq) (err error)
func PreRequest ¶
func RequestInterface ¶
func RequestInterface(req *domain.DebugData) (ret domain.DebugResponse, err error)
func RestoreEntityFromRawAndSetParent ¶
func RestoreEntityFromRawAndSetParent(root *agentExec.Processor) (err error)
func RunInterface ¶
func RunInterface(call agentDomain.InterfaceCall) (resultReq domain.DebugData, resultResp domain.DebugResponse, err error)
func RunMessage ¶
func RunMessage(req *agentExec.MessageExecReq, wsMsg *websocket.Message) (err error)
func RunScenario ¶
func SubmitInterfaceResult ¶
func SubmitInterfaceResult(execObj agentExec.InterfaceExecObj, respObj domain.DebugResponse, resultStatus consts.ResultStatus, serverUrl, token string) (err error)
func SubmitPlanResult ¶
func SubmitPlanResult(result agentDomain.PlanExecResult, planId int, serverUrl, token string, tenantId consts.TenantId) ( report agentDomain.Report, err error)
func SubmitScenarioResult ¶
func SubmitScenarioResult(result agentDomain.ScenarioExecResult, scenarioId uint, serverUrl, token string, tenantId consts.TenantId) ( report agentDomain.Report, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.