-
Recording APIs from ANY Automation Framework with SOAtest Smart API Test Generator
Today marks the 3 year anniversary where Parasoft released the Smart API Test Generator add-on for SOAtest, which was SOAtest 9.10.5. So in honor of this anniversary, I decided to publish a write-up on how users can record JSON/HTTP-based API traffic from any automation framework. As you may know, SOAtest Smart API Test…
-
Unable to Add Outputs to Responders
Suddenly I am unable to add outputs to my responders using the Parasoft client. In the past I would right-click on a responder and select Add Output and then a dialog would appear to let me choose the type of item to add. Now when I click Add Output nothing happens. I've restarted the client and even rebooted my laptop.…
-
How to extract values from request xml and write those values in the output file
Hi, I am looking to extract the values from request xml and write the extracted values to the output file. Could you please help to achieve this requirement. For ex: created Meter1 2.0 2023-08-21T06:27:04Z It should extract the values from xml like as below write in the output file created, Meter1, 2.0, 2023-08-21T06:27:04Z
-
Cannot connect to license server error
Hello, I have the setup, where I'm connected to the RedHat server from my Windows machine through the Visual Code. I am using the OIDC authentication to connect to the parasoft license server. When I run the parasoft docker image from the RedHat server, the license is obtained from my employers server, but when I run the…
-
Using Basic Auth with Parasoft Virtualize
Hi, I wat to use basic auth with Parasoft virtual service. I am able to add the authentication to the virtual asset, but not able to correlate the incoming request's basic auth to that I have provided in the asset. Any suggestions or a reference document please?
-
Running Selenium Invalid Status code=403 Fix - Eclipse
If running Seleniums Tests in Selenic 2022.2 on Eclipse and encounter the following message: Chrome version installed: 114.0.5735.99 Chrome driver installed: ChromeDriver 114.0.5735.90 This issue occurs with newer versions of Chrome as discussed here: https://github.com/SeleniumHQ/selenium/issues/11750 Selenium 4.8.3 has a…
-
Getting undeclared error for the variable which is already declared.
I have this piece of code to compile with insure++ static int ABC ( unsigned char *buffer, int buffer_size, int num, ) { memset(buffer, '\0', buffer_size); void* xyz = # memcpy(buffer, xyz, "ABCD"); '''' but after cmpilation, i get this error: " error: 'xyz' undeclared (first use in this function)" but it is already…
-
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?