Service virtualization - Virtualan integration with Openapi

Setup Guide:
  •  Pre-requisite:
    1. openapi-generator (With Virtualan version)  
    2. Virtualan code:
    3. Implementation sample code with pet store :
  • Deploy and Start the service:
    1. It just supports only for Spring REST services as of now:
    2. Run the following command:
      • mvn -U -Dmaven.javadoc.skip=true clean install
      • java -jar virtualan-pet.jar
    Usage and Testing:
    1. Navigate to the http://localhost:<8080>/virtualan-ui.html to set up the Mock data.

     Test the Service with any rest client:  Hope you have satisfied with the response :)
     Thank you for visiting to this page.. 
Benefits of Virtualan: 
  • Setup your request and response for the given Request parameters(Path/Query/RequestBody) using UI.
  • Dynamic Mock data and set any number of request responses for the different scenarios
  • You can test your system upfront[Before integration with real service] with all dependent Micorservices.
  • Setup all supporting service data using Virtualan service
  • Create automated test suit using Virtualan service[Exposed as Rest service]
  • Virtualan would support only OAS Yaml
  • Just supports only Spring Rest service.. Enhanced later to service need basis
  • Create data 
    • Using Virtual Rest Endpoint 
      • https://github.com/elans3/openapi-virtualan/blob/master/src/main/resources/virtualservices.yaml
    • Using UI provided by Virtualan
Service virtualization is the simulation of the behavior of software componentsthat are unavailable or otherwise restricted during the preproduction stage of the software development lifecycle. 
    • Service virtualization removes constraints with regard to dependency availability in test environments.
    • Data-driven virtual assets allow test teams to easily manage their test data and increase their test coverage.
    • Service virtualization can enable or enlarge the scope of automated testing.
    • Testers are not the only ones who may benefit from using service virtualization.
    • Refer this URL: https://www.stickyminds.com/article/4-ways-boost-your-test-process-service-virtualization (Courtesy: Bas Dijkstra)

    Comments

    Post a Comment

    Popular posts from this blog

    Benefits of Virtualan - "The Service Virtualization Project"