The most recent content from our members.
I tried with JSON Assertor, but it is not iterating!
Hi Team, I am trying to perform the Custom Assertion by using below code with Extension tool by keeping it as a separate Teststep import com.parasoft.api.*; public class Comparison { //Compares a value from a database data source to a value returned in a SOAP response public boolean compareToDatabase(Object input,…
Hi all, Can anyone help me how to compare the values present in XML databank & Text databank I tried with Diff but it's allowing only 1 value per once I need all the values present in 2 databanks to be compared at a time
I have an XML data bank that I'm trying to use and unfortunately the information that was entered in the Literal section needs updating but when I copy/paste new XML in that section then go to the Tree view it's not saving the new xml I've put in the Literal tab. Has anyone experienced this or know of a work around? I've…
In SOAtest, I want to get the values from the response of a DB tool and compare those against the values in an external Excel sheet. Then, I want to derive success or Failure of the test. I tried XML Data Bank or JSON Data bank but both of them doesn't show the DB response. They just show the Select query and the elements…
Hi, On XML Data Bank step.. when i extract an element, and click on "Evaluate Path" - i see "No nodes found" result. How do i get value? i need this values to perform string comparison assertion. I also tried setting "Extract empty element as: [null]" - this did not work either.
I am trying to get a part of a string up to the point where there is a blank space in the string. However, Virtualize is saying that it does not recognize what the .indexOf() function is. Can someone guide me as to what could be the issue and how to get the sub-string properly in Virtualize? The XPath code is am trying to…
I am trying to access a value stored in a XML data bank that is chained to the incoming request. In my extension tool, I chained a XML data bank to see if I can successfully pass the value to the tool. my code: function f(input, context){ var id = context.getValue("Generated Data Source","traceId"); return id; } My issue…
I am using DB tool with Results as XML -> XML Data Bank, it returns many rows as a result and I want all values of say nth field as input to succeeding queries in test scenario workflow. Is there any simplistic way to do this? For example first query select * returns few rows with fields say f1,f2....fn, I want all values…
I have a client who is trying to replace a value in the XML data bank. They have the correct path provided and data source / column selected. However, it is not updating the value to the one in the data source column. Are there some additional steps they may be missing? Can it update on Xpaths that end with text() ?
It looks like you're new here. Sign in or register to get started.