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
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…
Responder with MIME type application/pdf
Hello, I want to add new responder to my virtual asset that returns application/pdf but I don't see the MIME type application/pdf available. Not sure if I am missing something. Please let me know if anyone handled a response of type application/pdf from parasoft.
Correlation / Extract Element Regardless of Order in the Request
Is it possible to do a responder correlation based on a particular element and its value, regardless of its position in the Request body? The case I am working with is where the user sends a request with the same elements, however the order randomizes each time. For example, if I am checking for the value of "Status" which…
Header correlation using Reg Expressions
I need to send response based on the incoming request header, response will be different based on the first letter of the header value I tried correlating headers in my responder and used values as: A*, B* and C* but I found that the only Regular expression allowed is for any header "[*]", seems I cannot use my own, is…
Include tools results into the responder correlation
I have a responder with a DB tool attached to the incoming request, the query used on it is looking for a record in DB using some values extracted from the incoming request by using an XML Data Bank. At response side I need to select my response (I'm using Multiple Responses) based on the incoming request (I'm filtering…
How to Parameterize a URL
I am trying to find the preferred way to parameterize / correlate values in a URL The type of URL's I am dealing with are in this format: basepath.com/{ParamName}/ How do I store the values for ParamName ** and be able to hit it when the user provides a url like: basepath.com/12234**/ with **12234 **being the ParamName's…
Virtualize : Forward Traffic on condition
I have a responder where it forward the incoming request through an internal routing to another responder. But I wanted to forward traffic only when specific criteria matches. I used Data source correlation and also tried using responder correlation but no luck. It just ignores the condition and forwarding the incoming…