Service Virtualization

  • 1.  Creation of VS - Bulk import WSDL files

    Posted 01-25-2019 10:03 AM

    I have a scenario here. I would like to create virtual services using WSDL files and need to create no. of API's WSDL (say 500+). Is there any way we can bulk import WSDL files into CA LISA which will then create virtual services? please suggest.

  • 2.  Re: Creation of VS - Bulk import WSDL files

    Posted 01-25-2019 12:23 PM

    Thinking out loud....

    What if you created a Test Case that converted the WSDL to a Swagger definition. Then, send the Swagger through the REST API to create a service?

  • 3.  Re: Creation of VS - Bulk import WSDL files

    Posted 01-25-2019 04:57 PM

    Hello Sakthivel,


    To create a service I believe you could have all the WSDL files in a zip file and create a virtual service from specification in the Portal. But that would create 1 VSI with several signatures and not one VSM for each WSDL file.



  • 4.  Re: Creation of VS - Bulk import WSDL files

    Posted 01-25-2019 06:06 PM

    deoma03  Good point. I thought about this approach as well.

    The concerns I had when arguing against myself were:

    - The potential to create an unmanageable VSI. If one assumes each WSDL has 1 operation, the resulting VSI has 500 potentially different operations and signatures. Most WSDLs have more than one so it could be really large.

    - Depending on actual response payload size, the resulting VSI might be difficult to edit in Workstation

    - The single threading effect... The notion of multiple service developers each working on the same service simultaneously is lost.

    - If the service is deployed in a functional VSE, TPS throttling might create a response bottleneck resulting in HTTP timeouts at the consumer(s).  Would need to know more about how these APIs are accessed.

    - It likely destroys the notion of using a base path in the VSM. I am always guarded about using a base path of /

    - What happens if some of the services are HTTPS and others are HTTP.  One VSM cannot support both HTTP and HTTPS on the same endpoint port. Matter of fact, although two VSMs could share one VSI, I don't think an HTTP and HTTPS service can coexist on the same port -- could be mistaken.


    What I have not seen is a REST API where you can send the WSDL as a ZIP file and have DevTest build a service.

    I created a Virtual Service that accepts a Swagger document as input, makes the REST API calls to build a service, and responds to the consumer with the Virtual Service information. However, the number and sequence of API calls necessary to do this were a bit tricky to implement. 


    I submitted feedback to the engineering team about simplifying the API to a single call -- perhaps this API is now available.