Start Test Run
This Eggplant Performance Test Controller REST method starts a new test run.
URL
/test_controller/api/1.0/<workspace>/<project>/<test>/start
HTTP Method
POST: Starts a new test run
POST Data Parameters
Parameter | Type | Description |
---|---|---|
series | String | The name of the series to put the results of this test run into. |
notes | String | Any notes to add to the test run. (optional) |
workspaceProtectionPassword | String | The workspace protection password (only required if a password has been set for this workspace). |
pollInjectorInterval | Integer | The interval in milliseconds at which each injector will send monitoring data back to the test controller server (optional). |
fileTransferQueueSize | Integer | The maximum number of injectors to attempt to transfer files to concurrently (optional). |
fileRetrievalQueueSize | Integer | The maximum number of injectors to retrieve files from concurrently (optional). |
maxEvents | Integer | The maximum number of errors/warnings to queue on each injector (optional). |
Response Parameters
Parameter | Type | Description |
---|---|---|
workspaceProtectionPasswordCheck | Object | Whether the provided workspace protection password is correct. |
jmeterConfigurationCheck | Object | Whether or not JMeter is required for this test. |
dataConfigurationCheck | Object | Whether or not the test data was configured correctly. |
sourceCodeCheck | Object | Whether or not the project has been built and is up to date. |
injectorConfigurationCheck | Object | Whether or not all injectors have been configured correctly. |
licenseCheck | Object | Whether or not you have sufficient licenses to run the test. |
injectorRunningCheck | Object | Whether or not all remote injectors can be contacted. |
Example Request
http:/test_controller/api/1.0/Demo%20Workspace/Demo/demoScript/start
POST Data
{
"series": "Default Series"
}
Example Response
{
"workspaceProtectionPasswordCheck": {
"message": "No workspace protection password is required",
"success": true
},
"jmeterConfigurationCheck": {
"message": "JMeter not required for this test",
"success": true
},
"dataConfigurationCheck": {
"message": "Data configuration OK",
"success": true
},
"sourceCodeCheck": {
"message": "Project has been built and is up to date",
"success": true
},
"injectorConfigurationCheck": {
"message": "Injector configuration is valid",
"success": true
},
"licenseCheck": {
"message": "License is valid",
"success": true
},
"injectorRunningCheck": {
"localhost": {
"message": "Injector will be started automatically when the test is started.",
"success": true
}
}
}