The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
svCreateAndDeployVirtualService
: CA Service Virtualization - Create And Deploy Virtual ServicesvDeployTest
: CA Service Virtualization - Deploy TestsvDeployVirtualService
: CA Service Virtualization - Deploy Virtual ServicesvStartVirtualService
: CA Service Virtualization - Start Virtual ServicesvStopVirtualService
: CA Service Virtualization - Stop Virtual ServicesvPublishTestReport
: CA Service Virtualization Report PublishersvUndeployVirtualService
: CA Service Virtualization - Undeploy Virtual ServicesvCreateAndDeployVirtualService
: CA Service Virtualization - Create And Deploy Virtual ServiceCreate and deploy Virtual Service from VSI/VSM, RR Pairs, or the following specifications: Swagger, WSDL, or RAML.
useCustomRegistry
boolean
host
String
port
String
vseName
String
config
Example of using a configuration object that includes port and SSL information
{ "virtualService": { "version": "2", "name": "API_Test_1", "description": "Invoke API V2", "status": "" }, "transportProtocol": { "typeId": "HTTP", "basePath": "/", "useGateway": true, "duptxns": true, "hostHeaderPassThrough": false }, "dataProtocol": { "forRequest": true, "typeId": "RESTDPH" } }
String
deploy
String
undeploy
String
inputFile1
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
String
inputFile2
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
String
activeConfig
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
String
dataFiles
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
String
swaggerurl
String
ramlurl
String
wadlurl
String
tokenCredentialId
The ID for the integration token from the Credentials plugin to be used to connect to Registry endpoint. The "Kind" of the credential must be "Username with password".
String
secured
boolean
svDeployTest
: CA Service Virtualization - Deploy TestDeploys and starts CA DevTest test or test suite provided as a .mar file.
Throws exception if .mar file is incorrect, authorization to CA DevTest fails or connection to CA DevTest cannot be established.
useCustomRegistry
boolean
host
String
port
String
marFilePath
String
testType
String
tokenCredentialId
The ID for the integration token from the Credentials plugin to be used to connect to Registry endpoint. The "Kind" of the credential must be "Username with password".
String
secured
boolean
svDeployVirtualService
: CA Service Virtualization - Deploy Virtual ServiceDeploys and starts virtual service provided as a .mar file to target VSE. More services could be provided using comma or newline separator.
Throws exception if .mar file is incorrect, virtual service is already deployed, authorization to CA DevTest fails or connection to CA DevTest cannot be established.
useCustomRegistry
boolean
host
String
port
String
vseName
String
marFilesPaths
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
String
tokenCredentialId
The ID for the integration token from the Credentials plugin to be used to connect to Registry endpoint. The "Kind" of the credential must be "Username with password".
String
secured
boolean
svStartVirtualService
: CA Service Virtualization - Start Virtual ServiceStarts virtual service that is already deployed on target VSE. More services could be started using comma or newline separator.
Throws exception if virtual service does not exist on specified VSE, authorization to CA DevTest fails or connection to CA DevTest cannot be established.
useCustomRegistry
boolean
host
String
port
String
vseName
String
vsNames
String
tokenCredentialId
The ID for the integration token from the Credentials plugin to be used to connect to Registry endpoint. The "Kind" of the credential must be "Username with password".
String
secured
boolean
svStopVirtualService
: CA Service Virtualization - Stop Virtual ServiceStops virtual service that is running on target VSE. More services could be stopped using comma or newline separator.
Throws exception if virtual service is not running on specified VSE, authorization to CA DevTest fails or connection to CA DevTest cannot be established.
useCustomRegistry
boolean
host
String
port
String
vseName
String
vsNames
String
tokenCredentialId
The ID for the integration token from the Credentials plugin to be used to connect to Registry endpoint. The "Kind" of the credential must be "Username with password".
String
secured
boolean
svPublishTestReport
: CA Service Virtualization Report PublisherGenerates simple test or test suite report that is available as a part of project run.
svUndeployVirtualService
: CA Service Virtualization - Undeploy Virtual ServiceUndeploys (removes) virtual service from specified VSE. More services could be provided using comma or newline separator.
Throws exception if virtual service does not exist on specified VSE, authorization to CA DevTest fails or connection to CA DevTest cannot be established
useCustomRegistry
boolean
host
String
port
String
vseName
String
vsNames
String
tokenCredentialId
The ID for the integration token from the Credentials plugin to be used to connect to Registry endpoint. The "Kind" of the credential must be "Username with password".
String
secured
boolean
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.