-
change license retrieving timeout and retries
Hi We run parasoft cppclitest in our CI flows as "best effort". In some cases, when there is no available license, cpptestcli sleeps for 600 seconds and then tries again. This will try several times in a loop until end of retries or available license found. In some cases this adds lots of time to our CI flow and users…
-
Scripted Responder Correlation via API
I have a user who needs responder correlation on a specific HTTP request header. He wants to have the responder match if the header is not present, or is present but has no value. In his words, null or "". The responder is being generated through the API. This type of thing is fairly simple using custom, scripted…
-
Can you provide an example of a writable datasource in Virtualize?
Can you provide an example of a writable datasource in Virtualize? Thanks, JT
-
Report generation with a list of suppressions
I want to include a list of suppressions in the report. When i am running c/c++ from eclipse and enable the 'Supressions Details' option the report contains a list of suppressions. But when i run the analysis from cli with -property report.suppressed_msgs=true the report does not contains the list of suppressions.
-
CMake project in Eclipse C/C++ Test checks 0 files
We have a CMake buildable project (C source) which we have just imported into Eclipse. The project builds successfully in Eclipse. When trying to run the MISRA 2012 checks via the Eclipse IDE C/C++Test plugin, it reports many files and source lines are available under 'Scope' but under 'Static' it says Files Checked: C/C++…
-
New Virtualize Java ExtensionTool - overwrite jar?
I am creating Java extension tools using the API. As part of this process I am uploading jar file to the system_jars folder. Works sometimes, but if there has been a recent request to a tool that uses that jar I find I can not overwrite or delete the jar. It is considered in-use by another process. I know there is a call…
-
How do I get the name of the datasource in Groovy?
What's the best way to get the name of the datasource associated with the responder in a Groovy script. Is there a reference to it in the context or do I need to put it there? Thanks, JT
-
Can I get multiple rows from a datasource using datasource correlation?
Can I get multiple rows from a datasource using datasource correlation? e.g. the datasource has multiple rows that have a column matching my xpath. Or, does that only work when there is a single match? Should I use scripting instead? Thanks JT
-
How can redirect to virtual URL when real URL return HTTP Status greater than or equal to 500
We had implemented a solution with proxy for one of our application but we are facing some issues, could you please guide us on the following scenario: We have a proxy configured for primary and secondary services, Primary URL: Points to the real service (i.e. the application’s API service) Secondary URL: Points to the…
-
Both - Traffic Object - What is the input?
When adding an extension tool for scripting, what is the actual input if I select Both - Traffic Object? Is that the entire request and response? Thanks, JT
-
Groovy example updating the response in the traffic object
Can you provide a Groovy example updating the response in the traffic object? Thanks, JT
-
Installing License Server using Podman
Hi all, just wondering if anyone manage to deploy license server using podman instead of docker? My environment is running on RHEL 8.6
-
Groovy Script to Redirect the Current Request
Would it be possible to attach a Groovy script to the outgoing response that would conditionally redirect the entire request to a new URL vs having it fall through to the proxy secondary connection? thanks. JT
-
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…
-
C/C++test 2023.1 Product Release Announcement
We're thrilled to announce the release of C/C++test 2023.1 with new features and enhancements that help teams automate static code analysis and coding standards compliance, increase productivity, and shorten time to market. New features include complete support for MISRA C 2023, and in addition, full support for MISRA C…
-
POST /soavirt/api/v6/messageProxies - Does this support "http" (not just "https")
POST /soavirt/api/v6/messageProxies - Does this support "http" (not just "https") serviceHost seems to be the only option and it defaults to "https" Thanks, JT
-
Expose lock/unlock in Datasouce API calls
Can you expose lock/unlock in Datasouce API calls? Thanks, JT
-
Add Message Forward to MessageResponder via API
Can this be done? It would be tremendously helpful because it would allow one to create a failover at the responder level as opposed to the proxy.
-
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":…
-
What license do I need for "Run IAR EW Tests"?
I am trying to run unit test by executing "Run IAR EW Tests" but I am getting this error Your current license is not sufficient to use non standard test execution flow Build and run tests on IAR C-SPY Simulator (license required) My current license indicates that "Runtime Error Detection", "Static analysis", "Unit test",…
-
[SOAtest & Virtualization][Kubernetes] Deploying SOAtest and Virtualize in Kubernetes
Hi everyone, I am new to Kubernetes. I followed the instruction given by Parasoft Documentation. (https://docs.parasoft.com/display/VIRT20231/Deploying+SOAtest+and+Virtualize+in+Kubernetes) When I tried to create Persistent Volume and Persistent Volume Claim, I got the error (please refer attachment error_1.png) The second…
-
Need help with DB queries using groovy
Can anyone please help with this request ? I want to use one Data source to create Oracle DB connection and use this connection in multiple responders under extension tool using groovy to create custom queries and return results for processing further . How do I achieve this ?
-
custom script to choose Response by name
Hi , I'm new to parasoft . Can anyone help with a script on how to return response by Response name under Response tab using custom groovy script under Responder Correlation tab ?
-
/v6/tools/messageResponders - Custom Scripted Responder Correlation
I was looking at the API call to create a messageResponder and I noticed that it doesn't seem to support a custom scripted responder correlation (or at least it wasn't documented). I also noticed when pulling a messageResponder from the API using /v6/tools/messageResponders on a responder that has custom correlation that…
-
DTP 2023.1 Product Release Announcement
Parasoft is pleased to announce the release of DTP 2023.1. This update is available at no cost to customers on an active subscription or maintenance contract. Version 2023.1 of DTP delivers key enhancements for scalability, security, usability, and ease of deployment. Enhancements: * Data Collector * Up to 90% performance…
-
Announcing Parasoft Jtest 2023.1
Parasoft Jtest 2023.1 is now available! New Features Support for Visual Studio Code VS Code users can now leverage static analysis and coverage display capabilities of the Parasoft Jtest. The Jtest extension is available at the Visual Studio Code Marketplace. Streamline Coverage Workflows with jtestcov Introducing…
-
Announcing Parasoft dotTEST 2023.1
Parasoft dotTEST 2023.1 is now available! New Features Enhanced Coverage Visualization in Visual Studio Code The dotTEST extension for Visual Studio Code now supports importing coverage results from popular CI/CD pipelines like GitHub, GitLab, and Azure DevOps. It provides an automatic refresh of coverage markers and…
-
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…
-
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…
-
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…
-
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…
-
Use Cases for Scripting via extensionTool
I have implemented support for adding scripting to our generated virtual assets using the extensionTool. I have set up a basic example of using a Groovy script to alter the response payload based on data coming from a datasource. I was wondering if someone could provide other use cases for scripting. I would like to create…
-
Selenium Executor JAR
SeleniumExecutor.jar Is this jar available for download? JT
-
Currently, what version of Tomcat are you using with Parasoft?
-
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.
-
incremental scan on docker container
Hi We are running cpptestcli to scan our code inside a docker container. Since we start with clean workspace every time, the scan takes too much time. To try to resolve it, we copied ".cpptest" folder to a shared location, then, on the next run, downloaded it to the workspace. the problem is that we still see long scans…
-
cpptesttrace option --cpptesttraceRun-OrigCmd=[yes|no] does not exist
Tool: Parasoft C/C++test Standard 2022.2 Per the documentation below for cpptesttrace, if the option --cpptesttraceRun-OrigCmd is set to "no", then the original command line will not be executed. However, this option is not recognized by the tool (verified via cpptesttrace --cpptesttraceHelp). Was support for this feature…
-
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.
-
Is it possible to call a batch file in SOA test using Jython
Hi Team, I tried to call a batch file(.bat), basically i am using the batch file to capture the logs. i have tried running a script in Jython import os os.system("C:\Logs\logs.bat") the extension tool gives success but i dont see the batch file opening. Can some one help on this issue Thanks.
-
How to parameterize the "Variable Condition" field in the "TestFlowLogic" of "Execution Options" tab
I want to parameterize the Variable Condition field present inside Scenario >> Execution Options >> Test Flow Logic >> Variable Condition. I want to take the value from "Environments" or "Data Sources". The traditional way of specifying "${some_variablename}" is NOT working
-
Diff Tool
Could you provide more information on how to use the Diff tool. I would like to compare the response from a message responder with the response from the corresponding live service. What's the best way to set that up? Thanks, JT
-
How to execute DB tool in a loop
Hi, I need to execute DB tool query in a loop based on the count is fetched at run time which depends on the number of array elements in my json payload. Kindly help me with a solution, Thanks in advance!!
-
cpptest failing on command line but working with Eclipse
Using the Parasoft plugin for Eclipse, I am able to run Parasoft test configurations successfully. Trying to run the same test configuration using cpptestcli results in a error message and a stack trace in the error log. The Parasoft version is C++test Professional 2020.2.0 (10.5.0.20201022B1126). The error output is…
-
Upload of a Local File using soavirt API
Can you provide the json request payload and headers to upload a .csv from my local environment to the Virtualize server? Assume my file is located c:/files/accounts.csv and I want to place it in /VirtualAssets/files Thanks JT
-
How to execute a data base correlation SQL query from the Responder Output - extension tool
I have a responder which executes a Data source -> data base correlation and I have chained the outputs to the responder and in one of the outputs I am setting the variable value that is used in the data base correlation, now in the next output I have to execute the data base correlation and fetch the database values. Can…
-
Insure++ 2023.1 Release Announcement
What's New * STL checking is now enabled for GCC-5 thru GCC-10. There are, however, some outstanding issues. STL checking is an extended and experimental feature of Insure++ which may be helpful in finding STL usage violations. See STL Checking in the User's Guide. * Several parser improvements. * Bug fixes. Known Issues…
-
CSV file newly generated in a local folder , how can we use the latest sheet in subsequent step ?
Once a job is completed. A csv file will be loaded in a local folder like example : c drive. Latest transaction file should be picked up for the testing is the scenario under concern now. we should be able to pick the latest file on that particular day and time and use this data source in subsequent step.
-
How To Deploy Virtual Asset via SOAVIRT API
I am generating a virtual asset using the API and populating it with message responders. On a server that has auto deploy set to true, the VA is automatically available for use. When I create it on a server with auto deploy set to false, the VA is visible under workspace files but, it is not deployed. Given the VA is…