-
How we can do Datatype assertion in Xml assertor?
I tried in json assertor-there is type assertion but xml assertor doesnt have.
-
REST client attachment validation
I have a REST request that returns a PDF file, and I need to verify the content of this PDF. Is it possible to render the content of the PDF as part of the REST client response in the SOAtest desktop tool so that we can validate it for correctness?
-
How to Extract Request XML Tag Value and Replace the Value based on Condition
Hi, I am creating a virtual service in Parasoft. I am using below request xml. <?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header> </s:Header> <s:Body> <WorkItem> <IncomingData> <Enquiry> <EnquiryUId>3</EnquiryUId> <EnquiryBasics> <EnquiryBasicExtra>…
-
How can we get Last part of variable in a string in Soa test
For ex: I have this xpath: /root/fields[1]/customefield_xxxx[1]/text() If I evaluate this Xpath am getting 12345-1000-2000-56789 But I just need to get 56789(last part)in my output. I have tried using substring, last(), postion and index..but none of them working.
-
How to interpret "Stat" and "Off" values in C++Test coverage report?
I have the following code coverage report snippet and want to understand what do "Stat" and "Off" values represent and how to interpret them? <CvgData cvgType="SC"> <Stat val="0;3;0;3;0;3;0"/> <Off val="0;76;115;120;146;153;198"/> </CvgData>undefined</File>undefined<File…
-
Need Help with Data Generator Tool Script & Custom Conditions for Multiple Responses
Hi All, Hope you are doing well. I am creating a virtual service using Plain XML Message Responder with Multiple Responses. Below is the snippet. I have added temporary "Conditions" for my testing purpose. Arg1 and Arg2 input request elements are required for my validation logic so I have extracted them into DOB and CODE…
-
License issue for CPPTEST 2021.1.1
I have a container image running the parasoft cpptestcli, the version is "Parasoft C/C++test Professional 2021.1.1 (10.5.1.20211218B1401)" that connects to standalone license server with floating license type. Everytime i run the command, the error shows: Using default workspace "/home/parasoft/parasoft/workspace" ERROR:…
-
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