Service Virtualization

  • 1.  createService API issue

    Posted Mar 07, 2017 11:33 AM

    createService API not considering serviceProperties.xml properties. It always create the AutoGenService with dynamic port in VSE.

     

    serviceProperties.xml

    <?xml version="1.0" ?>
    <recording>
    <name>TestService</name>
    <binary>false</binary>
    <group>test</group>
    <protocol>
    <class>com.itko.lisa.vse.stateful.protocol.http.HttpProtocolHandler</class>
    <config>
    <listenPort>8999</listenPort>
    <ssl toClient="false"></ssl>
    <keystoreFile></keystoreFile>
    <keystorePW></keystorePW>
    <basePath>/</basePath>
    <needSeparateBind>false</needSeparateBind>
    </config>
    </protocol>
    </recording>

     

    We are using DevTest version : 9.0,Platform: Windows and Database: External (DaaS-MSSQL Server).

     

     

    Regards,

    Balamurugan.



  • 2.  Re: createService API issue
    Best Answer

    Broadcom Employee
    Posted Mar 08, 2017 03:59 PM

    I assume, you must be using a zip file in Postman and creating the service. If it is, serviceProperties.xml should be in the root of the zip file.

     

    Create a zip file using RR pairs folder and serviceProperties.xml and then using that zip file in Postman should work.

     

    The documentation is available at https://docops.ca.com/devtest-solutions/9-0/en/reference/rest-invoke-api/create-a-virtual-service-from-r-r-pairs-using-the-rest-invoke-api



  • 3.  Re: createService API issue

    Posted Mar 09, 2017 01:06 AM

    yes its worked! 

     

    Thanks,

    Balamurugan.