Load test drops

Last Update: 12/5/2016

api-version = 1.0

If you haven't already, look at the information on getting started with these APIs.

Get a test drop

GET https://{account}.vsclt.visualstudio.com/_apis/clt/testdrops/{testdropid}
Parameter Type Required Description
URL
account string Yes Visual Studio Team Services account.
testDropId string Yes Identifier of the test drop.

Sample request

GET https://fabrikam.vsclt.visualstudio.com/_apis/clt/TestDrops/f2f44a65-c94b-450a-83ab-ac2303555135

Sample response

Status code: 200
{
  "id": "f2f44a65-c94b-450a-83ab-ac2303555135",
  "testRunId": "aeee0697-d734-43d7-956e-e662252c265c",
  "dropType": "TestServiceBlobDrop",
  "createdDate": "2013-11-18T10:22:15.7497428Z",
  "loadTestDefinition": null,
  "accessData": {
    "sasKey": "?se=2014-06-16T10%3A10%3A26Z&sr=c&si=sas_tenant_policyaeee0697-d734-43d7-956e-e662252c265c&sig=wlpv9wI8qReYLX76p6zCjWPfdYz%2FkXIOKxFmFZ0mLps%3D",
    "dropContainerUrl": "http://127.0.0.1:10000/devstoreaccount1/ets-containerfor-aeee0697-d734-43d7-956e-e662252c265c/156aa495-2dac-4903-8125-6b6ca3279208"
  }
}

Create a test drop

Creates a new test drop. Refer to Test Drop Type for the detailed description of the test drop resource type. The test drop enables users to upload test specific data, such as binaries, data files and configuration. The upload of all the necessary test files must be complete before a test run can be queued. If some of the required files are missing or incomplete, the test run creation can fail.

POST https://{account}.vsclt.visualstudio.com/_apis/clt/testdrops
Parameter Type Required Description
URL
account string Yes Visual Studio Team Services account.
Payload
dropType string No The type of the test drop. Currently, only TestServiceBlobDrop is supported.

Sample request

POST https://fabrikam.vsclt.visualstudio.com/_apis/clt/TestDrops
{
  "dropType": "TestServiceBlobDrop"
}

Sample response

Status code: 200
{
  "id": "ed45ed32-dafb-4178-ba7e-ad25755348f8",
  "dropType": "TestServiceBlobDrop",
  "createdDate": "2014-06-23T06:13:34.7232698Z",
  "accessData": {
    "sasKey": "?sv=2012-02-12&se=2014-06-23T08%3A13%3A34Z&sr=c&si=sas_tenant_policyb4e51292-6cd7-4631-a1eb-caeaf4031abb&sig=zigGSss1xVwz6qDJzmwiR8KzWF%2Bq%2FTiyNegCV%2FCKfrg%3D",
    "dropContainerUrl": "http://127.0.0.1:10000/devstoreaccount1/ets-containerfor-b4e51292-6cd7-4631-a1eb-caeaf4031abb/ed45ed32-dafb-4178-ba7e-ad25755348f8"
  },
  "testRunId": null,
  "loadTestDefinition": null
}