Recording Traffic in Parasoft Virtualize using Message Proxies

Virtualize can record live behavior of dependent system components—database queries and responses or traffic over HTTP, JMS, or MQ—then represent that behavior as a Virtual Asset. Once the Virtual Asset is created and deployed, it can emulate the captured behavior—enabling you to cut the dependencies on system components that are difficult to access. There are two ways to record live HTTP, JMS, or MQ traffic, using message proxies or using recording wizard. Here we will discuss message proxy approach as direct recording is not available in community edition. Recording from a Message Proxy In previous lesson we discussed about setting recording mode in message proxy. When message proxy is in record mode it can monitor the traffic over the specified transport as an application is exercised. Virtualize “listens” to traffic requests and responses, then builds a traffic file of legitimate request/response pairs. This traffic is then used to generate and… Read more“Recording Traffic in Parasoft Virtualize using Message Proxies”

Working with Message Proxies in Parasoft Virtualize

Message Proxies and benefits Message proxies are the tools Parasoft virtualized used to record live system behavior and redirect to the desired endpoints (Real or Virtual). Message proxies listen the traffic going via Parasoft Virtualize and on the basis of configuration either redirect to real end points or redirect to virtual asset to send the response defined in configured responder. These proxies can record traffic to emulate the captured behavior—enabling you to cut the dependencies on system components that are difficult to access. They support HTTP/S, JMS, MQ, and internal transports. To use the message proxies with your Application under test (AUT), it needs to be changed once to point to message proxy instead of real end points. After that, developers, QAs, and Performance Test Engineers can then easily start and stop recording, direct traffic to specific virtual assets, and so on. There are some other benefits of using message… Read more“Working with Message Proxies in Parasoft Virtualize”

Creating First Parasoft Virtual Asset

Now we know Parasoft Virtualize concepts. Today we will experience the magic of virtualization by creating our first virtual asset and testing it. First of all create an empty project as follows: Open the pull-down menu for the New toolbar button (top left) then choose Project. Choose Virtualize –> Empty Project, and then click Next. Enter a name for the project, change the destination if needed and then click Finish. Adding a New .pva File to an Existing Project To add a new .pva file to an existing project. Do one of the following: Right click the project node, and select Add New> .pva File from the shortcut menu. Choose File > New > .pva File. In the New .pva File wizard that opens, select the project that you want to contain the .pva file, enter a name for the .pva file, and then click Next. This will create a… Read more“Creating First Parasoft Virtual Asset”

Getting started with Parasoft Virtualize

Exploring Parasoft Virtualize UI Parasoft Virualize is based on Eclipse Workbench. Prasoft has developed and integrated several  perspectives. For ex: The Virtualize Perspective The Event Details Perspective The Change Advisor Perspective Let’s explore each perspective. The Virtualize Perspective The Virtualize perspective, which is built into the Eclipse workbench, provides a set of capabilities designed to help you create and manage virtual assets and provisioning actions. You can open this perspective in any of the following ways: Click the Virtualize Perspective button in the shortcut bar (on the top right of the workbench). Click the Open Perspective button in the shortcut bar, choose Other, then choose Parasoft Virtualize in the Select Perspective dialog that opens. Choose Window> Open Perspective> Other, then choose Parasoft Virtualize in the Select Perspective dialog that opens. The Virtualize perspective provides special views you will use to when creating and managing virtual assets and provisioning actions. Virtualize… Read more“Getting started with Parasoft Virtualize”

Parasoft Virtualize Installation

You can download Virtualize CE or Enterprise edition from the Virtualize product page. For CE all it takes is supplying an active email address where the download link will be sent to. It’s quite a big download at 1.1 GB, but this has a reason: it includes the full version of Virtualize, SOAtest (the Parasoft functional testing solution) and Load Test. This means that when you decide to upgrade to the full version, all you need is another license. No reinstalling of software required. After downloading and installing the software, you can simply unlock the CE license through the Preferences menu by entering the email address you supplied to get a download link. That’s it. If want to go for enterprise edition and want to use Virtualize for bigger teams you will need to have Parasoft Environment Manager and License server as well. Installation on Windows machine To install: Run the… Read more“Parasoft Virtualize Installation”

Service Virtualization Tools

A couple of years ago, I took my first steps in the world of service virtualization when I took on a project where I developed stubs (virtual assets) to speed up the testing efforts and to enable automated testing for a telecommunications service provider. I started looking for the tools available in the industry. I found few Service Virtualization solutions from few leading companies like CA, HP, IBM. Here is the list of few leading Service Virtualization tools. CA Service Virtualization, formerly known as LISA CA Service Virtualization lets you virtualize software service behavior and model a virtual service to stand in for the actual service during development and testing. CA Service Virtualization, formerly known as LISA, captures and simulates the behavior, data and performance characteristics of complete composite application environments, making them available for development and test teams throughout the software lifecycle, for faster time-to-market with quality software functionality… Read more“Service Virtualization Tools”

Service Virtualization

What Is Service Virtualization? Service virtualization lets you create a simulated version of a service. The simulated version is referred to as a virtual service. The virtual service does not need to duplicate all the functionality of the actual service. Service virtualization is a method to emulate the behavior of specific components in heterogeneous component-based applications such as API-driven applications, cloud-based applications and service-oriented architectures. It is used to provide software development and testing teams access to dependent system components that are needed to exercise an application under test, but are unavailable or difficult to access for development and testing purposes. Service virtualization attempts to remove these test environment constraints by simulating the behavior of unavailable or difficult-to access dependencies, as depicted in below figure. This is done by modelling and deploying a so-called “virtual asset” that emulates those parts of the dependency’s behavior that are required to execute the desired… Read more“Service Virtualization”