Timeslots (Create, Get all timeslots)

Available in versions: 12.56 and later


Adds a timeslot or retrieves a list of existing timeslots.




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

HTTP Method

POST: Creates a timeslot.

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



Content-Type: application/xml



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. The post-run action can be: DoNothing, CollateOnly, or CollateAnalyze.
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