public class Job extends AbstractModel
header, skipSign| Constructor and Description |
|---|
Job() |
Job(Job source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getAbortReason()
Get Abort reason.
|
String[] |
getConfigs()
Get Deprecated.
|
String |
getCreatedAt()
Get Create Time.
|
String |
getCronId()
Get Cron job ID.
|
TestData[] |
getDatasets()
Get Test datasets.
|
Boolean |
getDebug()
Get Whether the job is a debug job.
|
DomainNameConfig |
getDomainNameConfig()
Get Domain binding configuration.
|
Long |
getDuration()
Get Job duration.
|
String |
getEndTime()
Get End time.
|
Float |
getErrorRate()
Get Error rate percentage.
|
String[] |
getExtensions()
Get Deprecated.
|
String |
getJobId()
Get Job ID.
|
String |
getJobOwner()
Get Job owner.
|
Load |
getLoad()
Get Load configuration.
|
LoadSource[] |
getLoadSourceInfos()
Get Stress machine information.
|
LoadSource |
getLoadSources()
Get Deprecated.
|
Long |
getMaxRequestsPerSecond()
Get Maximum requests per second.
|
Long |
getMaxVirtualUserCount()
Get Maximum VU.
|
String |
getMessage()
Get Job status description.
|
Float |
getNetworkReceiveRate()
Get Bytes received per second.
|
Float |
getNetworkSendRate()
Get Bytes sent per second.
|
String |
getNote()
Get Note.
|
NotificationHook[] |
getNotificationHooks()
Get Notification event callback.
|
Long |
getPayMode()
Get Billing type.
|
FileInfo[] |
getPlugins()
Get Extension file information.
|
String |
getProjectId()
Get Project ID.
|
String |
getProjectName()
Get Project name.
|
ProtocolInfo[] |
getProtocols()
Get Protocol file information.
|
FileInfo[] |
getRequestFiles()
Get Request file information.
|
Float |
getRequestsPerSecond()
Get Average requests per second.
|
Float |
getRequestTotal()
Get Total number of requests.
|
Float |
getResponseTimeAverage()
Get Average response time.
|
Float |
getResponseTimeMax()
Get Maximum response time.
|
Float |
getResponseTimeMin()
Get Minimum response time.
|
Float |
getResponseTimeP90()
Get 90th percentile response time.
|
Float |
getResponseTimeP95()
Get 95th percentile response time.
|
Float |
getResponseTimeP99()
Get 99th percentile response time.
|
String |
getScenarioId()
Get Scenario ID.
|
String |
getScenarioName()
Get Scenario name.
|
String[] |
getScripts()
Get Deprecated.
|
String |
getStartTime()
Get Start time.
|
Long |
getStatus()
Get Job status, values including:
JobUnknown: 0, JobCreated: 1, JobPending: 2, JobPreparing: 3, JobSelectClustering: 4, JobCreateTasking: 5, JobSyncTasking: 6,
JobRunning:11,JobFinished:12,JobPrepareException:13,JobFinishException:14,JobAborting:15,JobAborted:16,JobAbortException:17,JobDeleted:18,
JobSelectClusterException:19,JobCreateTaskException:20,JobSyncTaskException:21
Note: This field may return null, indicating that no valid value is found.
|
ScriptInfo[] |
getTestScripts()
Get Test script information.
|
String |
getType()
Get Scenario type.
|
Long |
getUsage()
Get Job VUM usage.
|
void |
setAbortReason(Long AbortReason)
Set Abort reason.
|
void |
setConfigs(String[] Configs)
Set Deprecated.
|
void |
setCreatedAt(String CreatedAt)
Set Create Time.
|
void |
setCronId(String CronId)
Set Cron job ID.
|
void |
setDatasets(TestData[] Datasets)
Set Test datasets.
|
void |
setDebug(Boolean Debug)
Set Whether the job is a debug job.
|
void |
setDomainNameConfig(DomainNameConfig DomainNameConfig)
Set Domain binding configuration.
|
void |
setDuration(Long Duration)
Set Job duration.
|
void |
setEndTime(String EndTime)
Set End time.
|
void |
setErrorRate(Float ErrorRate)
Set Error rate percentage.
|
void |
setExtensions(String[] Extensions)
Set Deprecated.
|
void |
setJobId(String JobId)
Set Job ID.
|
void |
setJobOwner(String JobOwner)
Set Job owner.
|
void |
setLoad(Load Load)
Set Load configuration.
|
void |
setLoadSourceInfos(LoadSource[] LoadSourceInfos)
Set Stress machine information.
|
void |
setLoadSources(LoadSource LoadSources)
Set Deprecated.
|
void |
setMaxRequestsPerSecond(Long MaxRequestsPerSecond)
Set Maximum requests per second.
|
void |
setMaxVirtualUserCount(Long MaxVirtualUserCount)
Set Maximum VU.
|
void |
setMessage(String Message)
Set Job status description.
|
void |
setNetworkReceiveRate(Float NetworkReceiveRate)
Set Bytes received per second.
|
void |
setNetworkSendRate(Float NetworkSendRate)
Set Bytes sent per second.
|
void |
setNote(String Note)
Set Note.
|
void |
setNotificationHooks(NotificationHook[] NotificationHooks)
Set Notification event callback.
|
void |
setPayMode(Long PayMode)
Set Billing type.
|
void |
setPlugins(FileInfo[] Plugins)
Set Extension file information.
|
void |
setProjectId(String ProjectId)
Set Project ID.
|
void |
setProjectName(String ProjectName)
Set Project name.
|
void |
setProtocols(ProtocolInfo[] Protocols)
Set Protocol file information.
|
void |
setRequestFiles(FileInfo[] RequestFiles)
Set Request file information.
|
void |
setRequestsPerSecond(Float RequestsPerSecond)
Set Average requests per second.
|
void |
setRequestTotal(Float RequestTotal)
Set Total number of requests.
|
void |
setResponseTimeAverage(Float ResponseTimeAverage)
Set Average response time.
|
void |
setResponseTimeMax(Float ResponseTimeMax)
Set Maximum response time.
|
void |
setResponseTimeMin(Float ResponseTimeMin)
Set Minimum response time.
|
void |
setResponseTimeP90(Float ResponseTimeP90)
Set 90th percentile response time.
|
void |
setResponseTimeP95(Float ResponseTimeP95)
Set 95th percentile response time.
|
void |
setResponseTimeP99(Float ResponseTimeP99)
Set 99th percentile response time.
|
void |
setScenarioId(String ScenarioId)
Set Scenario ID.
|
void |
setScenarioName(String ScenarioName)
Set Scenario name.
|
void |
setScripts(String[] Scripts)
Set Deprecated.
|
void |
setStartTime(String StartTime)
Set Start time.
|
void |
setStatus(Long Status)
Set Job status, values including:
JobUnknown: 0, JobCreated: 1, JobPending: 2, JobPreparing: 3, JobSelectClustering: 4, JobCreateTasking: 5, JobSyncTasking: 6,
JobRunning:11,JobFinished:12,JobPrepareException:13,JobFinishException:14,JobAborting:15,JobAborted:16,JobAbortException:17,JobDeleted:18,
JobSelectClusterException:19,JobCreateTaskException:20,JobSyncTaskException:21
Note: This field may return null, indicating that no valid value is found.
|
void |
setTestScripts(ScriptInfo[] TestScripts)
Set Test script information.
|
void |
setType(String Type)
Set Scenario type.
|
void |
setUsage(Long Usage)
Set Job VUM usage.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Job()
public Job(Job source)
public String getJobId()
public void setJobId(String JobId)
JobId - Job ID.
Note: This field may return null, indicating that no valid value is found.public String getScenarioId()
public void setScenarioId(String ScenarioId)
ScenarioId - Scenario ID.
Note: This field may return null, indicating that no valid value is found.public Load getLoad()
public void setLoad(Load Load)
Load - Load configuration.
Note: This field may return null, indicating that no valid value is found.public String[] getConfigs()
public void setConfigs(String[] Configs)
Configs - Deprecated.
Note: This field may return null, indicating that no valid value is found.public TestData[] getDatasets()
public void setDatasets(TestData[] Datasets)
Datasets - Test datasets.
Note: This field may return null, indicating that no valid value is found.public String[] getExtensions()
public void setExtensions(String[] Extensions)
Extensions - Deprecated.
Note: This field may return null, indicating that no valid value is found.public Long getStatus()
public void setStatus(Long Status)
Status - Job status, values including:
JobUnknown: 0, JobCreated: 1, JobPending: 2, JobPreparing: 3, JobSelectClustering: 4, JobCreateTasking: 5, JobSyncTasking: 6,
JobRunning:11,JobFinished:12,JobPrepareException:13,JobFinishException:14,JobAborting:15,JobAborted:16,JobAbortException:17,JobDeleted:18,
JobSelectClusterException:19,JobCreateTaskException:20,JobSyncTaskException:21
Note: This field may return null, indicating that no valid value is found.public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start time.
Note: This field may return null, indicating that no valid value is found.public String getEndTime()
public void setEndTime(String EndTime)
EndTime - End time.
Note: This field may return null, indicating that no valid value is found.public Long getMaxVirtualUserCount()
public void setMaxVirtualUserCount(Long MaxVirtualUserCount)
MaxVirtualUserCount - Maximum VU.
Note: This field may return null, indicating that no valid value is found.public String getNote()
public void setNote(String Note)
Note - Note.
Note: This field may return null, indicating that no valid value is found.public Float getErrorRate()
public void setErrorRate(Float ErrorRate)
ErrorRate - Error rate percentage.
Note: This field may return null, indicating that no valid value is found.public String getJobOwner()
public void setJobOwner(String JobOwner)
JobOwner - Job owner.
Note: This field may return null, indicating that no valid value is found.public LoadSource getLoadSources()
public void setLoadSources(LoadSource LoadSources)
LoadSources - Deprecated.
Note: This field may return null, indicating that no valid value is found.public Long getDuration()
public void setDuration(Long Duration)
Duration - Job duration.
Note: This field may return null, indicating that no valid value is found.public Long getMaxRequestsPerSecond()
public void setMaxRequestsPerSecond(Long MaxRequestsPerSecond)
MaxRequestsPerSecond - Maximum requests per second.
Note: This field may return null, indicating that no valid value is found.public Float getRequestTotal()
public void setRequestTotal(Float RequestTotal)
RequestTotal - Total number of requests.
Note: This field may return null, indicating that no valid value is found.public Float getRequestsPerSecond()
public void setRequestsPerSecond(Float RequestsPerSecond)
RequestsPerSecond - Average requests per second.
Note: This field may return null, indicating that no valid value is found.public Float getResponseTimeAverage()
public void setResponseTimeAverage(Float ResponseTimeAverage)
ResponseTimeAverage - Average response time.
Note: This field may return null, indicating that no valid value is found.public Float getResponseTimeP99()
public void setResponseTimeP99(Float ResponseTimeP99)
ResponseTimeP99 - 99th percentile response time.
Note: This field may return null, indicating that no valid value is found.public Float getResponseTimeP95()
public void setResponseTimeP95(Float ResponseTimeP95)
ResponseTimeP95 - 95th percentile response time.
Note: This field may return null, indicating that no valid value is found.public Float getResponseTimeP90()
public void setResponseTimeP90(Float ResponseTimeP90)
ResponseTimeP90 - 90th percentile response time.
Note: This field may return null, indicating that no valid value is found.public String[] getScripts()
public void setScripts(String[] Scripts)
Scripts - Deprecated.
Note: This field may return null, indicating that no valid value is found.public Float getResponseTimeMax()
public void setResponseTimeMax(Float ResponseTimeMax)
ResponseTimeMax - Maximum response time.
Note: This field may return null, indicating that no valid value is found.public Float getResponseTimeMin()
public void setResponseTimeMin(Float ResponseTimeMin)
ResponseTimeMin - Minimum response time.
Note: This field may return null, indicating that no valid value is found.public LoadSource[] getLoadSourceInfos()
public void setLoadSourceInfos(LoadSource[] LoadSourceInfos)
LoadSourceInfos - Stress machine information.
Note: This field may return null, indicating that no valid value is found.public ScriptInfo[] getTestScripts()
public void setTestScripts(ScriptInfo[] TestScripts)
TestScripts - Test script information.
Note: This field may return null, indicating that no valid value is found.public ProtocolInfo[] getProtocols()
public void setProtocols(ProtocolInfo[] Protocols)
Protocols - Protocol file information.
Note: This field may return null, indicating that no valid value is found.public FileInfo[] getRequestFiles()
public void setRequestFiles(FileInfo[] RequestFiles)
RequestFiles - Request file information.
Note: This field may return null, indicating that no valid value is found.public FileInfo[] getPlugins()
public void setPlugins(FileInfo[] Plugins)
Plugins - Extension file information.
Note: This field may return null, indicating that no valid value is found.public String getCronId()
public void setCronId(String CronId)
CronId - Cron job ID.
Note: This field may return null, indicating that no valid value is found.public String getType()
public void setType(String Type)
Type - Scenario type.
Note: This field may return null, indicating that no valid value is found.public DomainNameConfig getDomainNameConfig()
public void setDomainNameConfig(DomainNameConfig DomainNameConfig)
DomainNameConfig - Domain binding configuration.
Note: This field may return null, indicating that no valid value is found.public Boolean getDebug()
public void setDebug(Boolean Debug)
Debug - Whether the job is a debug job.
Note: This field may return null, indicating that no valid value is found.public Long getAbortReason()
public void setAbortReason(Long AbortReason)
AbortReason - Abort reason.
Note: This field may return null, indicating that no valid value is found.public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt - Create Time.
Note: This field may return null, indicating that no valid value is found.public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Project ID.
Note: This field may return null, indicating that no valid value is found.public NotificationHook[] getNotificationHooks()
public void setNotificationHooks(NotificationHook[] NotificationHooks)
NotificationHooks - Notification event callback.
Note: This field may return null, indicating that no valid value is found.public Float getNetworkReceiveRate()
public void setNetworkReceiveRate(Float NetworkReceiveRate)
NetworkReceiveRate - Bytes received per second.
Note: This field may return null, indicating that no valid value is found.public Float getNetworkSendRate()
public void setNetworkSendRate(Float NetworkSendRate)
NetworkSendRate - Bytes sent per second.
Note: This field may return null, indicating that no valid value is found.public String getMessage()
public void setMessage(String Message)
Message - Job status description.
Note: This field may return null, indicating that no valid value is found.public String getProjectName()
public void setProjectName(String ProjectName)
ProjectName - Project name.
Note: This field may return null, indicating that no valid value is found.public String getScenarioName()
public void setScenarioName(String ScenarioName)
ScenarioName - Scenario name.
Note: This field may return null, indicating that no valid value is found.public Long getPayMode()
public void setPayMode(Long PayMode)
PayMode - Billing type.
Note: This field may return null, indicating that no valid value is found.public Long getUsage()
public void setUsage(Long Usage)
Usage - Job VUM usage.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.