-
how to enable/disable an optional element on virtualize response
I would like to use only one responder for mocking response. In the response, there are two fields that are optional elements. In case, the datasource values are blank. I don't want them to be send out as part of the response. However, if there are value in my datasource. I would like them to be send out. This works on…
-
how to use datasource correlation virtualize
I have got a soap request with element id value of AAA1xxxxxxxxx. I only need to match the first four characters to correlate with the datasource (excel sheet). I don't see it's possible doing that data Correlation request Body ( as this take the xpath element) and Datasource Column Name only. Is there a way around this.
-
I have a requirement to send sync and async response for a single request in Virtualize
I have a requirement to send sync and async response for a single request in Virtualize. Please suggest me the way. The requirement is to send the sync reponse first then it will the the async one.
-
Unmarshalling error with virtual responder
Hello, I have a responder set up to simulate a service our web application depends on. However, when we use the responder in our application workflow we are receiving the following error: org.springframework.oxm.UnmarshallinFailureException: JAXB unmarshalling exception; nested exception is…
-
Getting IOConsole updater error when executing test more time by pounting to virtual server
Hi Team, I face one critical issue while executing the test repeatedly (300 to 500 transactions). The Parasoft server gets slow and some IOconsole updater errors occurred. when I reboot the server then again it's started working. but the same issue again when executed more runs. Refer to the below screenshots for the…
-
How to know how many hits limit to virtual server for professional desktop edition
Hi Team, I have a professional desktop edition version. so the number of hits to the virtual asset is limited to 50000 per day. can you please help me if it's correct. refer below screenshot. Thanks nihar
-
How to view the number of hits for a virtual assets in CTP
Hi Team, Can anyone help me on how to view the number of hits for virtual assets in CTP. I can't see that report. refer below screen. i want to see this type of report but not able to find. Thanks Nihar
-
It's taking more time for execution while pointing to virtual environment
Hi Team, Currently, we have created a virtual environment by virtualizing some services and we do load tests by pointing to the real and virtual environments. But during execution, I observe it's taking more time when we point to the virtual server than the real one. Please find the attached screenshot for the time taken…
-
Correlation based off a value in Request Body
I need some assistance with this issue. A teammate is trying to set up a responder correlation based off a value incoming from the request service. The issue is that this value is within the element and I need to set up correlation based on that specific value / id within. The section of the request body contains that…
-
Compatibility 2020.2 to Previous Version
My client was updated to version 2020.2 today and now I am seeing the following Deployment Error when I try to deploy a virtual asset to a 2020.1 server: webtool.test.InheritingAuthentication cannot be cast to com.parasoft.util.DefaultCustomObject Is there a way I can resolve this issue? Our organization has several…
-
How can I create a responder which sends back the exact request as a response?
How can I create a responder which sends back the exact request as a response?
-
Unable to record database queries using parasoft
I tried pointing application servers to parasoft JDBC driver but it is not recording /capturing database query and my application doesn't start.
-
Announcing the 2021.1 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft Continuous Quality Suite of API testing tools is now available with updated versions of Parasoft SOAtest, Virtualize, and CTP. In this release, we focused on four primary areas. 1. Requirements view added in SOAtest to correlate tests with traceability workflows. 2. Increased accuracy…
-
[HELP] REST URL Databank Not Extracting value from Path
Hi, I am running into an issue where the virtualized service I created is supposed to extract a value from the URL path and make some status change in data repo. For some reason the value being sent in the request isn't being extracted by the REST URL Databank. I am using Parasoft version 9.10 Request Template Data Source…
-
Extension tool - DB connection : getting Checksum fail Error
I am getting below error Error Message: Error during script execution. View Details for more information. Checksum fail Additional Details: Checksum fail java.sql.SQLRecoverableException: IO Error: Checksum fail at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:682)at…
-
Uniform Think Time per Service
Hi There, Requesting your assistance on a dilemma i am having as i deal with Performance Testing and our Virtualize is built in such a way that it should mimic PROD-like behaviour especially when it comes to Response times. I am given a set of Production Average Response time per specific Service and I have updated…
-
Unable to iterate values from CSV datasource
I am using parasoft virtualize to create virtual api But for paramertized data , unable to iterate from CSV data source. It returns first row everytime.
-
returnStatus example for creating a responder using the REST API
I have a process that creates message responders using the REST API. To date, I have always used the default values for the returnStatus portion of the request. All of my users have only needed an HTTP 200 response. Now I have a new request to allow custom return status codes, e.g. 201 Created, or 401 Unauthorized, etc.…
-
Record on both connections
I'm interested in recording a traffic file that contains responses from both the primary and secondary connections in my message proxy Connection. My approach is to send back a fake bad HTTP response code with the primary response in order to invoke the secondary connection so I can capture that response. I have my virtual…
-
"host" Request Header Missing
Based on some testing I have been doing, it looks like the "host" request header is visible at the message proxy but that it is not passed to the virtual asset in the primary connection request. Am I missing something? Are some headers stripped when the request gets forwarded to the virtual asset in the primary connection?…
-
MQ Message Object Output
I have configured the IBM websphere mq in my virtual asset. My Input is BytesMessage, but Object Message Responder does not exist for virtualization incoming request. Which Message Responder should I choose? I need convert input to Map<String, String>, then convert to BytesMessage after edit.What can I do for it?
-
How to set Virtualize settings
Hi I want to change queue's ccsid. How can I set parasoft.mq.environment.ccsid?
-
Loop thru data using json data bank using xpath- soatest Version: 9.10.8.20191027
This is what I have for my json data bank for $index in (1 to count(/root) ) return (if(exists( /root/pageContents[1]/item[$index]/id[1])) then /root/pageContents[1]/item[$index]/id[1]/text() || '-'|| /root/pageContents[1]/item[$index]/position[1]/text() else "NA") This is working fine if there is only one record in the…
-
Skip Special Character in Incoming Request
I have an instance where the incoming request will be a Hex string that is preceded with ">>>" and ends with "<<<" Ex: >>>1601 0200 <<< I wanted to know what is the best way for me to skip the three arrows preceding the hex string and after? I want to skip the first three arrows and just deal with the hex string in-between
-
How to integrate perfect the virtual services in the environment
Hi, I ask myself the question, how to integrate the virtual services in a very smooth way in our dev and test environment. Is there a feature I not already discovered or is the only way to set a load balancer in between my dev/test env? ** What exactly I need? ** * Request --> Dev/test (this environment have a downtime)…
-
Mysql DB virtualize
Hello team, I want to know what is jdbc url for mysql? I use below configuration but I face with error jdbc.driverClassName=com.parasoft.xtest.jdbc.virt.driver.JDBCProxyDriver jdbc.url=jdbc:parasoft:proxydriver:jdbc:mysql://localhost:3306/mydb jdbc.username=sa jdbc.password=123 I think below line is invalid, but I can not…
-
How to parameterize column names in SQL query template
Dear Parasoft team, I want to know can I use below SQL query template in Data Repository? I read "Criteria Expressions with the SQL Responder" but I want to use it in columns name not in where clause part because some times my columns name change. SELECT ${c1}, first_name, FROM Customer WHERE username=${username} and…
-
URL which has multiple combination parameters
i have a URL which has multiple parameters like a,b,c, application will request with different combination URL Parameters like with a&b, b&c, a only etc .I have to sent same response for all combinations. anyone please let me know if you know solution to parameterize with combinations parameters in responder correlation..…
-
Events HyperSQL DB Default JDBC URL and Credentials
Can you share the Events HyperSQL DB Default JDBC URL and Credentials? Thanks. JT
-
[Help] Parameterize Object Names in JSON Message Responder
Hi, I am trying to parameterize the object name in a JSON message responder response as shown in the following image: If I switch to literal input mode and use the ${} Syntax, I just get the the variable name sent back in the response. (Yes, data source correlation is set up for this example and the responder can access…
-
Dynamic Response Header in Responder Created Through REST API
Looking for a way to create a message responder that contains a dynamic response header strictly through the REST API /v6/tools/messageResponders. I would like to have a response header that echoes back the value that was sent in the request. As an example, a request comes in with a traceId in the request header. I would…
-
Data Source Correlation
Looking for details regarding data source correlation. 1 - I understand how to add the xpath needed to match up to a row in the data source. My question is: if I add more than one xpath conditions is it treated as AND or is it treated as OR with respect to the first xpath? 2 - Does Virtualize support custom xpath when…
-
post endpoint to save some data like json, txt, or xml
Hello, Is there any way I can create a POST endpoint to store some data that can be used to do a GET later on?
-
Data Repository - Accessing and updating from script?
Looking for some guidance please as I am new to Parasoft. I have searched this forum for every search I could think of and googled searches as well. I have a requirement to increment a counter that will be used in a virtual service. Each time I increment I want to save to new counter value back to the data repository,…
-
Announcing the 2020.2 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft enterprise functional testing products, version 2020.2 is now available! In this release, there are several enhancements aimed at making API test automation and service virtualization easier and more productive for DevOps teams. In this release we focused on 3 primary themes: * Low-Code…
-
MQ Virtuialize Asset Configuration to Proxy
Hi All, I have created MQ virtual asset using traffic file. I want to use virtual asset instead of real. Please help me with the configuration. Thanks, Krupa
-
Responder Refresh
I am trying a simple literal responder json response. when I start everything it works from soatest. If I make a change (add a element to the literal response) and restart everything I keep getting the initial response without the change. I have to delete and recreate the responder with new change. How do I get it to…
-
[HELP] Multiple Responses Responder Message ${ } Syntax Not working
Hi, I'm trying to use the multiple responses responder to send values from Data repo's and databanks using ${} syntax. Currently I just get ${variableName} in the response. See Screenshots below. Note: I've tried accessing multiple ways shown in the example…
-
[Help] Access Data Repository Data Source from A Message Responder Script
Hi, I'm trying to access values inside of a data repository on a Message Responder script. I have "use data source" checkbox checked. Code Below: import com.parasoft.api.*;def messageResponderResponse(context) { String dataRepoVal = context.getValue("root Data 2","AccountNumber"); Application.showMessage("DEBUG VALUE: " +…
-
[HELP] Script not accessing data currently stored in Data Repo
Hi, I’m trying to get the existing value in my Data Repository in column soloAccountNumber to be displayed to the console. Instead of showing the value that’s already there, it always say the value is null. The goal is to check if the data repo has a value, if its null, return the the value generated from Data Generator…
-
Get all headers and add them to a message client request
Can you share an example of getting all headers from a request into a variable and adding them to a message client request? Thanks. JT
-
com.parasoft.stub.ResponseObject@5ecba2b0
We have created virtual assets where we have capture xml action in data bank and forwarded it to endpoint based on action. When someone else is trying to use our virtual asset endpoint for testing , response that is captured in payload is com.parasoft.stub.ResponseObject@5ecba2b0 not sure what does this means
-
How to call Custom JAR method with arguments
I am using JAR inside the JSON Message Responder "Response" tab to return the response. One of the method in the JAR expects the method arguments. 1. How can I send the arguments to method inside the JAR, from the JSON Message Responder? 2. In local machine, I can set the Custom JAR file path in the System Properties. In…
-
Custom XPath for Data Source Correlation
Is there any way to set up custom correlation for the data source? Specifically, what I was interested in doing is checking to see if value in the "Data Source Column Name" field "contained" the value extracted from the request object. Something like: request: Cars data source column name value: Trucks|Cars|Bikes|Skates…
-
2 response for same request one web service and one MQ in same responder
Hi wanted to check can we have one responder giving 2 responses webservice call synch response from webservices and aysch MQ response for same request in Virtualize.
-
Asynchronous responder
how to create Asynchronous xml message responder in Parasoft Virtualize
-
Need to send Multiple responses for a single request at certain interval of time
The request would be triggered only once and not again and again. When a request is triggered it would send 3 responses at certain interval of time,I am unable to configure the same. Please help.
-
how to send different response wrt request for same service
Hi, I have a situation where i need to send different response for different request body but the service is same. for example: below service triggered on search page, after clicking add to cart, on product details page. https://imservices-qa1-usch01.corporate.ingrammicro.com:9043/ESProductSearchCA_v4_0 authentication…
-
Details of an error in script execution
When I have an error in one of my extension tool scripts I see the following on the Details tab of the Event Details perspective: Test Name: 1. /some/test/name Source: name of the extension tool Message: Error during script execution. View Details for more information. java.lang.NullPointerException Are there more details…
-
Virtualize Extension Tool: Can I log to the console?
What is the syntax (Groovy) for an extension tool to write information to the console or some other visible output in Virtualize? Thanks