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 : String
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" } }
deploy : String
undeploy : String
inputFile1 : String
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
inputFile2 : String
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
activeConfig : String
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
dataFiles : String
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
swaggerurl : String
ramlurl : String
wadlurl : String
tokenCredentialId : String
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".
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 : String
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".
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 : String
for files in job workspace you can specify:
for files on the DevTest machine you can specify:
tokenCredentialId : String
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".
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 : String
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".
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 : String
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".
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 : String
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".
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.