virtual_services_service
Manage virtual services in BlazeMeter Service Virtualization: list, create, read, update, and select services within a workspace.
Instructions
Operations on services.
Use this when a user needs to create, read, update, list, or select a service.
Actions:
- read: Read a Service. Get the information of a service.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The id of the workspace to list services from.
service_id (int): Mandatory. The id of the service to get information.
- list: List all services.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The id of the workspace to list services from.
limit (int, default=10, valid=[1 to 50]): The number of services to list.
offset (int, default=0): Number of services to skip.
- create: Create a new service.
args(dict): Dictionary with the following required parameters:
service_name (str): Mandatory. The required name of the service to create.
workspace_id (int): Mandatory. The id of the workspace to create service in.
- update: Update service.
args(dict): Dictionary with the following required parameters:
workspace_id (int): Mandatory. The id of the workspace to update service in.
id (int): Mandatory. The id of the service for update.
service_name (str): Mandatory. The new name of the service.
Service Schema:
{'properties': {'id': {'description': 'The unique identifier of the service', 'title': 'Id', 'type': 'integer'}, 'name': {'description': 'The name of the service', 'title': 'Name', 'type': 'string'}}, 'required': ['id', 'name'], 'title': 'Service', 'type': 'object'}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | ||
| action | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| info | No | Info messages | |
| error | No | Error message | |
| total | No | Total available records | |
| result | No | Result | |
| warning | No | Warning messages | |
| has_more | No | More records per page to list |