Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Discussion List
Configuring multiple responders: capturing data and responding conditionally
Hi, Parasoft community, I’m facing an issue with the configuration of multiple responders in Parasoft Virtualize 2022.1. Here’s the scenario: * Capture the value of a header in the first responder and store it in a variable for later use. * Disable the response of the first responder, so that it only acts as a data…
Error collecting information about available definitions
I am trying to write unit tests for a STM32CubeIDE project. I have build the .bdf file and imported it to Parasoft C/C++Test (Standalone). I was able to generate some unit tests, however if I try to run the unit tests or collect stub information I get the following error: "C/C++test analysis errors in /project_folder 1.…
How to Properly Extract Values from Incoming Request Header
I have a case where I would need to extract a couple values from the incoming request and parameterize it in the response. I am not entirely clear on how to do this in Virtualize, as the docs page regarding the Header Data Bank Tool offers more information regarding its usage in SOAtest and not in Virtualize. What is the…
How can I test that a response header equals a certain value?
I have a rest command that returns a Content-Type of application/octet-stream and a Content-Disposition with a filename. What is the best way to validate that the values returned in the headers are what I am expecting?
Write Header element to CSV file
Hi all, There are alot of post on creating CSV and passing element from body to CSV using xml transformer. However i am looking for a way to sent the 2 element in the HEADER session on to CSV file. I have yet to see any information regarding that. Please take note its 2 selected element in the message header, not the whole…
How to Increase Proxy Header Size
Hello, I'm testing out my application UI, and I'm routing the request through a proxy in my Virtualize server. The header of my request is over 8 KB (it's around 9 KB), and I've noticed that proxies do not allow their headers to be more than 8 KB. I tried two things to try and solve this problem I have: 1) I added HTTP…
Adding Headers to DTP tomcat
*This is custom work and is to be done at the users discretion. Incorrect implementation may prevent DTP from starting. BEFORE any manipulation to the web.xml, MAKE A COPY and store as a back up* The following will walk through an example on how to add a few Security headers to your DTP tomcat web.xml: First let us look at…
REST API: Patch Operation "application/json-patch+json" is not support using RAML
I recently installed Parasoft 9.5 and got an error in my Patch operation. all my Patch tests cannot be opened anymore. after multiple trial and error, I have edit the raml and change "application/json-patch+json" to "application/json" and add in header the Content-Type="application/json-patch+json" and it works.. I would…