-
Running Multiple Scenario's Concurrently using Parasoft SOAtest
Do we have an option to push different scenario at the same instance? I am trying to push multiple interfaces concurrently to the queue manager, by choosing the below setting * Execution mode -> Tests run concurrently * Tests run as group/Tests run all sub-groups as part of this group But still this is pushing the request…
-
Zip File Responder
Hello, I am looking for REST API to create a message responder whose endpoint returns a zip file hosted in a virtualize server. Thank you!
-
Parasoft DTP fails to connect to Postgres by hem chart
Hey, In values.yaml db: # Type must be one of: "mysql" | "oracle" | "postgresql" type: "postgresql" # Correct JDBC URL for PostgreSQL url: "jdbc:postgresql://parasoft-devex-postgres.postgres.database.azure.com:5432/DTP?sslmode=require" # Download URL for the JDBC driver jdbcDriverUrl:…
-
Failure to execute make through cpptesttrace, wrong path to make
Hi, We have two environments in which the builds run, one is on an integration server, but also, the builds can be executed locally. Locally, the parasoft version is 2024.1, and on the server, it is 2023.2.0 (10.6.3.20231201B4159). The server is linux, the local is windows. In the first case, we can wrap ${MAKE} with…
-
Rest API to List All Virtual Assets in A Server at a given Path
Hello, I am looking for a REST API which lists all the virtual assets in a given virtualize server at a given path. Thank you!
-
JSON Databank Xpath
I am trying to get a value from xpath and when I "Evaluate XPath" I get the correct value. When I execute at runtime the value = null on the console. If I hard code the value(position) it writes to console. Here is my xpath: /root/addressRelations/item[id/addressTypeId/text()='PR']/address[1]/city/text() I am using 2024.1…
-
Migration of Parasoft DTP DB from MySQL to Postgres
I have to migrate the Parasoft DTP DB from on-prem MySQL to Postgres on Azure. Are the step by step instructions? I'm trying: pgloader --type mysql "mysql://root:@uc-tlv-prod-pstdb-01:3306/DTP" "postgresql://psqladmin:@parasoft-devex-postgres.postgres.database.azure.com/DTP" getting the error:…
-
How to get text/plain type while reading the message in Parasoft.
Hi, I am using parasoft soatest. I'm trying to write a message with MIME type as text/plain with the input contains tag, I want to read the message in text format. But I can able to read message only xml format. Parasoft is formatting what is being read from queue. The attributes given in the input get altered while…
-
Traffic stream object response has alphanumeric characters.
I am using parasoft soatest. While hitting test case, I am saving the traffic stream into a .txt file in my local. I amm getting url, header params, request, response params and response. But at some places in the response, few alphanumeric characters are getting printed. Especially at the beginning of node. If the save…
-
Rest API to Get All Message Responders in a Given Virtual Asset
Hello, I am looking for a REST API to get all the responders associated with a given virtual asset, identified by an 'id' parameter. When I run the GET API on a virtual asset, it does not list the associated responders. Thank you!
-
Sample Escaped HTML Body for Message Responders API Payload
Hello, I am trying to create a message responder via API whose response is an HTML body. I tried to escape the HTML body by making the following changes (see code snippet below). However, the API is still failing mentioning that payload is invalid. Can you please let me know what changes need to be made to a raw HTML…
-
How to send a file as an attachment using SMTP
I have a requirement to construct a output file and send it over mail, could anyone please help on the step to achieve this scenario using SOA test. Thanks, Sheeraz
-
Parasoft DTP JDBC driver compactibility issue
I trying to use Parasoft DTP for static analysis. However i am having the following issue. I have mySQL in my system. How can I install compactible JDBC driver?
-
/v6/testExecutions - Location of Test Configuration Files
I'm getting a 404 error when trying to execute a SOAtest via the API. /v6/testExecutions I have been testing with the SOAtest Example Configuration config in the IDE and it works fine. In the JSON request body I tried using "user://Example Configuration" to no avail. The error message seems like the configuration file…
-
Import of DTP database from 2022.1 to 2024.2 database (both MySQL) is very slow
The old MySQL DB (version 8.0) is on VM. The new MySQL DB (vesion 8.4) is in Kubernetes. The new configuration of parasoft DTP is also on Kubernetes The exported file size dtp_backup.sql is 82GB The command to import is kubectl exec -it -n -- bash -c "mysql -u root -p < /tmp/dtp_backup.sql" The import took ~120 hours. The…
-
How to handle a ZipCode element with masking in Browserplayback
In my Browser playback, i have an element Employer Zip code and the format in html is as below When it was recorded, it recorded as below. When playing back its able to find the element but doesn't type anything in the text box. I even tried to parameterized the field, added additional wait time. Still its unable to type…
-
Error In Database Tool SQL
I have a rather messy SQL Server query that runs fine in MicrsoftSQL Server Management Studio but in SOATest's DB Tool it is throwing this error at runtime: SELECT failed because the following SET options have incorrect settings: 'CONCAT_NULL_YIELDS_NULL'. Verify that SET options are correct for use with indexed views…
-
How to update data source key column on the fly?
Hello! I need to register a number in a data source and in another request use that same registered number as a parameter for a correlation per url path. How to solve this?
-
Soatest Server api'S
I want to be able to use the ../V6/testExecutions api (POST) to execute the test at the scenario level. I am able to do at tst level. I have a test.tst with two scenarios, each with a rest API. Scenario1 and scenario2. Is it possible and what do I put in the "payload' to run just Scenario1? Here is my payload to run at tst…
-
Regarding parametrization
I have a sample json request(.pvn) and json response (.pva). I want to parametrize response . But I'm using literals . can some one please help me
-
Cpp test on yocto project
Hi, I am on PoC for cpptest, and I am willing to do static tests on my project. My project is already using yocto as build tool, and I do not want to change the build script. The guide says bitbake is supportive for creating bdf, but it keeps fails on my side. Does anyone know how to do static tests on yocto project?…
-
SOATest License Activation Failed
SOATest is running in command line mode on our build and deployment server and is kicked off by an Ant script. When SOATest starts up it gives an error about the license not being active. Despite this error, the tests are executed anyway. I am able to run SOATest 2024 without problems on my local computer and when I log…
-
Running SOATest With IBM Message Broker
I recently upgraded from SOATest 2021.2 (10.5) to 2024.2 (10.7) and am having trouble running some of the tests created in 2021.2. These tests involve dropping and retrieving IBM Message Queue XML messages to and from the message queues. This was done with a shared JMS connection property. In version 2021.2 we added 2 jars…
-
SOATest and Jira Integration through Zephyr
Hello team, We are planning to automate jira test management using github actions ,jira ,parasoft SOa test and zephyr api.Idea is to update parasoft soa test results to jira through zephyr api.Can anyone provide documentation or add some help here if implemented.
-
Getting 443 Connection timed out while running soatest and recording traffic via proxy
I have a soatest tst which works just fine. I want to virtualize the endpoint that soatest tst exercises. I setup a proxy on my localhost and updated my tst to run the same request through the proxy. It responds with org.apache.http.conn.HttpHostConnectException: Connect to failed: Connection timed out: connect. What could…
-
Parasoft SOA Test Referenced Variable not accessible through Variable Condition dropdown
Hello I have a tst file(ex file1.tst ) which only has variables defined and I have another tst(file2.tst) which references file1.tst . I can access all variables defined in the file1.tst using extension tool. But when I try to access those variables through a Execution Options-->Variable Conditions , I see empty drop down.…
-
TCP Connections
I'm working with a couple different custom transports that utilize TCP sockets and I am not having any success configuring a corresponding client using SOAtest. Can you provide screen shots of the configuration of both a client and responder that connects using TCP? I am not really getting how to do EOL and EOF tokens.…
-
Configuring multiple responders: capturing data and responding conditionally
Hi, Parasoft community, I’m facing an issue with the configuration of multiple responders in Parasoft Virtualize 2022.1. Here’s the scenario: * Capture the value of a header in the first responder and store it in a variable for later use. * Disable the response of the first responder, so that it only acts as a data…
-
Date Format Validation
I need to validate this format of the date in a field Example: 2028-07-18 00:00:00.0
-
[C++ unit test] undefined reference to the function that already stubbed
Environment: I'm working on Window system & C++test 9.4(eclipse) & gcc4.7 Procedure First, I evaluate the unit test with a very simple C++ code, just a main() and a simple function, I stub the function and run the unit test, everything is OK. Then I move to my real project code, and 3 steps as follows (same with the simple…
-
Parasoft DTP not receiving C++ coverage metrics
I am executing unit test from the cpptestcli and have configured the properties file to report metrics to the DTP server. I know the configuration is correct as Static Analysis and basic line coverage metrics are reported to the DTP. However, advanced coverage types such as MC/DC do not show any results. The test…
-
Db tool validation
We are running 50 soap services and each soap service is generating the transaction id so is there any way to collect all the transaction id and use db tool to validate the transaction.
-
db tool to connect microsoft sql server management studio
Hi Team, Please help to share the steps to connect Microsoft SQL server . We are getting sqlserverexception in the response.
-
Copying Suites Breaks Groovy File Path
I was trying to build a Virtual Asset from component VAs. However, when copying responder suites, the relative file path of a groovy file used in extension tool is broken during the copying process. This is despite the fact that the "persist as relative path" option is enabled. Please advise why copying responder suite…
-
Handling errno in unit tests
I have a routine that checks errno after calling exp(). The code compiles fine and works for static analysis. When I do a unit test, writing errno = 0 before the call generates a CPPTEST_ACCESS_VIOLATION error. Using MinGW compiler. Any suggestions?
-
Virtualize - MQ Setup using Different Queue Managers for Request and Reply
Hi Team, I'm new to Parasoft and trying to create a virtual service using MQ. My requirement is that Message Broker writes the request to queue (it is defined on Mainframe MQ) Details are: Host: <hostname>Port: <portChannel: AXP.CHANNEL.02Queue Manager: MQN3Queue: AXP.BRKR01.SYDID.Q00459.03 Request MQ Header contains below…
-
Db tool configuration
Please help to share the steps to configure db tool in top of the package to check the connectivity is success or not. If the connection success then rest of the scenario will execute otherwise it will terminate the process. The reason behind this in order to save db locking
-
How can I configure an array of object to respond, from an excel
I configured Excel as the datasource, but when responding it only shows the first line
-
ALM triggering SOATest 2021.2 via VAPI script using SOA CLI exe require license?
as what the subject says... when i try running it, i got an error. Is it true that after soa 2020 version, parasoft came up with addditional license which you will need CLI license to run test cases from ALM?
-
Grpc configure in Soa 2023 version
Hi Team, I am not able to configure the grpc setup in soa tool version 2023. I have added the jars in system properties but still grpc is not reflecting in the messaging client. Restarted the soa tool as well. Let me know if you need any details for same.
-
Command Line suite level
what is the parameter for executing at Suite or Scenario level. I have the parent test suite (one autocreated after tst creation(parent.tst), and a child (scenario) of this named "Virtualize" soatestcli.exe -config -<parameter name/value what is the parameter name and what would value look like? Also if I point to the…
-
License Server Support of Older SOATest and Selenic Versions
My workplace is running older versions of SOATest (2021.2) and Selenic (2021.1) as well as the License Server (2021.2) I found that the older License Server does not support the latest versions of SOATest and Selenic so I planned to also update to the latest version of the license server. In viewing the installation…
-
C/C++test 2024.2 Product Release Announcement
We’re happy to introduce you to C/C++test 2024.2, a release packed with features designed to streamline safety-critical software development, improve code quality, and increase your team's efficiency. Enhancements AI-driven code violation fixing in VS Code extension. Our Copilot integration in the VS Code extension now…
-
C/C++test 2024.2 Product Release Announcement
We’re happy to introduce you to C/C++test 2024.2, a release packed with features designed to streamline safety-critical software development, improve code quality, and increase your team's efficiency. Enhancements AI-driven code violation fixing in VS Code extension. Our Copilot integration in the VS Code extension now…
-
How to Force Selenic to Run Edge in inPrivate Window
I have a large number of Selenic tests that run in the Edge browser. I now require them to run in an Edge inPrivate windows. Is there some configuration I can do to the driver before opening the browser? Thanks!
-
Calling PowerShell script From External Tool
I am calling a small PowerShell script from the SOATest External Tool function. I am using this to update the passwords for a large number Active Directory test user accounts. The test will generate a new password, run the PowerShell script, update a SQL Server database table, and then update a KeePass repository. The…
-
Using Selenic with Appium
I am happy to share some tips about using Parasoft Selenic with Appium tests for mobile web apps. First, let's look at how to record actions that Selenic can use to automatically generate an Appium test. The Parasoft Recorder extension for the Chrome desktop browser can be used to record actions against a mobile web app.…
-
DTP 2024.2 failed to connect to MySQL (8.0)
I'm doing a new installation for DTP on my local machine, after the installation of DTP 2024.2, I placed the 'mysql-connector-j-8.0.33.jar' file under the 'C:\ProgramData\Parasoft\DTP\lib\thirdparty' folder. MySQL version 8.0 is installed on the same machine. I constantly get the error message 'Unable to find a compatible…
-
Is soatest & virtualize 2021.1 newer than soatest 2021.2?
Just curious...
-
SOAtest, Virtualize, CTP 2024.2 Product Release Announcement
Parasoft’s latest 2024.2 release for SOAtest, Virtualize, and CTP is packed with powerful new features designed to enhance productivity, improve team collaboration, and streamline testing processes. Here’s a quick look at what’s new: AI Assistant: Accelerate Learning and Troubleshooting A new AI Assistant is now available…