-
Parasoft SOAtest, Virtualize, and CTP 2023.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2023.1. This update is available at no cost to customers on an active subscription or maintenance contract. What’s New in 2023.1? In this first product release of 2023, we focused on a few key themes: * Enhanced code coverage for…
-
Import Postman Collections to SOAtest
Hi Everyone! I am pleased to inform you that we have created a tool that will allow users to convert Postman Collections for use in SOAtest. This tool is to be used to move much of the information contained in the Postman tool to be used in SOAtest. Using this, you will be able to bring over connection information (URL),…
-
Handling Authentication Tokens
Handling Authentication Tokens In this forum post I will go over the steps and tools needed to quickly and easily handle Authentication Tokens. We will look at what tools to use when handling authentication tokens returned as a header value and authentication tokens returned in the payload of a response. So first, a look…
-
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…
-
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.…
-
[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…
-
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…
-
Integrating SOATestcli with Jenkins
INVOKING SOATESTCLI THROUGH JENKINS Navigate to the Jenkins Dashboard and create a New Item to create your automated test case. Once named and created click the drop-down near the Name of your test Item. Next Add a new "Execute Windows batch command" Build Step Input your SOAtestcli commands: Here is an example CLI…
-
How to Assert Service Response Values against a Database
How to Assert Service Response Values against a Database Description: The following workflow will demonstrate a method to validate the data from a Service Response against the data stored in a Database. I will be using the database and Service Response from our Parabank 2.0 Application as an example. If you wish to learn…
-
Sql query
I used sql query to fetch the data count from data base and i want to validate the count is matching with data file count i have. Can anyone suggest me how to do using soa tool
-
Json file validation
I have json file and i want to validate if some column like bank and corresponding value abc is not available in the file. Can any one suggest me how to do that
-
How to use these wait times in SOA test tool
* I have around 100 test cases. Tests run individually is disabled because i selected test run sequentially. AS it runs sequentially, even though the tests dot have any failures, It runs so fast that test steps under one test case fails and test run pauses.
-
Recording APIs from ANY Automation Framework with SOAtest Smart API Test Generator
Today marks the 3 year anniversary where Parasoft released the Smart API Test Generator add-on for SOAtest, which was SOAtest 9.10.5. So in honor of this anniversary, I decided to publish a write-up on how users can record JSON/HTTP-based API traffic from any automation framework. As you may know, SOAtest Smart API Test…
-
How to extract values from request xml and write those values in the output file
Hi, I am looking to extract the values from request xml and write the extracted values to the output file. Could you please help to achieve this requirement. For ex: created Meter1 2.0 2023-08-21T06:27:04Z It should extract the values from xml like as below write in the output file created, Meter1, 2.0, 2023-08-21T06:27:04Z
-
Software Testing Institutions
Hi guys, looking for quality education for manual testing (QA), but I don't want to learn in groups of more than 20 to 30 people. Is there some online school where there are not more than 15-20 people in a group and a lot of practice? Can you share your experience with me pls? Thanks!!
-
How can we validate multiple messages on a kafka topic?
Hi Community, We are using the Parasoft soatest to read messages from kafka topics and validate them against an expected message. This works fine for cases when we expect 1 message. Also if we expect for example 3 messages, it works fine. We encounter challenges when we have multiple messages in another sequence than we…
-
SOATest Error - webtool.test.TestSuite cannot be cast to webtool.test.ToolTest
I am not sure what happened but I am getting this error message when trying to open a SOATest tst file. I am still able to open other test files but this one always throws this error. The full error message is: n error has occurred. See error log for more details. webtool.test.TestSuite cannot be cast to…
-
Compare 2 API's json responses coming in different Order
Hi Team, I am running 2 API's. Need to compare the responses and based on the result we need to make the test as pass or fail. Main problem is in every run blocks are coming in random order. Please how to do automate? API 1 Response: { "status": "success", "type": [ { "a": "1", "b": "2" }, { "a": "11", "b": "22" }, { "a":…
-
DataSource: CM1 (row 1): Invalid JSON: unable to find a JSON object, JSON array or a JSON primitive
I am getting this error , which I have not seen before ,my REST test cases were running fine. DataSource: CM1 (row 1): Invalid JSON: unable to find a JSON object, JSON array or a JSON primitive
-
Soa Test
I am not able to save header response i.e HTTP 200 or 500 in the soa tool. please help me to share the code or inbuilt service are present.
-
Using Multiple Data Sources
I have a requirement wherein I have 2 data sources (D1 and D2). D1 has 10 rows which will be used to create 10 rows in DB. D2 has 10 rows which will be used to update 10 rows that are created by D1. Flow has to go like this: a) Read first row of D1 b) Process it and Create a DB record. c) Read the record created from DB…
-
Windows Batch File does not run via SOATest
Hello There, I tried all the following options ; using external tool jython script ... , however, soatest does not write out anything and keep running forever.. No error at all. What went wrong in my setting? Basic setting - helloworld.bat file soatest version 9.10 or 2022v1 Any suggestions would be highly appreciated.
-
Is it possible to call a batch file in SOA test using Jython
Hi Team, I tried to call a batch file(.bat), basically i am using the batch file to capture the logs. i have tried running a script in Jython import os os.system("C:\Logs\logs.bat") the extension tool gives success but i dont see the batch file opening. Can some one help on this issue Thanks.
-
How to parameterize the "Variable Condition" field in the "TestFlowLogic" of "Execution Options" tab
I want to parameterize the Variable Condition field present inside Scenario >> Execution Options >> Test Flow Logic >> Variable Condition. I want to take the value from "Environments" or "Data Sources". The traditional way of specifying "${some_variablename}" is NOT working
-
CSV file newly generated in a local folder , how can we use the latest sheet in subsequent step ?
Once a job is completed. A csv file will be loaded in a local folder like example : c drive. Latest transaction file should be picked up for the testing is the scenario under concern now. we should be able to pick the latest file on that particular day and time and use this data source in subsequent step.
-
Execute REST API based on DB Tool Output
My requirement is to read a database which will fetch 2 columns and can return more than 1 row. Then for each row of the DB output, an REST API has to be called. Ex: If DB rows return 3 rows, then REST API has to be called 3 times with 3 different set of values. Could you guide me how to achieve calling REST API based on…
-
Saving HTTP Response Code
Hi Parasoft, I am trying to figure out how to save response HTTP code (200, 500) and added a Header Data Bank output item, but I do see anything that looks it would be for the header code. . Here is what is returned: HTTP/1.1 200 Content-Type: application/json;charset=UTF-8 Date: Thu, 01 Nov 2018 16:22:46 GMT Vary:…
-
SOATest runtime error 'No browser set' even though it appears to be
Hi! I am setting up SOATest (2021.2) on Windows Server 2019 replacing the Windows Server 2012. I have a number of tests that run in a browser. On the old server and on my laptop, the tests run like they should using Microsoft Edge browser. The test are unchanged on the new server but when I try to run them, I get the below…
-
Need assistance accessing a Java Class
I could use some guidance on how to access a Java method within SOATest. I have built a pretty basic class to get LocalDate, add days, subtract days and return the Epoch date. When I select "script" for the element I select Java and put in the full path to the class. The methods appear but I can not figure out how I can…
-
Unable to configure MongoDB Query Tool in Parasoft SOA Test & Virtualize 9.10
Hello, per Parasoft guidelines I tried adding MongoDB Query tool jar to my Parasoft SOA Test & Virtualize 9.10 version. When I click on Add Jars button of System properties section, I see only mongo-java-driver under org.mongodb and didn't find mongo db Query Tool in available jars list. Any thoughts?
-
Does Parasoft have an application for Test Management? If not what apps do clients use?
I know CTP enables continuous testing and provides test database configuration, otherwise not real familiar with that product. On the database matter, I don't think that works well for my company because there are key dependencies within the product tested and outside that are subject to change from one release to the…
-
Executing Autosys through Putty
I have a scenario where i need to execute Autosys through putty. I need to enter connection string, Username, and Password in the putty and after that i need to give certain commands. Is the above scenario is possible via Parasoft SOA test? If Possible please let me know how to do it.
-
How to validate uniqueness of a field value in the JSON response.
Hello everyone, Can someone help me how to validate a field, if the value returned in response in unique and contains no duplication. E,g: In below JSON, id field occurs multiple times, I want to validate "id" is unique and it's not duplicated in the JSON response. { "merchantCategories": [{ "id": "0001", "description":…
-
I am tyring to access the results of SOA test from SOA API. I am getting the following 403 error.
HttpGET http://localhost:9080/soavirt/api/v6/status/health Response: Error: Forbidden { "message": "Access forbidden, server does not have appropriate license feature enabled. Both [Virtualize - Service Enabled] and [SOAtest - Server API Enabled] are needed.", "moreInfoUrl": "http://localhost:9080/soavirt/api", "status":…
-
Blank Spaces in Path in Linux Machine
Hi, I am using Windows Machine for our development work and ultimate deployment is with a Linux Machine. In my .tst file, I have below steps configured. 1) Get Project Location using absolutefilepath() 2) Execute a DB query and I am storing the results of query to XML Converter for converting them to CSV. Then I am taking…
-
/soavirt/api/v5/testExecutions - Example Request Payload
Can you share an example rest payload for /soavirt/api/v5/testExecutions
-
How to restore working directory from GIT
Hi, how are y'all doing? I have a question: while usiing Parsoft 9.10.6 for a workspace having a project containing the master test suite modules and a "runnable" project containing references to the test suites, all very basic still. I use GIT as source management/version control. My working directory (where I initially…
-
Extract REST API Output(Literal) to Databank without External File Usage
Team, I have a REST API which gives output just as a literal and not in JSON/XML output. I wrote into a file and then wrote a Python Script to get into JSON databank. Is there any way to get output in JSON/XML without writing into a file.
-
Passing External Excel Files Between .tst files being called from Bamboo
Hi, I have 2 .tst files. First, the .tst file will be reading DB and fetching some records which have to be provided as input to the 2nd .tst file. We cannot have these two .tst files merged together as they have to run in some time gap. These .tst files will be executed from the bamboo pipeline. Any reference to local…
-
com.parasoft.traffic.proxy - Bypass Certain URLs
I am using com.parasoft.traffic.proxy on a corporate network so my BAU web proxy is disabled when I am recording. Most traffic records fine, however I am seeing one set of requests where the endpoint is not being reached. Are there args I can pass to the proxy.jar to tell the proxy to bypass certain endpoints?
-
How to Send GraphQL Queries Using SOAtest
It is possible to use the REST and Messaging Clients in SOAtest to send GraphQL queries. You just need to configure the payload correctly. GraphQL queries resemble JSON a little bit, but they are not in JSON format (meaning you can't build or parse them as JSON). So what you'll want to do is encode the GraphQL query as a…
-
GraphQL Support?
Is additional support for graphql coming to the next release of soatest? Typing out literal requests is quite difficult. I typically use a 3rd party application to construct the requests using the graphql schema and intellisense, and copy pasting what I have constructed into a literal JSON request. Would be nice to have a…
-
GraphQL SDL tips
The SOAtest GraphQL Client has a Form GraphQL view that can be constrained to the fields defined in a GraphQL Schema Definition Language (SDL) document. This simplifies building queries, where the Form GraphQL view is populated with controls to select and configure the available fields, arguments, etc. A GraphQL SDL may be…
-
Bamboo Pipeline calling .TST File - not able to perform DB Query
Dear All, I have .tst file where I use DB tool to Query DB2 Database. While setting up DB tool connectivity, I refer to the db connection properties file and I am able to execute it successfully. As part of Automation, currently Bamboo Pipeline is calling our .tst file and it fails at the DB step. How to give the DB2…
-
Invalid XML input:Content is not allowed in prolog
I am trying to assert some fields from Writable Source in Extension tool using Jython and writing the assertion response to a excel file. When running the script, it gives me error like 'Invalid XML input: Content is not allowed in prolog'. But the Output excel file is written. I have enclosed the test suite information.…
-
Executing .tst file using Command Prompt
I am trying to execute my .tst file from command prompt and I am getting the below error message and need your guidance to resolve this. C:\Program Files\Parasoft\SOAtest & Virtualize\2022.1>soatestcli.exe -config "C:\Users\bharatarun.radhakris\Bharat\Parasoft\MATF" -resource "BatchValidationPrcfd750Regression.tst"…
-
Interdependent conditional csv validation in SOAtest
Hi, I have a got a csv report which has fields (e.g. column 5) containing today's timestamp, for rows with only certain values in the first column. The csv client is used to convert it to xml. I have been struggling with xml databank, writable datasource and custom assertion to get this show on the road, but the result is…
-
Is there a standard Github Actions for soavirt?
Below is one for CTP https://github.com/marketplace/actions/execute-job We are looking for a similar setup for soavirt
-
Execution is failing for specified -resource (.tst) thru command-line
I've couple of .tst files under my project, say smoke.tst and regression.tst. I just want to run the tests have in smoke.tst so I modified my command-line by adding -resource ${project-path}/ProjectName/FolderName/smoke.tst. But while executing, it's failing stating - ERROR: Missing Resources: The following…
-
Post SOATest Results to Jira using Zephyr
We have a lot existing API Tests using SOATest, now wanted to post execution results to Jira (for further graphical representation) using Zephyr. We have many Tests under Scenarios and many Scenarios under TestSuite, like - I find to post results per Jira Test Id using Test Flow Logic after every Test, but it's weigh…
-
Use two different .tst files for single assertion
Hi Team, We have a scenario in which we have to query the DB just before to Batch Job run and store the results in a data bank. Then after the batch is completed using the previously queried results, we have to check the DB for processed results. Can we write 2 different .tst for these and can we refer to the previous .tst…
-
For a XML response, how can i do a data type assertion validation?
I have started using xml assertions for the response validation. I am looking for sharp answer than generic ones saying try assertions from output. 1) I want to validate data type for the response. ( String or int or text etc) 2) I need to do data length validation 3) i need to validate actual response to the expected…
-
Corrupted responses when running test concurrently within a suite
When turning on the "Tests run concurrently" Execution Mode under Execution Options -> Test Execution, I am seeing corrupted responses. As a result, current assertions or status code validations fail due to the jumbled data. Has anyone else experienced issues with this apparent common setting? Here are a couple of the…
-
How to write DB Response to Internal Spread sheet table ?
My Requirement is to Query table 1 which may return N rows. For Each of the row, I have to query 3 other tables and do some assertions. I wrote the Table 1 response to a CSV file and created a data source out of that and used that as an input to my other 3 tables. But I have been asked now instead of writing to a CSV file,…
-
How to pass Variable to Extension Tool ?
I am using Jython Script for extension tool with an excel databank as Datasource. In addition to this, I need a variable which is defined in the test suite to be passed to the extension tool. Please do let me know how to achieve this?
-
Execute Different Test Scenarios based on Excel Sheet Value
I have an excel which has a field (Regression/Functional). Based on this field, different Test Scenario tests have to be executed. If R, Execute Test Scenario 1 and If F, execute Test Scenario 2. Is it possible to achieve this?
-
Chrome does not allow this extension to change proxy settings.
I work in an env where browser configuration policy is managed by the company. I get the error shown in the title when I try to enable API Traffic for Parasoft SOAtest. It prevents me from being able to record. I tried the following workaround but it did not work. Is there another way around this? I confirmed that my local…
-
soa doesnt recognise oauth token generated as string
Oauth token is generated in a string format. But the element cannot be captured as a element to be used for the following tests. How to read this token in string format and make it use for following test cases. Any approach to be followed??
-
DB Validation at Row Level
Hi Team, I am reading DB with a query and the results I am storing in an XML data bank. Each Row will have 6 columns and one of which is a status column. I need to check for all rows if status column is a fixed value( say., 'S'). I created tests as enclosed. When i am trying to assert, the assertion doesn't shows the…