The task is used to view the state of the virtual service on Service Virtualization server.
Attribute | Description | Required |
projectFile | Project File (.vproj or .vproja) where is the desired service in. Project file has specified the server management url as well so we don't have to specify it separately (if you don't want to change it of course). | No (if you use the url parameter). |
url | The server's management endpoint (e.g. https://localhost:6085/management or http://localhost:6080/management) | No (if you use the projectFile parameter). |
username | Username for conencting to the server management endpoint. | No |
password | Password for conencting to the server management endpoint. | No |
service | The name of the service (or its ID) we want to view. | Yes |
report | Whether we want to print the runtime report of the servie as well (default is no). | No |
<svview url="https://localhost:6085" username="HPSV" password="secret" service="My Virtual Service" />Prints the basic info about the service called "My Virtual Sevice".
<svview url="https://localhost:6085" username="HPSV" password="secret" service="My Super Virtual Service" report="yes" />Prints the basic info plus the runtime report of the service called "My Super Virtual Sevice".