-
XML Valitadator
I have XSD schema , I am trying to figure out how to validate the schema Vs XML . Can you help how to use the tool?
-
Datasource Correlation
I am using a database correlation datasource for my responder. The query in DS is Execute procName :queryParameter. (returns col named "payload") I have a groovy script chained to the responder which grabs the query parameters and values from the request. The issue I am having is: How do override the "query Parameters" in…
-
SOATest Professional Desktop license and Automation license cannot be given together?
Hi, Can someone confirm that you cannot have desktop license for AD ID on one machine and machine locked license on another machine together? Let me explain... I have 2 machines. Machine 1 is being used by myself and team to run soatestcli.exe which the hostname is added to machine locked "Automation license". I verified,…
-
SOATest "Quality Tasks" not showing anything after "Remove all from view"
Hi, a newbie here trying out the SOAtest 2021.2. Everytime i ran a test, the Quality tasks window always show a tree view of the results. But after i clicked on "Remove all from view", the 2 Xs icon, it removed the previous results. And now any new test execution i see nothing in the Quality tasks window. Anyone know how…
-
Why my access to parasoft360 denied?
I Logged In and Registered to the portal successfully but unable to start any learning course such as Soatest Essentials.
-
Error reading test log for Test unit for xx.cpp.
I run "Run Unit Tests (File Scope)" configuration on eclipse base ide vs2013 ,then get a error :"Test execution: error reading test log for Test unit for xx.cpp". How can I Solve this problem?
-
We changed from 2021.1 to 2024.1 version of Soatest, there is a difference in compare
Hi we upgraded from version 2021.1 to 2024.1 what we needed because of TLS supported versions. Now we experience a difference in de compare. In earlier versions we had an empty field shown as: in the new version this empty field is shown as: Is there some setting to change this so the namespace isn't shown?
-
Setting Flow Analysis Depth without DTP
Hello, is it possible to set the Flow Analysis manually, without the DTP server? The guide only speaks about setting it through the server.
-
[ERROR] Code Analysis for ... finished with code 1 (ipro)
Hello, My group is in the process of moving from v9.5 to v10.3. After converting one of our projects to v10.3, we are encountering numerous preprocessing errors during Code Analysis that we did not encounter while running v9.5. We have successfully converted many other projects to v10.3 that do not encounter this error.…
-
Extension Tool
I have a extension tool chained to a REST url and want to capture the response in extension tool using Jython. Below is what I have. Which method do I use to get the response message. NOTE: I am not using a Generated Datasource. thx from com.parasoft.api import * def getResponse(input, context): response = ?????????
-
Configure Proxy for DTP
Hello, I am using the C/C++Test commandline tool, and I have configured the cpptestcli.properties file to connect to a DTP server. Unfortunately, a connection is not possible, as the server is only reachable through a proxy. I searched for proxy settings, but found only proxy configurations for the used JRE…
-
Suppression comments exported in the report
Hi everyone, we use suppressions in a source code to avoid findings of some rule violations. It is done according to the user manual by usage of suppression begin/end comments: // parasoft-begin-suppress ||ALL "suppression comment" ... code block ... // parasoft-end-suppress ||ALL "suppression comment" We use the field…
-
Proxy Question
I have a proxy that is setup to use the direct url and if it fails to use a pva. I have a instance where the direct url returns 200 but no data. How do I get that to failover to use the pva?
-
how to add mime type to virtualize server?
I am carrying out a virtualization in which it responds with a PDF format. Which needs application/octet-stream Locally I was able to add it and run it without problems. But now what I need is to be able to add this MIME Type to the virtualize server that is on Linux
-
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…