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.
Best Of
-
Re: How to add a stub for a Class member function?
@sorel , The stub code that you provided does not look right, but I assume that some of the issues came from the stub code being interpreted by HTML renderer of this forum post. In any case, I create…1 -
Re: Both - Traffic Object - What is the input?
The last link I included is now bad. Here are the correct links for enabling OIDC. SOAtest/Virtualize: OpenID Connect CTP: Configuring OpenID Connect DTP: Configuring OpenID Connect1 -
Re: custom script to choose Response by name
Hi, That tool uses a different approach than what Parasoft tools do. Instead of having to use a script to do correlation, extract values, and build the response much of that can be accomplished using…1 -
Re: Re-Deploy VA Not Working
Hi, For a server that doesn't automatically create a deployment for a pva file one can be created for it using the POST /virtualAssets or the POST /virtualAssets/{id} resources. The outline for API c…1 -
Re: Calculate sum of several columns in an XML databank
The simplest way is not to use a Jython script but instead to construct an XPath that uses the XPath sum() function. First you need to construct an XPath that selects all nodes that have the values y…2 -
Re: How to validate uniqueness of a field value in the JSON response.
One option is to use a JSON Assertor then create a custom assertion which involves custom scripting. However, my recommendation is to use XPath. To use XPath for JSON, you need to use an XML Converte…1 -
Re: How to write DB Response to Internal Spread sheet table ?
By "table" I assume you are referring to a SQL result set which the DB tool returns as XML. You have various options, depending on where you want your Extension Tool positioned in your suit…1 -
Re: How to write DB Response to Internal Spread sheet table ?
Put a Writable data source at the top of your tst. Add a DB Tool to perform your query. Chain an XML Data Bank to the DB Tool. Configure the XML Data Bank with extractions to write to one or more col…1 -
Re: Execute Different Test Scenarios based on Excel Sheet Value
Can you create an Excel formula to generate a list of paths for each group? Depending on which group you want to execute, you can pass a different list of tst files to soatestcli. The soatestcli comm…1 -
Re: DB Validation at Row Level
You were asking about the violations reported by your XML Assertor, correct? The "Selected Element" configuration in your XML Assertor contains an XPath that is used to match the nodes from…1