Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scenario ¶
type Scenario struct { ID int64 `json:"id"` Name string `json:"name"` Type string `json:"type"` Gun string `json:"gun"` LastModified string `json:"lastmodified"` Projects string `json:"projects"` ThreadGroups []ThreadGroup `json:"threadGroups"` DBClient *postgres.PGClient `json:",omitempty"` }
Scenario - struct for scenario
func (*Scenario) CheckScenario ¶
CheckScenario - func for delete secenario(rows db and files)
func (*Scenario) DeleteScenario ¶
DeleteScenario - func for delete secenario(rows db and files)
func (*Scenario) GetNameForID ¶
GetNameForID - func for insert new scenario values in table
func (*Scenario) InsertToDB ¶
InsertToDB - func for insert new scenario values in table
type State ¶
type State struct { RunID int64 `json:"runid"` Name string `json:"name"` Type string `json:"type"` StartTime int64 `json:"starttime"` EndTime int64 `json:"endtime"` Gun string `json:"gun"` Generators []hosts.Host `json:"generators"` }
State - struct for state scenario
type ThreadGroup ¶
type ThreadGroup struct { ThreadGroupName string `json:"threadGroupName"` ThreadGroupType string `json:"threadGroupType"` ThreadGroupParams []ThreadGroupParams `json:"threadGroupParams"` }
ThreadGroup - struct for the jmeter scenario tread groups params
type ThreadGroupParams ¶
type ThreadGroupParams struct { Type string `json:"type"` Name string `json:"name"` Value string `json:"value"` }
ThreadGroupParams - simple jmeter tread groups param from TreadGroupsParams struct
Click to show internal directories.
Click to hide internal directories.