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
}