Posts

Intercept Request/Response using Extension Tool

Extension Tool : Customising the payload and response data      Parasoft povides extention tool to intercept and customise a request/response data. This tool is not available in community edition. So in order to use this tool licensed version of Parasoft is required.     In extension tool we have feature to write script using the Parasoft supported languages like Java, Groovy etc.. Following is the code snippt in groovy language. Intercepting Request import com.parasoft.api.*; def process(input, context){     Application.showMessage("Request Payload: "+ input); } Intercepting Response import com.parasoft.api.*; def process(output, context){      return "Data Received: " + output; }

Configure Service Endpoint Configurations

Image
Every service consists of following configurations Endpoint path e.g. /login Endpoint Http Method e.g. GET/POST/PUT/DELETE Configure service path Configure service Http Method

Read Request Payload - JSON Data Bank

Image
JSON Data Bank      This tool is used to read request payload in Parasoft.  Steps

Parasoft Development - Basic Fundamentals

Image
 Basic Fundamental PVA - Parasoft Virtualize Agent Responder Suit Responder Parasoft - HelloWorld PVA - Parasoft Virtualize Agent     Its similar to the JAR/ZIP file which contains  virtual asset, such as its behavior, responses, and dependencies. The PVA file can be saved, shared, and deployed to different environments to recreate the virtual asset. Responder Suit      It refers to a collection of software tools that are used for creating, managing, and testing virtual assets. In other words its a collection of Responders corresponding to a specific service. Lets take an example of Login service. Login service in parasoft may have following responders under responder suit: - Validate username, it shuld not be null, empty and between the range of 5 - 26 characters. Validate password, it should not be null, empty and should have min 6 and max 40 characters long. Validate username and password wih database/repository records. Handle all the exceptions if...

Download, Install & Configure Parasoft

Follow these steps:- Go to the Parasoft website (https://software.parasoft.com/virtualize/community-edition/). Click on the "Try Free Edition". Fill out the registration form with required information. Submit the form and you will get an email.  Follow the steps mentioned in the email to configure the Parasoft.

Introduction to Parasoft

Table of Contents What is Parasoft Parasoft Products & Services Parasoft API Virtualization Tool  Software Requirements   What is Parasoft     Parasoft is a software company that provides automated software testing and software quality tools. Its products and services help software development teams improve their software quality, reduce defects, and accelerate the delivery of high-quality software. Parasoft Products & Services Parasoft SOAtest Parasoft Jtest Parasoft C++test Parasoft Virtualize Parasoft API Virtualization Tool     It enables developers and testers to simulate the behavior of APIs. So it is used to create virtualized versions of APIs that are not yet available or may have limited access during development and testing. The most powerful feature is it allows users to create virtualized data, so that they can test how the system will behave under different data...