Service Virtualization

  • 1.  Testing a REST virtualized service

    Posted Dec 20, 2017 10:36 AM

    Is anyone aware of a utility in CA LISA using which we can test the REST virtualized service we have created i.e. sending the REST request and getting the respective JSON response?
    Or
    If we test using SOAP UI – we are creating a new REST project – then we need to provide URI – so what exactly should be given there?
    We have this data available with us :-
    - Port we used while virtualizing
    - LISA registry / LISA server address
    - REST request



  • 2.  Re: Testing a REST virtualized service
    Best Answer

    Broadcom Employee
    Posted Dec 20, 2017 11:03 AM

    You can use the REST test step in DevTest to test REST API. In addition, depending on the version of Devtest you use, you can generate baseline tests automatically while virtualizing a service. This will enable you to test the REST api directly without having to manually create a test. More information below.

     

    https://docops.ca.com/devtest-solutions/10-1/en/reference/test-step-descriptions/web-web-services-steps/rest-step

    https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-service-virtualization/using-devtest-portal-with-ca-service-virtualization/create-baseline-from-virtual-service

     

    Which version of DevTest are you using?