Thanks for your answer.
To deploy a Test suite, we should first create MAR file manually and then deploy it in jenkins:
stage('CA Service Virtualization Start TestSuite') {
svDeployTest testType: 'suites', marFilePath: 'folder/testsuite.mar'
}
Is there any way that I select TestSuite only, then in pipeline script
MAR file should be created automatically and deployed?
Regards
Amanpreet Aulakh
Original Message:
Sent: 03-27-2020 12:14 AM
From: Srikanth Gajawada
Subject: Generate MAR file automatically DevTest 10.4
Hello Amanpreet,
If you are looking for a way to generate MAR file for deployed virtual service, Starting from Devtest 10.5 version, there are few API calls exists to manage services. Among those, a API call " GET /vses/{vseName}/services/{virtualServiceName} " you can use it in pipeline to generate mar file.
For more information about this API, please go through documentation link given below:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/devtest-solutions/10-5/using/using-the-apis/service-virtualization-api-v3.html
Note: This API is available in 10.4 version.
Thanks,
Srikanth
Original Message:
Sent: 03-26-2020 03:01 PM
From: Amanpreet Aulakh
Subject: Generate MAR file automatically DevTest 10.4
Hi Team
Is there any way to generate the MAR file automatically in DevTest 10.4 for use within the pipeline to eliminate the manual effort of generating the mar file?
Thanks
------------------------------
Amanpreet Aulakh
------------------------------