Service Virtualization

 View Only

Dynamic test Monitor mari file using script

  • 1.  Dynamic test Monitor mari file using script

    Posted Mar 17, 2020 03:35 AM
    Folks,

    i have earlier worked on creation of dynamic MARI file for Virtual servcie using below code . Further i used make mar to create MAR and deploy using VSEmanager


    ModelArchiveInfo mari = ModelArchiveInfo.createVSMARInfo(path + VsmPath + "/" + vsModelFileName,

    path + "/Configs/" + configurationFileName,

    capacity, thinkScale, autoRestart);


    mari.save(new File(MarIfilePath));


    I tried same to create Test Monitor dynamically to deploy it on CVS using CVS manager . Mari file is created but it is in corrupt state . Can somebody help me on this . 
    ModelArchiveInfo mari = ModelArchiveInfo.createTestMARInfo(string,string,string)

    Also i am not sure about what these three parameters in string will take .

    ------------------------------
    Regards
    Rahul V
    ------------------------------