-
C: return in macro doesn't seem to be considered
Hi, I am running Parasoft for MISRA. Following a simplified code example: define RC(func) \ do { \ rc_t rc_ = func; \ if is_error(rc_) return rc_; } while (0) struct info_t { rc_t (*handler)(); }; rc_t caller() { struct info_t info = {0}; RC(called_function(&info)); // From this point, info is well initialized by the…
-
How Does SOATest and Selenic (and other Parasoft tools) Work With Multi-factor Authentication (MFA)?
We are being pushed to implement multi-factor authentication in all of our applications. Unfortunately, this will cause major problem with our build and deploy process and our automated testing. We are looking at creating a set of userids that are only used for build and testing but I am also wondering how others have…
-
Need to access application database for test data used in Selenic tests
I have a simple application that is used as a front end for another department's database. We only have read access and cannot create our own test data. What I would like to do is to make a few database queries to retrieve some key values to use in the subsequent tests. Are there examples of this available? Thanks!
-
Trying to Switch to a New Browser Tab Opened By The App
I have a webapp that creates a PDF document in a new browser tab. I want to confirm that it is a PDF report and not a simple error message that will be displayed if the generation of the report failed for some reason. The tab is created by the app but focus remains in the application tab. The problem I am having is that…
-
Weird behavior in tool. Feature parametrized value from drop down in json assertion not working
Scenario: all i want is to select the value stored from runtime in a writable data sheet and use it in subsequent json assertion but somehow, the data sheet isnt showing up in the dropdown.
-
Using SOAtest to capture a signature on 'canvas pad' for an HTML form
I am automating a signature in an HTML form using SOAtest. I use the mouse to click and drag the signature on a 'canvas' pad. How do I interact with a canvas pad in SOAtest? I click into the canvas pad and do the drag/drop but it is not recognized.
-
adding JDBC Driver jar file in system_jars folder
I have a pva using a "Database Correlation" as a data source. I have added the jar file in the system_jars folder and rebooted/refreshed the service. Still not working. Do we have to add something else, like the "sqljdbc_auth.dll" or update the properties file? this is on linux server. version 2023.2
-
Traffic Viewer/Diff tool issue
I am using SOAtest 2023.2 and have noticed that with the Traffic Viewer response (which I then validate using a Diff tool), an empty XML item is shown as the following (file attached). In migrating to this version from a prior version, this issue breaks a very significant number of tests. Is there a setting in SOAtest such…
-
Today we Upgraded DTP & License file from 2023.1 to 2024.1-in CPP user is gets ERROR:Invalid License
Hi Team, Today we Upgraded DTP and License file from 2023.1 to 2024.1 - But while running the CPP user is getting ERROR: Invalid license, Can anyone please help.
-
Need help with URL tags or parameters
Hi There, Hope you are doing well.. I am developing a virtual service in Parasoft. I have a requirement to use URL tags or parameters and build the response based the values in the tag values. Sample URL is…
-
How to fetch multiple values from request and update to DB
Hi All, We have a request with multiple sections which has different id's and username as below shown in the sample request. Currently we are using JSON data bank to extract the values from id and username and in the next step using DB tool updating these values in to the DB table. However, it is only fetching the first…
-
Parasoft Unit testing
I am getting Linking error, can anyone help me to fix. /gccm-inventory 1. Test execution: error linking test executable for Test unit for selected sources. /usr/bin/ld: /home/t0232gf/parasoft/workspace3/.cpptest/gccm-inventory/file-data/gccm_im_manager.cppbeae46cf/tested/harness_gccm_im_manager.o: in function…
-
Need Help with Handling Request XML Data
Hi There, Hope you are doing well. I am developing a virtual service in Parasoft and the sample Request XML is below <?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>…
-
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.
-
Date Format Validation
I need to validate this format of the date in a field Example: 2028-07-18 00:00:00.0
-
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.…