Stop a Virtual Service
To stop 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 Stopping a Virtual Service
The following parameters are the base parameters required to stop a Virtual Service.
Stop Virtual ServiceMinimum Configuration Sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mocks/1234/stop' \
-X GET \
-H 'accept: application/json;charset=UTF-8'
Stop Virtual Service Request Attributes
Attributes
-
serviceMockId
integerrequired
The Virtual Service identifier
-
workspaceId
integerrequired
The Workspace identifier
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"result": [],
"skip": 0,
"total": 0
}