-
Windows blue screen crash when using Parasoft products after a recent Windows 11 update
Several users have reported a Windows crash with error UNEXPECTED_KERNEL_MODE_TRAP when using Parasoft tools after applying a recent Windows 11 update. It appears that different sets of actions can trigger the issue, but some known cases include closing a responder editor in Parasoft Virtualize or closing the test…
-
SOAtest, Virtualize, CTP 2023.2 Product Release Announcement
We're pleased to present the newest version of Parasoft SOAtest, Virtualize, and CTP, focused on enhancing your software quality practices with efficient and reliable test automation. This release introduces seamless integrations with OpenAI and Azure OpenAI LLM providers, enabling effortless generation of API tests from…
-
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…
-
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…
-
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…
-
SOAtest plugin eclipse goal
Hi, We are currently exploring utilizing new soatest maven plugin ( https://parasoft.github.io/soatest-maven-plugin/ ) in for automating invocation of integration tests in our CI Pipeline. We are hoping to switch from the homegrown solution that uses maven-exec-plugin to call a shell script that in turn delegates to…
-
Best and Fastest way to do assertions
I would like to know what other people do for validations for large result set's (Service 1 and Service 2). If I have a a message with over a 100 values I want to validate, instead of doing it one by one using JSON or XML assertor, what do others do? I have used XSLT in past to get both messages into same format and then…
-
Soatest 2021.1 issue: SSL Error: Received fatal alert: protocol_version
We try to fire messages at an environment that uses different Cipher Suites. this results in errors: "_ SSL Error: Received fatal alert: protocol_version_ " When I run the software with some additional logging found on de parasoft Docs, I see the following: _"ClientHello": { "client version" : "TLSv1.2", "session id" : "",…
-
I am running SOATest 2021 and need to respond to a file download popup in Edge.
I want to click the Open File link in the popup. I am unable to get the xpath for this link (I assume since it is part of Edge and not the app running in Edge). Can SOATest do this? If not, can I use AutoIt to do this? What would the script be? I see there is a MouseClick command in AutoIt but it wants the x and y position…
-
sorting and limiting data in mongo db query tool in soatest?
How to sort and limit data in mongo db query tool in soatest?
-
Mongodb Query Tool - Update documents feature
Hi Team, Just wanted to know that, Is existing mongodb query tool capable of updating records or documents. If yes then how should my query look alike in mongodb query tool. Regards Rahul
-
Delete a record using Mongo Query DB Tool
Team, Facing issue in delete call using mongo query db tool. When we try to delete using db.collectionName.remove is not possible as it accepts request only json. Please share the possible way to delete the record in mongo
-
MongoDB tool - Json Assertions
I use Parasoft SOATest 2022.2 and I have imported "Com.parasoft.soavirt.tool.mongodbtool.jar" and successfully did UI installation and started using in my tests and able to connect to mongoDB and pull Json data and save it using data bank. Problem is Assertions are not working. All the tests are getting passed even though…
-
Text data bank
I think I need to use a reg exp on the following text to extract the value of 12/24/1938. Is there a online tool to do this for me? Date of birth: 12/24/1938
-
How to fail a test scenario using a matching string from response body
Hi Team, I am getting test scenario passed in the CTP since it is considering the http response code as 200 and returning PASS. But the response we are getting is failure in the response body so the requirement is to make that test scenario fail by matching the string from response body. For example: Response body…
-
Testcase iteration for assertion validation
Hi all, Using scripting how to iterate the testcase for performing validations for Assertion for error codes , my requirement is I would be creating a custom assertion code using groovy where it will be fetching the errors codes from writable datasource ( where we will be storing 10-20 api error codes) . Now once the rest…
-
How to call 1 of the SOAP Request Parameter in Groovy Script
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,…
-
How to achieve TextDatabank data storing in Custom Writable Databank ??
Hi Team , Can any one tell me how to store the Textdatabank data into our Writable Datasource so that i can use it in below Custom Assertion method calling String Datasource = context.getvalue("DataSource name",Column name");
-
How to compare values present in XML databank and textdatabank
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
-
Unknown Service in SOAtest report for tests created from swagger file
I'm seeing "Unknown Service" thing in my SOAtest report for all the tests I made from my Swagger .yaml file. It's showing two things under 'coverable resources" section of the report - my .yml file and "Unknown Service." But the coverage is only happening for the file. I'm using the default User-defined example…
-
Running/Skipping Tests by Environment in SOAtest
I'm on the lookout for a SOAtest solution to selectively run/skip scenarios/test suites and individual tests in specific environments. Ideally, something similar to Cucumber's tagging magic (like @dev, @val) to run or skip tests based on those tags. We gave test flow logic a shot, but it's not sufficient for all our use…
-
.cmd files
Can we execute.cmd files from Parasoft. And if yes then what option we need to choose
-
Can we execute .cmd file from parasoft
Can we execute.cmd file from parasoft. If yes can you pls let me know which option needs to be se select to import cmd file
-
What are the steps to migrate postman tests to SOATest?
What are the steps to migrate postman tests to SOATest?
-
How to convert ReadyAPI tests to SOAtests?
Hello, Is there a way to convert existing tests developed in ReadyAPI tool to SOAtests? Parasoft provided this nice tool to convert postman tests to SOAtests [https://github.com/parasoft/postman-soatest] I am looking for a similar solution to convert ReadyAPI tests SOAtests. Please let me know if any of you have any…
-
Looping
I have a soatest test suite that has 12 rest clients. Is there a way to run the test so that it calls these 12 rest clients in 20 loops? Or, do I have to run the test 20 times? Thanks. JT
-
Internal Assertion report generation
Hi team, While implementing internal Assertion I am unable to see it's validations are pass or fail.Can you help me out how to generate a test report in which the internal Assertion validations should be captured
-
Testcase Iteration for API rate limiting concept
Hi Team, I want to execute the testcase multiple times by iterating N times for testing API rate limiting methods can you help me how to achieve it in SOA Test
-
Extension Tool SQL Data Capturing into Datasource
Hi All I am fetching the data from DB Sql query using Extension Tool the Data is fetching successfully & showing in Console but the issue is i am not getting how to capture those Data and store in Datasource for future usage , Can someone help me on this.
-
How to get the environment variable value using jython in soatest?
How to get the environment variable value using jython in soatest? I need to pass the Env Variables in the service request file with scripted option, How can I pass it? I have used the following option but get the NONE result. def getTestCdValue(input,context): testcd =…
-
Maven config params do not seem to be accepted
Hi, Trying to reduce the number of flags on the maven run command. I followed the documentation regarding parameters that could be incorporated into maven. <plugin> <groupId>Parasoft</groupId> <artifactId>maven-parasoft-plugin</artifactId> <executions> <execution> <id>soatest-test</id> <phase>verify</phase> <goals>…
-
Maven Plugin
How do is setup a maven project in parasoft SOA test. how can we get the maven plugin installed on to soatest.
-
Running Maven with SOAtest
Parasoft offers a Maven integration plugin that will allow you to execute SOAtest analysis on project with Maven. Please follow the steps below if you would like to have SOAtest execute during your Maven process: * Before you can use the Parasoft Test Maven plugin, you need to add the "http://build.parasoft.com/maven"…
-
Parasoft Maven plugin installation
I need to install the Maven plugin for parasoft and im currently unable to do it through the market place due to network restrictions , is there an alternate way to add this plugin as a separate file into parasoft. Kindly suggest on the same.
-
SOATest Report - broken image
I'm running a test and the report that is generated has a section called "Summary - Functional Tests" and in that section there is a broken image with the name: func_summary_.jpeg there is no path in the image tag in the source HTML. Where is this image generated during the test?
-
Validation
I have one field in my json as Price : “40.0” ( in string) In json assertor , i am using numaric assertion to validate but its passing where expectation is it should fail as its not integer. How to validate that?
-
How can I restart a test where it left off?
I have a datasource with thousands of rows. Sometimes I need to stop the test (that includes REST API calls). I would like it to resume from the last line executed. It can be done?
-
How to fetch value from database base and pass in another call
I am using DB tool to write query and fetching All Id messages (will have in xml)and then i am using rest client and want to pass those messages details in payload but how to do that? I want to use individual req for each id and want to pass directly to payload
-
parameterization of xpath
Can i parameterize the below path instead of hardcoding- /root/item[type/Id/text()="123"]/Price/Amount I want to parameterize id .
-
how to validate data via xpath in json assertor
I have json data in below format and i want to verify that for perticluar source id"67678" amount is -100. i tried to give below path using json asserort and tried converting json to xml and use xpath but that did not work. /root/item/Ancillary[Id/string()="67678"]/Transaction/detail/Amount { "Type": "Mas", "Date":…
-
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 validate json using groovy script
Hii, i want to validate below json column and their value using groove script but it seems bot working for me. Can anyone let me know [ “Type” : health “Date”: “2021-09-09” { Department { “Name”: “abc” “Id”: “123” } “Expensive” { “Type “ : “abc” “Amount “: “123”}
-
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
-
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":…
-
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…
-
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.