-
Create Responder Attachment using Scripting or Java
Is it possible to add a file attachment to a message responder using scripting or Java? I didn't see support for attachments in the API (unless I overlooked it) so I was hoping it's possible to do it with a different approach. Thanks JT
-
How to solve the error: "Invalid compiler config file"
Hi I am using Flow Analysis Standard in parasoft 10. My c project has been compiled in keil without any error and I imported it to parasoft using uvision keil project file. Then I run the Flow Analysis Standard but it issued this error "Invalid compiler config file" for all source files. Two tipical error messages are as…
-
Unable to run jtest cli on cmd
Hi all, I have an issue with trying to get jtest cli to run on cmd I am able to get this version to be running on eclipse IDE This is the following commands that i have attempted to run on cmd: jtestcli.exe -localsettings -resource "ProjectA\src" -config "buildin://Recommended Rules" -data It will show that the testing…
-
Passing in ID
Hi William, awhile back you mentioned that it is possible to override the UUID version of certain IDs by passing in a value. Can this be done for message proxies? Can you refresh my memory? Thanks, JT
-
Unable to execute tests
Hi, I could successfully create automated Tests for my dummy C Project using Parasoft. But on executing these tests, I get message in console: Collecting tests to be executed... Skipping test suite(s) - invalid CPPTEST_TEST_SUITE_INCLUDED_TO value detected: /Addition/tests/autogenerated/TestSuite_add_c.c ...done. Preparing…
-
Software Testing Institutions
Hi guys, looking for quality education for manual testing (QA), but I don't want to learn in groups of more than 20 to 30 people. Is there some online school where there are not more than 15-20 people in a group and a lot of practice? Can you share your experience with me pls? Thanks!!
-
extensionTool - Groovy example to modify the response payload
Can you point me to a couple examples of how to use Groovy code in extensionTools to modify things like response headers, payloads, etc.
-
/v6/tools/penTestTools
Can you point me to doc on /v6/tools/penTestTools and the tool it creates? Thanks, JT
-
How can we validate multiple messages on a kafka topic?
Hi Community, We are using the Parasoft soatest to read messages from kafka topics and validate them against an expected message. This works fine for cases when we expect 1 message. Also if we expect for example 3 messages, it works fine. We encounter challenges when we have multiple messages in another sequence than we…
-
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.