Service Virtualization

  • 1.  Integration with wiremock

    Posted Nov 08, 2018 02:47 PM

    Currently there are some product teams that use wiremock to virtualize some of their services.

     

    Are there any integrations available betweek wiremock and CA service virtualization?

     

    If not what is the best way to migrate services from wiremock to CA service virtualization?



  • 2.  Re: Integration with wiremock

    Broadcom Employee
    Posted Nov 09, 2018 01:48 AM

    Hi,
     
    I can answer the first question, the manual below:
    DevTest Solutions - 10.4
    does not include any information about wiremock, then it is not availiable formally.
    But I am not sure the answer for your second question. 


    Thank you,



  • 3.  Re: Integration with wiremock

    Broadcom Employee
    Posted Nov 09, 2018 02:20 AM

    Hi,

     

    There is a very pragmatic way to start with the migration of a WireMock virtual service to an equivalent DevTest virtual service: that would be to record the WireMock virtual service responses.

     

    Example:

     

       

    •   there is a WireMock virtual service running on port 9001.

       

    •   Redeploy the WireMock on port 9002

       

    •   Start a recorder on port 9001, configure as gateway whereby live system is on port 9002

       

    •   Run the test suite on your SUT (make sure the test suite covers all the WireMock responses)

       

    •   Complete the recording and redeploy the newly generated virtual service on port 9001

     

    Et voilà  

     

    Obviously, there can be constraints, mostly depending on how “dynamic” the WireMock responses using scripting, etc... The identified magic stringing by the recorder might not always cover all of the dynamic aspects.

     

    Cheers,

    Danny