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”