-
Get the values of two Data Elements with the same name
Hi All, I am trying to grab the values of two tags with the same. See XML structure similar below: 1 2 </Data Set> This XML Structure comes from context Thanks for your help
-
Implementing WCF Service Virtualization
Implementing WCF Service Virtualization Description: This document can be used in conjunction with the .NET Routing Service documentation to assist users in setting up their WCF service for Virtualization. We will be focusing on the second method of configuration using a Virtualize Proxy and specifically reviewing the…
-
Merged: How to activate a Community Edition License.
This discussion has been merged.
-
Match all request body elements from traffic txt file?
I recorded HTTP traffic using proxy, i can use the traffic file to create VA, but i want the responder correlation match all the request element from traffic request.(No more no less) How can i achieve this?
-
Is it possible to create the script for Virtualize?
Hi, We are virtualizing the wsdl by recording the traffic and creating the .pva file. Is there any way we can automate the whole process of recording, creating the .pva file and send the request, change the xml values autoamtically. Thanks
-
How to create virtual asset for JMS services in parasoft virtualize
How to create virtual asset of JMS queue from request response pair in parasoft virtualize
-
Grabbing and storing Details from a SQL Server
Hi Everyone, I have a few different scenarios. They do not happen at the same time a request comes in. * I just want to ask how can we grab some values from SQL server and use it to send to the xml response * How do i generate a time stamp in this format "2015-12-18T19:44:18.103" and store it on the SQL Server.
-
LDAP/Active Directory support
Can Parasoft Virtualize simulate an Active Directory (LDAP) connection (with an associated limited dataset, of course) so that an intermediate service under development could then access it?
-
how to generate and populate localsettings.properties files
localsettings.properties files store important information regarding Parasoft tool's stored configurations as well as project parameters. A localsettings.properties file is required to utilize CLI integration, back up an installation, or transfer configurations from one installation to another. You will first need to to…
-
Custom Jython Responder Correlation
In V9.1x, has anyone been able to get a custom correlation to work that uses regex? Example below from java.util.regex import *from java.lang import * from com.parasoft.api import *def correlateOperation(context): requestHeadersStr = context.get(CorrelationScriptingHookConstants.HEADERS) # Map<String, String>…
-
Using Custom Responder Correlation - Groovy
I am trying to read values from the request using Custom - Responder correlation and compare it with values from excel. How do I get a unique row from excel data source in the script?
-
Ideas/Suggestions - Dynamic Parameters
I have a requirement where responses should be very dynamic based on the request. Based on the incoming request elements , elements/array of elements in response should vary. I m trying to minimize the no of res ponders and manual data setup. Currently i m achieving this scenario by using xpath(function count/exists), Data…
-
Deploying services across multiple ports
Dear team , We have a default port where we are deploying the virtual services to the server. Each pva will differ by their base path. Is there any way visualize server can listen on multiple ports to deploy services with different ports.
-
Recommendations for Virtual Service Maintainance
Hi Team , What are the recommendations and options if the service is still in development phase and virtual service has to be continuously updated. Use case is parallel developement.
-
How do Responder Suites work?
I am learning and playing with the Community Edition of the SOATest and Virtualize tool. I am working on Virtualizing some services. I am can see that you can create multiple responder suites under a service. But I am confused as to how those work. How would I use those? I have a Service that the base endpoint with others…
-
Creating a Data Source for a request that contains an array
I have a request that contains an array of account numbers that differs on every request (so it will not always be two account numbers sent), how to i store these values in a excel data source and set up the correlation? Here is the sample request: { "accounts" : [ { "accountNumber" : "55555" }, { "accountNumber" : "66666"…
-
Shared Map across pva's
I have a requirement to share the data between two pva's. * The first pva responder will generate response. I have to keep/share the data generated in the response * The second pva responder has to access the data generated by the first pva for its response If i m using File I/O facing caching problem. If i would like to…
-
Iterate the datasource values
I have requirment to read a column - all the rows of an excel data source and send in my response. How to iterate over all the rows and fetch the value in the excel data source. Pl. help
-
No. Of PVA's in the virtualize Server
Dear All- Is there any limitation on the no. of virtual services(pva's) that should be deployed in the virtualize server/license ?
-
Where can I find the Advanced "How to Videos"?
I have watched the three simple videos that you get when you get in the confirmation email. But I need to learn more advanced stuff like parameterizing the service etc... Does anyone know where I can find those videos?
-
Virtualize - How to find my current hits/day
In the new service of parasoft, i like the virtualize community edition, but i dont know how to calculate the 11k hits limit per day, please i like that will explain me with more detail
-
matching an endpoint with a proxy or virtual asset
I think the easiest way to match an endpoint with a proxy or virtual asset would be to open a browser and hit the server with no endpoint. For instance if I were hitting my server to see the enabled virtual assets or enabled proxies I would use http://localhost:9080/ and that would list the enabled virtual assets and…
-
checking the %CPU utilization of your server
The linux command to list the tasks, memory and %CPU is: top If your processes are started by a service account (parasoft). I think you should be able to limit the list to process started by a user by using: top –u parasoft
-
Launch DataRepository as a service on Windows
In some cases it is useful to start your Virtualize infrastructure automatically or as part of a recovery process. Virtualize and CTP are web applications and can be run as a tomcat service. DataRepositoryServer needs to be started manually. In this post I will demonstrate how to launch DataRepository as a windows service…
-
Dynamically generating response schema and data on the fly
Choice type parameterizaton is not supported currently in SOA/Virt but there is a way that you can work around this. You can dynamically build request/response structure (Schema) and data using a data source. Define the Data Source Here is an example of a datasource where I am defining the name of a choice Element and…
-
Updating a soavirt.war deployment with a Windows Batch script
This is a simple script that will allow us to update a soavirt.war based deployment when a new WAR is released SET SOAVIRT_LOCATION=C:\parasoft\SOAVIRTSET UPDATE_FOLDER=c:\parasoft\update\soavirtBackupsSET WAR_LOCATION=C:\parasoft\warsSET WORKSPACE_LOCATION=C:\parasoft\SOAVIRTworkspaceSET…
-
Using System and Environment Variables in your scripts
You can use system/ environment variables in your scripts. Here is a simple example from com.parasoft.api import *from java.lang import Systemdef systemVariables (input, context): #This is for Windows Application.showMessage("COMPUTERNAME = " + str(System.getenv("COMPUTERNAME"))) #This is for Linux…
-
Creating a Virtual Asset from traffic
Parasoft Virtualize is a powerful tool that allows users to create virtual endpoints for clientside applications to test against. When creating these virtual endpoints, it is useful to be able to do so via traffic files. The steps on creating these files are detailed in the post here. Step 1: In order to create your asset,…
-
What are message proxies and how are they used?
When getting started with Virtualize, it is often a good idea to get ahold of some traffic going from your client to your service so that you have a better understanding of the transport between the two. The best way to do this when using Virtualize is by using a message proxy. * The first thing you will want to do when…
-
Defining and utilizing performance profiles
Hey everyone! When designing a virtual service, users will often want to make sure that the virtual service will respond in a similar fashion to the live service that it is trying to mock. In order to do this to the fullest extent, we have the ability to create performance profiles. What are performance profiles?…
-
Using Virtualize with SSL
Basic Concepts of Virtualize SSL There are two roles that Virtualize can play: 1. When Virtualize receives messages from an Application Under Test (AUT), it functions as the server in the SSL model. 2. When Virtualize is acting as a proxy, it function as the client in the SSL model These two roles require different…
-
Importing Excel files Into a Repository
Parasoft: Importing Excel Files Into a Repository Description: To import data from an Excel Spreadsheet into a data repository, we will need to use the Data Repository Tool. The Data Repository tool specifies what data to import, how to structure it, and what repository data source should include the imported data. The…