Service Virtualization

  • 1.  Is there an API available to create MAR file?

    Posted May 16, 2018 01:45 PM

    I wanted to check if we can create a mar file of the devtest project via an API. 

    If yes then i can use a Jenkins job to generate a MAR file and deploy the service on a server. I know that there is a way to deploy a mar file from github via Jenkins but do we have a away to generate a mar file from github via API?

     

    Thanks,

    Sabarish S



  • 2.  Re: Is there an API available to create MAR file?
    Best Answer

    Broadcom Employee
    Posted Jun 12, 2018 04:53 AM

    Hello Sabarish,

     

    Currently, DevTest REST API calls do not have the function to create a MAR file. You can create an IDEA to request this as a feature enhancement for the product. The IDEA would be evaluated by our Product Management team and may be considered for implementation in future releases. 

     

    Regards,

    Javed



  • 3.  Re: Is there an API available to create MAR file?

    Broadcom Employee
    Posted Jun 12, 2018 09:06 AM

    Hi Sabarish,

     

    There is currently no web service API available to create a MAR.  However, there is a CLI in [DevTestHome]/bin called "MakeMar.exe" which you can use in your Jenkins pipeline.  Type MakeMar without arguments to see the options available.

     

    --Mike



  • 4.  Re: Is there an API available to create MAR file?