Deploy Virtual Services

Use this request to deploy a container based on the Virtual Service if it has not already been deployed.

To deploy a Virtual Service, you need to know your Workspace identifier and the Virtual Service identifier. The sample code uses a serviceMockId of 1234 and a workspaceId of 123456. Use the actual ID values of your Workspace and Virtual Service.

 

Minimum Parameters for Deploying a Virtual Service

The following parameters are the base parameters required to deploy a Virtual Service.

Deploy Virtual ServiceMinimum Configuration Sample

curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mocks/1234/deploy' \
  -X GET \
  -H 'accept: application/json;charset=UTF-8'

Deploy Virtual Service Request Attributes

Attributes

Response200 OK

{
  "apiVersion": 0,
  "error": "string",
  "limit": 0,
  "link": "string",
  "requestId": "string",
  "result": {
    "trackingId": "string",
    "trackingUrl": "string"
  },
  "skip": 0,
  "total": 0
}