Resources > Timeslots > Timeslots (Create, Get all timeslots)

Timeslots (Create, Get all timeslots)


Adds a timeslot or retrieves a list of existing timeslots.




Body of the request should contain a resource folder description in xml or json format.

HTTP Method

POST: Creates a timeslot.

GET: Returns the timeslots in the body of the response.



One of:



Request Body:

POST: An XML containing the timeslot reservation.

GET: No request body.

Fields that can be used in the request body during timeslot creation:

Element Description
StartTime The UTC date and time (in hours and minutes) that the timeslot starts.
DurationInMinutes The duration of the timeslot (in minutes).
Description A description of the timeslot.
Name Name of the timeslot.

The type of demands for timeslot creation. Can include:

  • ControllerDemandManual. Fields include: HostID (mandatory), IsLoadGenerator (optional)

  • ControllerDemandAutomatic. Contains no fields; any host can be allocated as a Controller.

  • LoadGeneratorDemandManual. Fields: HostID (mandatory)

  • LoadGeneratorDemandAutomatic. Fields: HostsToReserve (mandatory), LocationID (optional)

VusersNumber The number of Vusers requested for the timeslot.
VudsNumber The number of VUDs that are defined in the linked test.
PostRunAction The action to be taken when the test run is complete.
LoadTestInstanceID Enables you to link a performance test instance to the timeslot.
IsTestAutostart The linked tests or test sets automatically start running at the start of the timeslot, without any manual intervention (true/false).



One of:



HTML Return Code:

One of the HTTP Return Codes

HTML Body:

GET: Returns the data on the entity in the response. See Timeslot XML.

See Also

Timeslots (Delete a timeslot)
Timeslots (Check availability)
Timeslot XML