-
How to get the results in xml data bank from incoming request->DB tool
Hi team, We are creating a virtual asset to post a request from JSON message responder, and one of the argument look for the value in the DB using SQL query, that has been added in the DB tool step and to extract the values results as XML -> XML Data bank step added. How to get the results inthe XML data bank, i tried…
-
Capture data from a redirect
I have a REST call using a POST method. The endpoint does a redirect to another endpoint (I have the redirect checked). I want to capture the data from the redirect. Initially I used smart API and it gave me a "smart api" diff which has the data I need but I need it written out in something different other than diff too.…
-
Using cpptestcli to create coverage report
Setup I've copied the cpptest-coverage.cmake to my project and included it into my CMake project. Inside the cpptest-coverage.cmake I modified the following line: set(CPPTEST_COVERAGE_WORKSPACE ${CPPTEST_BINARY_DIR}/cpptest-coverage/${CMAKE_PROJECT_NAME}) to have all temporary files in my build folder. I see in the make…
-
Is It Possible to Type or Enter a Tab Key in SOATest?
I have a SOATest (2021.2) test that I want to enter or type the tab key a few times to give focus to a particular element in a web app instead of selecting or typing a value in it. I have not been able to find anything about that except in a very old post for SOATest 6.2 which involved adding script to a javascript file in…
-
how to generate local variables in the test cases and test code dependent on local variables?
In one of the functions, one portion of code looks somewhat like below, somefun(){ int a=1; if(a!=1){ cout<<"this is executed"<<endl; } } how can i have the cout executed from the test suite.
-
Need help with Partial Value checking in Conditions on Multiple Responses XML Msg Responder
Hi There, I am new to Parasoft virtualization, I am creating a virtual service using "Plain XML Message Responder" with Multiple Responses. I wanted to check the "param1" value (from Request Body) of first two characters only to match the request under "Conditions" as shown in the attached picture. Can I use wildcard…
-
How to Assert XML Data Bank from DB with JSON Data Bank from API Response.
I tried with JSON Assertor, but it is not iterating!
-
Virtualize - MQ details configuration
Hi, I'm new to Parasoft and trying to create a Plain XML Message Responder. I've details like MQ Channel, host name, port, Queue Manager, Request and Reply Queue. But i see SubIdentity, SubPoint, SubName, SubUserData in TransportHeader->MQ->Publish/Subscribe Command. How do i map these values to the fields? Can someone…
-
Parasoft SOA test - while running API tests REST client through Azure pipeline run , proxy error
hi @benken_parasoft , while running my tests locally I don't get proxy error 407 authentication required , but while running with Agent on server through Azure CICD pipeline, I get error as its running with a common functional IDs and not in my own Id, however other test steps in the testcase like connecting to DB,…
-
C/C++test 2024.1 Product Release Announcement
We‘re excited to announce the launch of C/C++test 2024.1, featuring an array of product improvements. Organizations need to stay current with the persistent changes in the latest security coding guidelines, so Parasoft made updates in support of static analysis for: * CWE Top 25 + On the Cusp 2023 * OWASP API Security Top…
-
C/C++test 2024.1 Product Release Announcement
We‘re excited to announce the launch of C/C++test 2024.1, featuring an array of product improvements. Organizations need to stay current with the persistent changes in the latest security coding guidelines, so Parasoft made updates in support of static analysis for: * CWE Top 25 + On the Cusp 2023 * OWASP API Security Top…
-
SOATest Error - Not Connected to DevTools
I have a coworker in another department who is just learning SOATest and is starting with the basics of having the test go to an on-prem URL and login. The test ran successfully once and is now throwing the error with the message Not Connected to DevTools. She tried several time and is now consistently getting this error.…
-
How to fetch datasource values to xml payload
Hi, We have a xml payload as below, would need to add the values to the payload from datasource. currently it is just fetching first row's data and adding same value in 3 different name field, instead of that it should get the value from 2nd row for 2nd value and so on. sample payload : <Meter> <Names> <name>${name}</name>…
-
Jtest 2024.1 Product Release Announcement
We're excited to announce the newest version of Parasoft Jtest focused on increasing developer efficiency and productivity. This release introduces enhancements to our optional OpenAI and Azure OpenAI integration for static analysis, enhanced workflows for test impact analysis, new test templates to help Java development…
-
Jtest 2024.1 Product Release Announcement
We're excited to announce the newest version of Parasoft Jtest focused on increasing developer efficiency and productivity. This release introduces enhancements to our optional OpenAI and Azure OpenAI integration for static analysis, enhanced workflows for test impact analysis, new test templates to help Java development…
-
dotTEST 2024.1 Product Release Announcement
We're excited to announce the newest version of Parasoft dotTEST, focused on increasing developer efficiency and productivity. This release introduces enhancements to our optional OpenAI and Azure OpenAI integration for static analysis, increased precision with test impact analysis, enhancements to dotTEST code coverage…
-
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.
-
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 retrieve the data from 2 different datasource and write it to a file
Hi, We have a requirement to retrieve the Peak and PeakTime from db2 for the meter numbers retrieved from another db called db1. there was already a logic to fetch all the active meters data for a day from db1 and write it to a file, now we need to append the values for Peak and PeakTime to the meters which need to…
-
Fetching log files using Unix?
Can we fetch the log files using Unix in parasoft? Is it possible to connect the power broker using Unix in parasoft??
-
How to build a Responder that fetches record count and all records in Data Repo as Json Array
we are building a CRUD base virtual asset, we are able to create POST, PATCH and DELETE successfully. we create a unique id for each row inserted into Data Repo and we use that to operate. but the GET Operation needs to fetch all the records or some records based on search criteria in the Data Repo along with the Count of…
-
SOAtest, Virtualize, CTP 2024.1 Product Release Announcement
We're excited to announce the newest version of Parasoft SOAtest, Virtualize, and CTP, focused on enhancing your software quality practices with leading-edge innovative test automation solutions. This release introduces enhancements to our optional OpenAI and Azure OpenAI integration for API test generation, enhanced…
-
SOAtest, Virtualize, CTP 2024.1 Product Release Announcement
We're excited to announce the newest version of Parasoft SOAtest, Virtualize, and CTP, focused on enhancing your software quality practices with leading-edge innovative test automation solutions. This release introduces enhancements to our optional OpenAI and Azure OpenAI integration for API test generation, enhanced…
-
SOAtest, Virtualize, CTP 2024.1 Product Release Announcement
We're excited to announce the newest version of Parasoft SOAtest, Virtualize, and CTP, focused on enhancing your software quality practices with leading-edge innovative test automation solutions. This release introduces enhancements to our optional OpenAI and Azure OpenAI integration for API test generation, enhanced…
-
DTP 2024.1 Product Release Announcement
Parasoft is pleased to announce the release of DTP 2024.1. This update is available at no cost to customers on an active subscription or maintenance contract. Enhancements: * License Server Administration * You can add a descriptive tag to a license, making it easier to identify and differentiate one license from another.…
-
current date parameterizing in the sql query
Hi, We are using a query to fetch the data from a table by hard coding a specific date in the query. Is there anyway we can parameterize the date to pick the current date while execution and show the data for the same instead of hard coding the date. sample query using in the data source step: select * from input_table…
-
Disable case sensitivity for Data Repo key columns?
Hey Team, I just got an ask from one of my teams that sometimes they use different cases when sending requests. For example, they may send a search request for "item" or "ITEM", expecting the same result. Is there any way to disable case sensitivity for this data set without affecting any other services? If not, this could…
-
Need to Delete Current Text and Enter New Text in Web Input Field
I am using SOATest 2021 and am having a problem with a date input field. As a by-product of the framework we are using, trying to replace the default date in the input field results in a long string of 2 dates instead of the new date. Basically what I need is to Select All followed by a delete of the selected date and then…
-
Error collecting information about available definitions
I am trying to write unit tests for a STM32CubeIDE project. I have build the .bdf file and imported it to Parasoft C/C++Test (Standalone). I was able to generate some unit tests, however if I try to run the unit tests or collect stub information I get the following error: "C/C++test analysis errors in /project_folder 1.…
-
Traffic Response - Save Download
Hello, One of our endpoints streams back a Word document. The Response Headers include the Content-Disposition with the file name and the Content-Type is set to "application/vnd.openxmlformats-officedocument.wordprocessingml.document" I would like a groovy script to read the Content-Disposition and allow me to save the…
-
What is the easiest way to parse and validate text/streaming service type of response traffic in SOA
I have a request that returns Content-Type: text/event-stream. I need then validate it has certain text in it. What output I can use?
-
"incomplete type is not allowed" error when generate the Unit Test case
In my project,there is one cpp file used two .h files.The files are like attachment.When I execute Generate Unit Tests command,it shows an error like this: "/tools/Kepler8.2/kepler/kepler-sdk/0.2.16202.0/kndk/platforms/0.2/x86_64/usr/i [C/C++test] [tuner.cpp] nclude/apmf/dso.h", line 35: error: incomplete type is not…
-
How to validate and insert the data to DB table using virtual asset
We are looking to create Parasoft API to insert the data to the tables by passing the parameters. UI should be able to invoke the API /insertMeterNum Step 1 to check if the data for example ( meter number ) is already exists in the table and respond back with " Meter number is already exists " Step 2 to Insert the data in…
-
stm32 generate unit test cases and run
I'm encountering errors when attempting to perform unit tests on an STM32 project![] . The issue seems to stem from xHarness not recognizing .obj files, resulting in an error message stating "line 1: error: unrecognized token." I've included the error details for reference. help me with this
-
use __va_list_tags instead of va_list when autogenerate unit test case
In my code there is a function like this: static void vhal_log(const char *file, int line, const char *tag, int level, const char *fmt, va_list args) the last param args is a va_list type.But when I use builtin rules:Generate Unit Tests to auto generate unit test case for this function, the result like this: struct…
-
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…
-
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…
-
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…
-
Does Executing Provisioning Actions Requires License?
I'm noticing an popup error "License is not set", while executing a provisioning Actions Error.
-
Question regarding the traversing behaviour of preceding axes when used with / and //
<div id="moe-osm-pusher" style="display: block !important; height: 0px;"> <div><p>A44</p></div></div><div id="x"> <p>A</p> <div> <div> <p>A11</p> </div> <div> <p>A12</p> <div> <p>A13</p> </div> <div> <p>A23</p> <div><p>A00</p></div> </div> </div> <div> <p>A22</p> </div> </div> </div> //div[p[contains(text(),'A23')]]//…
-
Using GCC Linker and options are not recognized
I am using Parasoft 2020.1 and in my project I am using a .BDF file. The compiler family is the GNU GCC 4.9.x. The problem I am having is when I put in a linker option it is not being recognized. My current state of my project the Static Code analysis is working and so is Stub Generation. But when I run a unit test during…
-
JAAS Configuration KafkaClient Entry
Hello, I was trying to set up a kafka responder. I am getting an error message stating that: "could not find a 'KafkaClient' entry in the JAAS Configuration. System property "java.security.auth.login.config' is in C/..../kerberos.config. Can you please provide an example showing an KafkaClient entry. I am using key store…
-
Adding IMS Transport via SOAVIRT API
I am making a PUT call to /v6/virtualAssets to set up the transports. I want to add IMS, however I am not certain what to include in the JSON for that. I currently have an "ims" element with a "port" and also a "workerCount' element. Can you share the appropriate JSON for IMS? Thanks JT
-
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…
-
New C/C++test CT Product Launch Announcement!
We are thrilled to announce the launch of Parasoft C/C++test CT, a revolutionary Continuous Testing and Compliance Toolchain designed to transform the development landscape for safety- and security-critical C and C++ software. Tailored for large teams navigating the complexities of stringent standards and compliance…
-
New C/C++test CT Product Launch Announcement!
We are thrilled to announce the launch of Parasoft C/C++test CT, a revolutionary Continuous Testing and Compliance Toolchain designed to transform the development landscape for safety- and security-critical C and C++ software. Tailored for large teams navigating the complexities of stringent standards and compliance…
-
My parasoft test check un-reachable code, how to disable it?
I get misra2012 errors from code that is not suppose to be compiled. for example - returns it is a fact that only 1 line can be in the compiled code. thus parasoft test shall return only 1 error. but for some reason I get 5 errors, no matter what is the defined value. how to disable this behavior?
-
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" : "",…
-
LDAP support (Non AD)
I'm struggling to get DTP hooked up to our LDAP server (Authentik). It connects but just hangs infinitely when querying users. Sometimes it times out throwing some useless Java stacktraces, the behaviour seems inconsistent. I'm curious did anyone manage to use Parasoft DTP (or any of their products really) with a pure LDAP…