Configure or reconfigure virtual services
To configure or reconfigure an existing 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 configuring a virtual service
The following parameters are the base parameters required to configure a virtual service.
Configure virtual serviceMinimum configuration sample
curl 'https://mock.blazemeter.com/api/v1/workspaces/123456/service-mocks/1234/configure' \
-X GET \
-H 'accept: application/json;charset=UTF-8'
Configure virtual service request attributes
Attributes
-
serviceMockIdintegerrequired
The virtual service identifier
-
workspaceIdintegerrequired
The workspace identifier
Response200 OK
{
"apiVersion": 0,
"error": "string",
"limit": 0,
"link": "string",
"requestId": "string",
"result": {
"trackingId": "string",
"trackingUrl": "string"
},
"skip": 0,
"total": 0
}