-
root elements not populated when generating data
I pulled down the google api yaml for books from this location, to practice working with data repositories and am running into some issues. This is the first. google api yaml - https://api.apis.guru/v2/specs/googleapis.com/books/v1/swagger.yaml api endpoint used - /users/{userId}/bookshelves/{shelf}/volumes - GET When I…
-
Guidelines for creating a data repository from a definition file
I found the section for information on the data repository, but did not happen to find any info on how to create/populate the repo based on a definition file such as a swagger. Is this possible?
-
how to save the result of extension tool into variables in Parasoft
Hi Team I have a JAVA script which generates some numbers once executed using Extension tool. Now I wanted to save the result into some variables/data source. So that I can use those variables in multiple locations. Note: the same JAVA script I need it for 20-30 times in single response generation. Instead of giving every…
-
Could not find a valid Message Responder to respond to this request.
Hi Team, I have deployed calculator wsdl in PARASOFT Virtualize successfully,But i am getting the below error message while calling the deployed endpoint? Wsdl :http://soaptest.parasoft.com/calculator-02.wsdl http://localhost:9080/glue/calculator/add/2/ error message: Could not find a valid Message Responder to respond to…
-
Populating Responder payloads with ALL possible enumerations
When populating a responder payload, is it possible to populate x number of instances, for a particular portion (array) within the dataset, to include all possible enumerations or is this a manual process? Say an address response allows all 50 states, along with other basic address info like street name and city. is it…
-
Objective - Create a Fixed-Message Virtual Asset from Traffic File via the REST API
Trying again on this topic after spending a few more weeks getting used to the Virtualize product. I am able to create a fixed-message virtual asset using the Parasoft/Eclipse IDE. The virtual asset is generated with no Data Source and each transaction is listed as a separate Responder. I want to be able to accomplish this…
-
Proxy Listen Ports - Which ones are open by default?
I have a situation wherein I would like to deploy a virtualize proxy at http://{virtualize_host}/, or in other words, at root. If I don't deploy the proxy at route it will require a code change and we are trying to avoid that if possible. My question is: What virtualize ports are available by default? I have found that I…
-
Conditional Check for Incoming Request and Custom Response
Is it possible to set up a responder to respond multiple ways based on the incoming request format? Example: A SOAP based request sent yields type "A" response, and a REST based request yields type "B" response. The response is from the same responder If this is possible, can it be detailed as to how to do this?
-
Change host from responder
Hello everyone, I need to change the host from the responders. For example, I have one Virtual Asset with two responders, I want "method 1" goes to a virtual asset and "method 2" goes to the real endpoint. This is customizable by the user. ¿How can I achieve this? I'm trying to do this through CTP (the user chooses the…
-
Is it possible to create parameterized messages using a traffic file without changing namespaces?
Hi, I just wanted to know if it's possible to create responders with parameterized messages without changing the original namespaces as seen in my recorded traffic. I've noticed that if I create responders with fixed messages, then the original namespaces are not changed by Virtualize. My application breaks when it…
-
How to set Virtualize responder to respond as a file using FTP
Hi Team, I have virtualized using FTP connection to read the file as a request & I want to send the response to another file location using FTP. How can we achieve this please help me * FTP(Request) - Completed the configuration. * FTP(Response) - Pending
-
I am seeing a tab in soap client as attachment. What is the use of that?
I am seeing a tab in soap client as attachment. What is the use of that?
-
Extract tag element from request(XML) & save it to external EXCEL file
Hi Team The requirement is to extract the tag element from incoming request & store it into external excel for further processing. I explored writable data source is not available for Virtualize. I explored both XML data bank and XML Transformer but both are not updating the excel sheet. How can i achieve this
-
I am seeing a tab in soap client as attachment. What is the use of that?
I am seeing a tab in soap client as attachment. What is the use of that?
-
Test Suite Generated From Traffic File - Missing VirtualAsset Context
I am successfully generating a virtual asset and a test suite from a traffic file using the REST API. When I execute the test suite, the tests fail because all of the tests are pointing directly at the URI's as they are listed in the traffic file e.g. /customer/doSomthing In order for the tests to succeed, I believe they…
-
Can a Proxy be set to go to priimary Real endpoint and Failover to secondary Virtual Asset?
If so, what are the parameters for the fail-over? Timeout or 50X/40X response?
-
Rest API version
Hi, I am working on a virtualization project using Parasoft virtualize. The API version follows the semver 2.0.0 Please let me know if this is compatible with Parasoft virtualize tool 9.8 version
-
Documentation on Customizing Traffic Template
Do you have any documentation on customizing a traffic template? My goal is to create Fixed Message Responders from a traffic file. Without a traffic template, the "/soavirt/api/v5/files/pvas/traffic" call seems to default to Parameterized Message Responders. I have not found a way to save a traffic template from the…
-
how to capture and virtualize async response
Hi All, Please let me know if anybody has worked on to virtualize async response in PS virtualize. I need to know how we can capture and create a responder for the same. thanks!
-
How to differentiate between stub response and real response
Hi All, We are trying to Parasoft Virtualize in our test env, use case is as follows, If request data is found it in Data repository PS will send stub response back, but if data is not found it will forward the request to real endpoint, . My query here is how to identify if the response came back is from PS (stub) or from…
-
REST API - Create PVA from Traffic File
Looking for examples of creating a PVA from a traffic file using the REST API. Any information or sample code would be greatly appreciated. Thanks, JT
-
Programmatically create and deploy a virtual asset using the REST API
This script will enable you to create and deploy an asset dynamically. This is useful when you want to create an asset on the fly. This uses the SOAVirt API. #Server SettingsVIRT_USER=adminVIRT_PASS=adminVIRT_HOST=localhostVIRT_PORT=9080#Workspace…
-
Traffic File Validator
Is there any way to validate a traffic file that was generated by an outside utility? Thanks, JT
-
Error - An error occurred and the suite could not be created.
Creating a VirtualAsset from a traffic file. Getting the following error when I use a traffic file generated manually: Error - An error occurred and the suite could not be created. At least one group with matching messages must be defined before proceeding Compare shows the files match perfectly. Ii checked encoding and…
-
Unable to correlate the responder with all the data rows returned from DB results
With respect to Responders, I'm adding a DB tool as output and querying the results and storing in XML data bank. The query returns multiple rows of data, but the responder is able to pick only 1 row of data. Please help me a solution on how to correlate with multiple rows of data from DB results. Step 1 – Created…
-
Virtualize : Map DB Tool Result Sets To XML Response
How to map multiple rows returned from resultSet to the XML response ? We have a SOAP Message responder having below xml response. I need to parameterize the account numbers in the response <findTransactions> <transactions><accountNumber></accountNumber></transactions> </findTransactions> In the above xml response the…
-
Using CRUD tool to automatically update data repositories
Hi, I need to update my data repository with new data that I sent with a request. Its a SOAP request. Right now I am manually performing that task but need to automate it. I got to know that using CRUD tool we can achieve it. Can you give a better insight on how to do this particular task?
-
Changing a value of an xml field after extracting from request
I am trying to extract the "ns1: month" field from the following request using XML Databank and then increase the value by 3 and populate it in response. <?xml version="1.0" encoding="UTF-8"?> CallingAppCode VLM0 RZZCA82 26 06 2019 Q . Please suggest a solution for this.
-
Kerberos authentication issue
We are being skuppered by Kerberos auth once we route the traffic through our proxy. We have no control over the downstream connectivity. It must remain HTTPS. And the credentials must be authenticated by SECAF via Kerberos. Error message once behind the proxy : • SPNEGO not supported error page • Message from SPNEGO Web…
-
I need to perform bulk deployment of stubs in parasoft virtualise
Bulk deployment of stubs need to be done in parasoft virtualise , presently i am deploying each stub individually which is taking too much time. So is there any method in parasoft virtualise so that i can deploy all my stubs at once on my server.
-
How would the user know whether he is using the real asset or virtual asset?
Hi All, can anyone let me know if there is any way for the user to know whether he is using a real asset or virtual asset.
-
CTP Deployment option for MQ
Hi Team Can you help with the options for deploying MQ based virtual services which created & deployed in local Admin now Detailed: * Created Virtual asset & deployed in Virtualize server - Local Machine(Admin) * Now the plan is to deploy the asset to central server(CTP)
-
Unable to replace a tag value from External excel(Static)
Hi Team I am trying to pass static date from external excel data for response data tag. But the value is not able to pass and attached the steps and different responses I am getting via table data source & external excel data source. --> Table data source the value is passing without an issue --> External data source…
-
Virtualize : Use Database as datasource and parameterize SQL query
We are using excel as a datasource and parameterized the responder response. Since excel has limitations on rows , I wanted to use Database as a datasource. But, if i use database , the query needs to be parameterized since account number i use is unique every time. Based on the account number i need to get the rows from…
-
Performance Hits per second
Hi team I have got Performance server license assigned. My client requirement is to do Performance testing of 50000(50K) hits per second. Kindly help me with configurations to do the same. Load runner is using by Client
-
SOAP/Rest api's record and replay
I am evaluating Parasoft for capturing traffic for SOAP/Rest calls from my application, and replay the captured data in subsequent test environments without using real services. Can someone suggest if Parasoft can help in this linux based setups where there is no UI access? Also please suggest if there is any doc.…
-
XML Filter
I have a responder which sends response with list of transactions for an account number. Is there a way that I can filter the xml response based on date or any other value before sending response?
-
Using Data Source Correlation for dates in Responder
We have a responder, where we have set the data source correlation using account number. However, i also need to correlate the date which is coming in request as said below. Check if startDate which is coming in request is greater than or equal to the data source column value. Here DS has 10 rows where i need to check all…
-
Performance Tuning your Virtualize Server
For best performance when using a Virtualize server we recommend the following configurations Always run your server in "Headless mode" You can do this utilizing the soavirt.war deployable in a web server like tomcat or launching your Virtualize application with the virtualizecli executable Example:…
-
Read files from Secured remote directory(Linux)
Hi Team, I need the some option in Parasoft. That should function as same as"File Transfer Listener" or "File Event Listener". But one addition is to read file from secured remote directory(Linux). "File Transfer Listener" or "File Event Listener" - Both will work for reading the files from Local directory I am using…
-
IBM MQ Virtualize - "MQJE001: Completion Code '2', Reason '2393 (MQRC_SSL_INITIALIZATION_ERROR) '"
While Testing MQ connection is Parasoft getting the below error. Please help me in resolving this issue MQRC_SSL_INITIALIZATION_ERROR
-
Multiple Responses "Enable Correlation"
Hi Team, I have a set of address stored in my message tab under Multiple Responses "Enable Correlation", I would like to do a partial search, attached file for your reference. I used this approach but it did not work, Is there a way for me to search with partial Values with different conditions. If so could you please help…
-
Looking for scheme definition for working with fixed length messages
If one creates a Fixed Length responder, part of the responder configuration is the "Schema for Modeling Request Payload Using Form Input". Where can I find the specification for these schema files or get an example of a scheme file? I am going by the assumption that Fixed Length means not only is the length of the message…
-
how can we use the POST method in virtual services for dynamic response.
we want to test the post method with dynamic input and also want the same responce from the virtual service 1) We are using service( https://petstore.swagger.io/v2/pet ) for post method with below request body: { "id": 4, "category": { "id": 0, "name": "string" }, "name": "Avik", "photoUrls": [ "string" ], "tags": [ {…
-
Signature validation
Hi team , Does anyone has any idea on the following error , on why it is occuring and how to solve that ? 401 SIGNATURE VALIDATION SERVICE PROCESSING EXCEPTION
-
Ciphersuite Warning solution requested
When I am selecting an option in Ciphersuite(SSL_***) I am getting the below warning: "The selected Cipher suite is not supported by your JRE. you may need to use an IBM JRE" Please help in solving the issue Please let me know the name if any jars to be added
-
Request from File and Response to Queue
Hi All, We have got a requirement that request file has to be read/taken from folder location & based on few fields it should send response to PUT queue. ie Request from file location & response to Queues(IBM MQ) Is that possible to do using Parasoft?
-
IBM MQ Virtualize - "MQJE001:Completion code 2: Reason '2397'(MQRC_JSSE_ERROR)"
Hi Team While testing my connection I am getting the below error. Please help me to solve this and establish the connection MQJE001:Completion code 2: Reason '2397'(MQRC_JSSE_ERROR)
-
Ciphersuite details in Virtualize
Is that mandate to add Ciphersuite details while creating Virtual Service. We don't have the option to mention the Ciphersuite details in Virtualize. Please help me on this
-
RR Pairs - Hardcoding feasibility
Hi All, The below is the scenario we have got 30 set of Request and Response Pairs. We will be receiving any of the one request from application. How can we hard-code all RR pairs where Virtual responder will select & send the response based on request we receive. Note: We are not using Data set/Data repositories Ex: The…