Service Virtualization

Expand all | Collapse all

.mar file creation for testcase using CLI

Jump to Best Answer
  • 1.  .mar file creation for testcase using CLI

    Posted 03-02-2018 10:19 AM

    Is there a way to create MARInfo and MAR file for Test Cases using ant?

    Deleted Userdeoma03 - maria heloisa

     



  • 2.  Re:  .mar file creation for testcase using CLI
    Best Answer

    Posted 03-02-2018 04:33 PM

    I believe a MAR Info file has to be created once first (manually through the Workstation), and once you have the MAR Info file, you can create MAR files (for test cases or virtual services) through CLI using the Make Mar utility (DEVTEST_HOME/bin/MakeMar.exe).

     

    Below is documentation on creating MAR Info and using the Make Mar utility

    Create MAR Info Files - DevTest Solutions - 10.1 - CA Technologies Documentation 

    Make Mar Utility - DevTest Solutions - 10.1 - CA Technologies Documentation    



  • 3.  Re:  .mar file creation for testcase using CLI

    Posted 03-02-2018 04:38 PM

    If you really need to somehow automate the creation of a MAR Info, then you can potentially do it by creating it from scratch through some coding. The MAR Info file is just a small XML file, so it can easily be recreated with some scripting/coding. You can create a MAR Info file manually from Workstation and then open it with a text editor to see how the XML is structured (you can use it as a template) and recreate a similar or identical XML (based on what the MAR Info will look like at run time).