CONTINUOUS TESTINGSmarter Mocking: IntelliJ IDE with Service Virtualization/DevTest 10.6

 With Service Virtualization/DevTest 10.6, we have developed the Virtual Services Environment (VSE) Manager plugin that allows for easier development adoption by supporting the creation of virtual services directly through IntelliJ.
Giridharan Jagadeesan Giridharan JagadeesanFebruary 11, 20204 min

When developing apps, developers want to have all the dependencies, like virtual services, to be available/accessible from within their IntelliJ IDE. If they can emulate the missing, unavailable, or costly components or systems in their IDEs, then errors can be easily and quickly identified, and fixed long before they get to production.

 With Service Virtualization/DevTest 10.6, we have developed the Virtual Services Environment (VSE) Manager plugin that allows for easier development adoption by supporting the creation of virtual services directly through IntelliJ. This plugin helps in creating and deploying virtual services from directories of RR pairs and Swagger specification files, creation of HTTPs virtual services, and augmenting virtual services by updating the RR pairs.

 You can access the plugin from Bintray.

Setting up the IntelliJ Plugin

To start using the plugin, certain configuration steps are necessary. First, configure Registry web server connection settings. Second, configure the SSL details to connect to SSL enabled Registry and also create HTTPs virtual services, if needed.

 

 

Having the configuration set, the VSE Manager view will list all the available VSEs, in order to create and deploy the virtual services.

This plugin allows you to create, deploy and update virtual services by using 3 different input files.

 

  •     Using RR pairs

Create

Right-click or drag drop on RRpair folder: “Create Virtual Services” pop-up appears with Port and HTTPS fields to create. RRpair can be .xml / .json / .txt formats.

 

 Augment

To augment, user will have to drag-drop the RRpair folder on specific VS.

 

  •     Using mar file

Create

Right-click or drag drop on mar file to create VS.

Overwrite

If the VS based on the specific mar file already exists, the previous VS will be overwritten

  • Using Swagger specification

Create

Right-click or drag drop on Swagger file (.yaml / .json): “Create Virtual Services” pop-up appears with Port and HTTPS fields to create VS. Both Swagger 2.0 and 3.0 are being supported.

Augment

To augment, user can drag-drop RRpairs on the VS.

 The virtual service properties can be updated by right-click context menu option “Properties” to view or update selected virtual service properties. Developers can edit only Capacity and Think Scale.

Additionally, other important actions now available on VSE Manager view are:

–      Refresh VS services

–      Start

–      Stop

–      Reset Counters

–      Undeploy

 

This is a fundamental shift in the way developers develop and test software today. It can be defined as a “smarter mocking”. It’s a new way for developers to “have everything” they need when they need it in order to be as efficient as possible. 

Learn more about our IntelliJ plugin in our documentation or sign up to this webinar that covers all the new features.

Spread the love
Giridharan Jagadeesan

Giridharan Jagadeesan

Giri is a product management professional, with over a decade's worth of experience, focusing on driving product development. His current focus area is Service Virtualization.

Leave a Reply