-
JVM crashed while launching the soatest 2022.1 from linux virtual server.
JVM crashed while launching the soatest 2022.1 from linux virtual server. And Navigate from parasoft >>preferences ... jvm crashed open jdk 1.8 and 11 .. either way it is not working...
-
how to create delete message responder in Virtualise using url parameters as coreleations
how to create delete message responder in Virtualise using url parameters as co-releation has response body and empty request
-
SOAtest, Virtualize, and CTP 2022.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.1, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
Quality tasks from Diff tool and special characters (UTF8)
Hi, I am encountering problems with the Quality tasks from Diff tool (XML mode, literal XML) parsing special characters. E.g. DOSSIERNAAM!@#$%^&*()_+?{}|[]<>,./ gets in quality task converted to: Changed element text content value from the expected "DOSSIERNAAM?????????????????? ????X" to "DOSSIERNAAM������������������…
-
DB output converting to excel
I have a scenario where i need to convert DB output to a Excel. I have tried out "write file" with the below details Target name : filename.xlsx Target Directory: path A xlsx file is created in the path, but i am unable to open it. It is showing file format is invalid or corrupted. Can some one help me on this
-
Column is not a valid date
While I am testing REST API I get such kind of error messages: I don't want Parasoft to validate if date format is valid. I want to switch off this in Parasoft. Is it possible? If yes, how? What I want - everything as input should be interpreted in Parasoft as a string. And then endpoint will decide, if the input string is…
-
Enabling TLSv1.2 in SOAtest/Virtualize
Parasoft: Enabling TLSv1.2 in SOAtest/Virtualize: Description: SOA/Virt 9.10 and up now comes prepackaged with Java1.8 which has TLSv1.2 enabled by default. The Java version that comes with all the previous SOA/Virt versions does not. If you are using SOA/Virt 9.9.5 and below, there are two methods to enable TLSv1.2.…
-
I need some suggestion to handle multiple data source.
Hi Team, While trying to virtualize one of my service (PriceAndAvailability), i faced some issues to handle multiple data source. let me describe my case below. * I need to virtualize PnA service, which takes single or multiple "IngramPartnumber" as request parameters. * let say, if i create an API test case for one ingram…
-
Does upgrading Parasoft to latest version of Virtualise and SOATest affects virtual and test assets
Does upgrading Parasoft to latest version of Virtualise and SOATest affects virtual and test assets
-
How to take key which defined in json data bank's custom column name box in the groovy script?
I want to use variable in groovy script which I have defined in json data bank's custom column name section.
-
Web app dropdown fields not populating
Problem populating dropdown fields in web app using SOATest 9.10.8. I have a web app that I created a number of tests in SOATest using Parasoft Recorder running in Chrome. After I imported it into SOATest I replaced the Fixed data that is input into the screen with Parameterized data from a data source table defined in…
-
[Updated] Regarding log4j CVE-2021-44228 with SOAtest
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
Python or Jython script to change a value in XML file and update to a new value and use as data
My scenario: I want to execute a query and get XML , store in output file, picked up in python and changing few values inside XML and again using it as data for subsequent story
-
Licensing: Unstable/changing Machine-ID
Changes in the network environment may affect the interface that is used to compute your machine ID (used to identify your license) and result in machine ID instability. You can use the PARASOFT_SUPPORT_NET_INTERFACES environment variable to specify a stable interface and prevent the machine ID from floating. * Set up the…
-
Usage of sqlplus commands within DBTool of SOAtest
Hi, Is it in anyway possible to use SQLPLUS commands from the DB Tool within SOAtest (2021.1)? When I use e.g. spool ref_stamgegevens.sql set sqlformat insert select * from scalaref.ref_stamgegevens; spool off with radio button set to Separate Statements by Magic Token I keep getting an ORA-00900: Invalid SQL-statement:…
-
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…
-
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…
-
forum SOAtest Scripting Examples forum
Looking in the Extension Tool mentions the forum, however unable to find it. What is the location?
-
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.
-
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…
-
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…
-
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.…
-
How to automate switching of environment between real and virtual
Hi Team, I have a requirement wherein every sprint i need to execute load test by pointing to the real and virtual environments. so for that, someone needs to switch the environment and provision it in CTP every time. But I need to remove the manual effort here. Is there any way or any batch script where we can mention if…
-
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…
-
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 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…
-
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?
-
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.
-
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
-
How to know if an existing service in parasoft is a Rest Api or not?
How can we get from service if the service is rest api or not.
-
How to connect to SQL Server 2016 as Data Source in SOATest
Hi wanted to know how to connect SQL Server 2016 as Data Source for tst file in Parasoft SOATest . I see options of SQL Server , SQl Server 2005 as options
-
Using DB Tool with Microsoft SQL Server Integrated Security or Using Windows System Credentials
Hello Everyone, If you are a Microsoft shop and using SQL Server for Database, And the users are enabled with only integrated security for connecting to Databases. You must be wondering how to use the Parasoft DB tool. Follow the Steps: 1-4 on your windows machine. 1)Download and Install Microsoft JDBC Driver X.X for SQL…
-
Ignore Special Characters - String comparison
HI, How to ignore the special characters in data match validation between API response and DB response. I have used String Comparison Assertor on JSON Assertor.
-
Spontaneous cleaning out of source test suite project
Hi, All best wishes for 2021. For quite some time we have issues with the SOAtest project (running version 9.10.8) that is contaning the source test suites. From time to time this 'library'project gets cleaned out with an irregular interval. Currently this source project contains about 100 test suites (and is still…
-
Synchronizing Multiple SOAtest Servers using Jenkins and GIT
This post is associated to the following video on the Parasoft customer portal: https://customerportal.parasoft.com/lightningportal/s/videodetail?id=a3A4P0000047JbVUAU For a demo of the this infrastructure, follow the link for the video above. Intro: In this forum post I will be discussing the requirements and process for…
-
assertion for "case sensitivity"
Hi, I have assertion for a string .. if contains Step .. it is failing when response is STEP anyway to fix case sensitivity in assertions?
-
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.
-
connection reset
When i run service in SOAPUI, i get success response . Same service i run in SOATEST (Using same headers/certificate) , i get **Error Message: Connection reset Additional Details: A connection error has been detected. This may occur if a test has timed out while the client was still attempting to send or receive data.**
-
Shortcut Keys
Is there a list somewhere that lists the shortcut keys as it relates to SOAtest? F5= Run etc
-
How to use 'Global HTTP Authentication' in SOAtest's command line interface (soatestcli)
How to use 'Global HTTP Authentication' in SOAtest's command line interface (soatestcli) ? I'm trying to exporting GUI Preferences to a localsettings file, but the export file didn't include the global http authentication setting. When I running my test using soatestcli, I'm encountering authentication fail due to missing…
-
How to add loop in xpath?
In my scenario , I am getting different number of elements which depends upon data I am passing in request and I want specific set of element. I have added "IF" condition for the same and I am getting expected element and now I want to iterate this "IF" condition for this set of elements.
-
How do I import modules for Extension Tool in Jython
Hello, I'm trying to import a module in Jython but I'm getting some errors. I first go to Windows > Preferences > PyDev > Interpreters > Jython Interpreters and add the jython.jar found in the installation URL: C:\Program Files\Parasoft\Test\9.10 for SOAtest &…
-
Browser Validation
I am trying to validate an application webpage in SOATest. This test needs to validate that a particular column in a table to empty. Unfortunately, SOATest will either pass the test when there is a value in the column or complain that the XPath locator in wrong. In an earlier test I validated that there was a value in the…
-
SOATest Writable Datasource : Comparing more than 2 columns from different Writable Datasources
I have 2 XML responses where i need to compare both the responses. Responses will have list of array elements hence i had to extract the elements and saved to the writable data source. Now i have 10 columns for each data source (there are 2 writable DS) . I have written a java script to compare 2 columns one from…
-
API test job execution is not working
Hi Team, I created a test job in CTP and when trying to execute, it shows waiting status and did not execute. Can you please help me with this. Please let me know if any more details needed. Attached screenshot. Thanks Nihar Ranjan Arisal
-
Handling IN OUT parameters in DB Tool Stored Procedure calls
I have a Oracle DB Stored Procedure with the following signature SCHEMA.PACKAGE.PROCEDURE(IN VARCHAR, IN VARCHAR, IN VARCHAR, IN OUT VARCHAR, OUT VARCHAR, OUT VARCHAR, OUT VARCHAR, OUT VARCHAR, OUT INTEGER, OUT VARCHAR). As you can see, there is one parameter that is both an input AND output parameter. I have tried…