-
Assertions Strategy using XSLT and diff tool
I am throwing this out here for the community on how they do assertions. I am not talking about validation 5 fields or so. What i do for assertions most of the time is using the diff tool. Lets say I have a service response to validate to a database. Native functionality of DB tool is to return in XML format. If the…
-
Unable to get the specific columns from collection using mongodb query tool
Unable to get the specific columns from collection using mongodb query tool. In query field to fetch specific elements i have used {"date":true,"name":false} but not getting any data for "date" column.Can anyone help me to resolve this issue
-
Writable Datasource Max length on column
I am pulling in a complex sql query that is over 800 characters long. I noticed it gets truncated when storing in a writable datasource. Is there any way to set max length on column? thx
-
Check if JSON Array is sorted by 2 elements
Using SOAtest 2020.2 Need to test if the a JSON Array is sorted. Assuming JSON array is like: [ {"id": 1, "folder": "fb\f2", "name": "n1"}, {"id": 2, "folder": "fa\f2", "name": "n2"}, {"id": 3, "folder": "fc\f2", "name": "n3"}, {"id": 4, "folder": "fb\f2", "name": "n4"} ] the sort should use only folder + \ + name So the…
-
Announcing the 2021.2 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…
-
forum SOAtest Scripting Examples forum
Looking in the Extension Tool mentions the forum, however unable to find it. What is the location?
-
Chrome infobar blocking playback, can we close it automatically?
Hi, We're using SOAtest 9.10.8 for a while now, combined with Chrome for web testing (v90 currently). Lately (probably since chrome v84+) we encounter problems during browser playback, on some systems... This is caused by the Chrome infobar, displaying something like: "Chrome is being controlled by automated test…
-
DB tool returning as blank where the SQL query in oracle returning null
Hi , We have connected to DB tool in Parasoft test to connect to oracle. When we run the query in DB visualizer connecting to oracle for one of the column its returned as null however when we run in DB tool its returning as blank. Is there any setting in DB tool tool return the column value same as returning in Oracle.…
-
RabbitMQ Messaging Client Test failing in Bamboo pipeline
Hello I've a Messaging Client test to validate RabbitMQ messaging queue and it's details, which is working perfectly working as expected locally in SOATest (v10.5.1). I've checked-in the required .jar files (producer, listener and amqpclient) at project level path in to repo and added the references in…
-
Code to save Traffic's Element View Response in file.
Hi Guys, I'm looking for a code which let me save rest service Element View response in some txt file.
-
How to remove "Read-only"
My colleagues sometimes send me Excel files, that are available only for reading. What should I do to become able to edit it?
-
same payload to run multiple time
Is there a way to run the same payload multiple times?
-
Increase integer range in SOATest
While performing JSON Schema Validation in the SOATest tool through "JSON Validator" feature, I am encountering the following error: com.fasterxml.jackson.databind.node.jsonNodefactory.numberNode(Ljava/math/BigInteger;)Lcom/fasterxml/jackson/databind/node/NumericNode; In the root cause analysis, I found that in the JSON…
-
Comparing values
I have a set of values from one rest call. I need to verify if they exist in another rest call. First call may have 5 values and second call may have 15. What is the best way to validate if the first value(s) is contained in second? Sample Data: below data returned as a JSON array. First Call Second Call 100 345 200 77 300…
-
Comparing many fields between API and UI
Data in a distributed system can be transformed and presented in a variety of ways. For example, an API might return data with different cases, leading/trailing whitespace, etc. Also, a UI may present data in an HTML table with additional characters (e.g. nbsp;). Furthermore, if you are trying to validate hundreds of such…
-
Looping through DS uses last occurrence of variable in subsequent runs
When looping through a datasource, such as per user login, and utilizing the same variable in multiple steps, the last variable assignment from the first run is used in all subsequent runs. In the attached, i am simulating the looping through a user list (datasource), which I assigned as a header for ease of tracking.…
-
Create XML File With Variable Information
I have a SOATest test suite with a test will drop an XML message on a message queue. The processing of this message is what the test suite will be testing. The issue is that I need to replace one of the elements in the XML message with a value that is generated at run time earlier in the test suite. That value is stored in…
-
XML response not visible in traffic viewer but saved as write file
Hi Team, While testing my service I can see the XML response which I saved using write file , but in Traffic viewer it comes as blank. When I manually beautify in traffic response then the response gets loaded. Because of this, in report as well the test case details are not coming up. Only no. of test cases passed and…
-
Unable to open .tst file in the explorer
I am getting the below error when i tried to open the .tst file. Soatest is unable to read the fil *** due to the following error. java.io.IOException: com.ctc.wstx.exec.WstxlOException: Unexpected end of ZLIB input stream
-
How to retrieve the newly inserted (using DB tool) data in bookstore using getItemByID operation
I inserted the data in to book store using DB Tool and I tried retrieving the data using getItemById operation which is present in bookstore wsdl. Though data is present in BOOK table i am receiving no book with the id 10 was found How do I retrieve the newly added data in BOOK table using webservice ? Do i have to…
-
Constant SoaTest Crashes
Lately, I have been experiencing more than usual crashes from parasoft. Now it appears to happen when I execute a test suite, and after 6 or 7 steps of the 50 or so complete Parasoft SOAtest & Virtualize: Version 2020.1.0 (9.10.9.20200430) -- Copyright (C) 2020 Parasoft Corporation## A fatal error has been detected by the…
-
Kerberos Authentication
I try to setup Kerberos Authentication but hit to the error below. The file krb5cc_ is available in the system, but not sure why SOATest cannot find it. Any idea on how to resolve it?
-
chasepaymentech CC encryption
I'm trying to dynamically encrypt credit card info before passing it t to our API's (simulating the process in the UI, using dynamically-generated PIE settings for the payment with our client chasepaymentech specific .js (https://safetechpageencryptionvar.chasepaymentech.com/pie/v1/~removed~/getkey.js). The sample results…
-
How to get array item count and then increased total count by +1
I've a scenario to add item into array using POST call. Now I've to validate whether the item is added into array list or not, so will check array size increased by +1 or not. I will use GET call to get count of array before and after POST call. Any solution? Here JSON Data Bank may not work, even if get a total count, but…
-
Jython not returning Data Source value
I am using soavirt 2020.2 version. I am trying to use extensibility tool to get a value from writable datasource and get the error below. I tried convert to string and still the same. Assuming there is a convert to unicode in Jython but could not find anything. Any help appreciated. I eventually want to get current time in…
-
Report that has request/response in SOA 9.10
Normally in the report for project in which a few TCs are failed we can see the request/response XML by clicking on traffic viewer on the HTML report generated. Similarly how to get all the passed TCs details as well with a link to request/resposne XML ?
-
SOAtest CLI - Increase Functional Traffic Limit KB's
Good afternoon, I would like to test out doubling the capacity of traffic reports from the default of 500kb's to 1000kb's. I am assuming that the desktop and soatest server utilize the User-Defined Example Configuration that ships with Parasoft, and this is what gets utilized if you just click the play button on any test.…
-
Call Java Function in JAR File
I have a java function outside of the message flow I am testing that takes a string, processes it, and then returns another string. I need to call this function and store the returned string for use in another test. Do I want to use the External Tool, Extension Tool or something else? How do I connect to the jar file?…
-
Using a custom property file instead of the common one with soavirt server license
I have a docker image loaded in a On-Prem location. We are using server licenses. The servers are up all the time. They are not using the deploy and destroy pattern. That said: Is it possible to use a "project specific" properties file instead of the one that is specified within the docker file? We are using the shell…
-
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…
-
context variable not getting set
from com.parasoft.api import * from java.io import * import java.util.ArrayList as ArrayList from java.util import * def readCSVFields(input,context): CSVPath = context.getAbsolutePathFile(' ');contextFilePath = CSVPath.getAbsolutePath().strip()contextFilePath = contextFilePath.replace("/ /", "/");fr = contextFilePath +…
-
Missing resources error message when execute the test scripts from Jenkins
Hi All, I am getting an error "ERROR: Missing Resources: The following symbols/resources were specified, but were not found in the workspace. Ensure they are valid and are relative to the workspace" when try to execute the SOATest scripts from Jenkins but I am pretty sure that the resource path provided is correct. The…
-
get Data From Traffic Viewer Object
Wanted to retrieve Header Info, Request Body & Response from Traffic Viewer Object from each test. I want to perform this task by writing code since I have 250+ scenarios in my suite and it is not possible to add Header DataBank for each test. My Suite is in REST.
-
Get values from the DB tool response and compare with external excel.
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…
-
Tool to write the Response data to external excel file
Hi Team, I have encountered a situation where i have to write the data to external excel file. I have tried to use write file option, still that would not be a solution as my data should go to external file.
-
Execute a test case when another test case fails
Hi, I have a scenario which has 7 test cases. I want to execute a test case (8th one) if any one of the 7 test cases fails. I am aware of "Test Result Dependency" option. it allows to select only one test case that is expected to fail. But in my case out of 7 test cases anything can fail. How can I achieve this requirement?
-
Compare datasource(expected data) with actual data in the database
Hi Parasofters, I have a problem. I am putting data in a database(SQL developer) via a process which loads some XMLs in the database. I have the expected data in a datasource in parasoft soatest. I want to compare the actual data in de database with the expected data in the datasource within parasoft soatest. How can I do…
-
Pass Parameters From SOATest to Selenic Test
I am running a test that calls a Selenic tested created from a Parasoft Recorder. I would like to pass few parameters to this test like the runtime environment (development, test, etc) and a customer id. When the test finishes I would like to determine the status and any errors that occurred. I thought I had seen some…
-
Access/Run Selenic Tests From SOATest
I have a number of tests created use the Parasoft Recorder and would like to use SOATest to setup and tear down these tests. What I would like to do is create test records via the DB Tool in SOATest, run the Selenic test(s) passing in some parameters (environment, test data key values, etc), check the results of the…
-
Is there any way I can set a relative path for the SFTP client key store file?
I can run my test locally, but If I would share the script, or run it in Jenkins, then the Keystore file location would be invalid or they would have to update with their path.
-
translate nested variables in reference test not working
Currently I set a chain of variables in a single testsuite variable and that works great, however, when I use the above test suite as a reference test suite, the variables within the single variable are not translated. Is there a way to force this, or is this not allowed with reference test suites?
-
Microsoft SQl Server Analysis Services and OLAP cubes
Is SOAtest able to connect to this and can it be used to do verifications on cubes? thx
-
parasoft jump start project query
Im creating test scripts using the java code through the parasoft jum start project and i was able to create a rest client with Input Mode as literal and pass the payload directly as a string but i need to pass the input payload from a File for which i dont see the option in the availble code. i have the following code to…
-
Compatibility of SOAtest/Virtualize coexistence for 2020.1 and 2020.2
2020.2 was installed before learning about the requirement for a new product password. I understand that the workspace has changed. Except for those services or functions that are deprecated, can I continue to use the 2020.1 version in the same workspace until Parasoft provides the requisite password update? Otherwise, I…
-
- SOATest Automation Scale Up with Data Source
Is there an ideal limit to the data rows that can be used in a single run before it gets a performance issue? The JSON script contains 8 test case pairs that compare the responses to make sure it is identical. The task is to compare 10K+ records in total
-
Response of a soap/rest test as expected result for diff control in subsequent tests
Can response of a soap/rest test can be used as expected result for diff control in subsequent tests?
-
Can an entire object from a REST API response be used in the next REST API?
How can this be done? via data bank or script or.....?
-
Update literal headers all at once
Originally posted here, but as a part to a different question so re-posting for visibility of the issue itself. Is there possibly a way to search and update the Literal HTTP Headers? I did not see such an option, but thought it would be a great addition if not. I believe the issue with the current HTTP Header option is due…
-
How to convert a test into spring boot project?
I need to integrate parasoft test suites into spring boot project. How do i do that?
-
Eclipse IDE 2020‑12 & Parasoft 9.10.8 Updatesite zip
Good morning, One of my teammates just installed the latest version of eclipse + the parasoft 9.10.8 updatesite zip and everything works as expected except for the Data Source Table. When she attempts to open an existing table it will open a blank tab. Any thoughts on how to fix this? Thank you