Service Virtualization

 View Only
  • 1.  Can we call a micro service using CA Lisa Devtest service virtualization tool.

    Posted Nov 07, 2019 01:54 PM
    Hi,

    Can we Test a Microservice using the CA Devtest tool which is a service virtualization tool. If yes please let me know how can we call a microservice using the CA Devtest tool.


  • 2.  RE: Can we call a micro service using CA Lisa Devtest service virtualization tool.
    Best Answer

    Posted Nov 08, 2019 01:34 AM
    Hi Neetika,

    Yes you can test. It depends on the architecture of your service to test. Kafka support is also made available in 10.5 version to have the micro services testing.

    In a nut shell, you have to use the similar steps and assertions & filters like you do for a web/API test, the steps may be different but the approach remains the same (technically , although it may differ functionally)

    Hope this helps.

    Thanks.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: Can we call a micro service using CA Lisa Devtest service virtualization tool.

    Posted Nov 09, 2019 03:12 AM
    Hi Neetika,

    As Jain states you can absolutely test a microservice using the DevTest product. DevTest comes with 3 main product features, you are aware of 'Service Virtualization' to simulate dependencies at the back-end of your System Under Test. It also contains 'Application Test' which is a full-featured test automation solution to send requests to front-end of your System Under Test.

    You can build test cases:
    • that span the complete range from Contract Testing over Functional Testing to Performance/Load Testing and End-to-End Testing. The workflow inside your testcase can be simply 2 steps (send request, validate response) for a Contract testcase or it can be a multistep workflow that targets many different services as part of one E2E testcase.
    • against every technology layer in your enterprise application architecture: you mentioned microservices, which is REST/JSON I guess, Jain mentioned Web eg. XML over HTTP or SOAP, you can also target JMS or MQ, or use COBOL CopyBook payloads. For each of these transport and data protocols there exists steps, filters and assertions that hide the technical details from those technologies
    • which are black box - ie. send a request to an API, check the response that comes back - or you can build white box test cases where you do not only check the response but also query database or files or message bus queues inside your System Under Test to check if information was correctly processed and persisted. Again, there are steps, filters and assertions that take away the technical details of these tasks.
    There are features inside the product to automatically generate testcases ie. generate baseline tests. There are also some community solutions to generate tests from request and response or validation files (https://community.broadcom.com/enterprisesoftware/viewdocument/low-code-testautomation-generation?CommunityKey=94bda077-625b-4914-8ac3-c88a06c2cc23&tab=librarydocuments)

    And for completeness sake we need to mention the 3rd product feature which is 'Application Insight' which uses an agent that sits inside your (Java-based) System Under Test and can simulate internal components and/or generate evidence for root cause analysis in case of a bug and/or generate frontend baseline testcases and the accompanying backend virtual service.












    ------------------------------
    Cheers,
    Danny
    ------------------------------



  • 4.  RE: Can we call a micro service using CA Lisa Devtest service virtualization tool.

    Broadcom Employee
    Posted Nov 09, 2019 03:49 AM
    Superb answer Danny !!!

    Regards
    Sankar