-
Configuration problems after source update
I had a project with some tests for embedded product. As we are on active development we have usually update our source files in C/C++ test. If the is any tutorial how to update sources I will be very pleased. After this update, I deleted my old generated stubs for this project as they were deprecated. When I tried to…
-
Licensing: Unstable/changing Machine-ID
Changes in the network environment may affect the interface that is used to compute your machine ID (used to identify your license) and result in machine ID instability. You can use the PARASOFT_SUPPORT_NET_INTERFACES environment variable to specify a stable interface and prevent the machine ID from floating. * Set up the…
-
Request timed out when hitting parasoft.com:8080/examples/servlets/Echo
Hi, I am trying to hit http://ws1.parasoft.com:8080/examples/servlets/Echo to echo my request (which has parameterized values ) and get a plain response. I am using the Mentioned end point from the past 3 months and now from last week I am getting a time out message on hitting the endpoint. Please help me with this issue.…
-
Parasoft C/C++ test not appearing on the VS toolbar
Is any experiencing an issue where Parasoft C/C++ test is not appearing on the VS 2019 toolbar? I can see that Parasoft is installed as it's showing in the VS About box. Also if I launch VS2019 without code, maybe one in every ten times Parasoft will appear in the toolbar. I can then load a project and successfully run…
-
Groovy script to read test case name in parasoft
Hi, I am using groovy script for reading of parameter from the data source and creating of folder at the same location. I am able to do this much but now I want my folder name to be same as my test case name. Therefore can you please tell me what should be the groovy script **to read the **test case name from my test suite…
-
Using Data Sources
I have one excel file as a Data Sources I have two Test Steps added under 1 Scenario. * Test number 1: I must pass the ID value (Valid) on the Payload - Happy Path * The ID Value that I need to pass on the Payload is mentioned on the 1st Row of the Data Sources (excel file) under ID Column * Test number 2: I must pass the…
-
Usage of sqlplus commands within DBTool of SOAtest
Hi, Is it in anyway possible to use SQLPLUS commands from the DB Tool within SOAtest (2021.1)? When I use e.g. spool ref_stamgegevens.sql set sqlformat insert select * from scalaref.ref_stamgegevens; spool off with radio button set to Separate Statements by Magic Token I keep getting an ORA-00900: Invalid SQL-statement:…
-
Need a faster way to merge results from clog files
I am attempting to merge 20k clog and tlog files using the load archive test configuration but it is simply taking too long for this to be feasible. Merging 20 files alone takes 40mins. Is there a better way to do this?
-
How to read the writable datasource and write to excel file
Am looking for script to read the writable source and write to csv file.
-
Sort values in json databank column
How to sort the values in json databank column array. Need help
-
XML Request Body Correlation
Getting 404 Not found error with Information: "Unable to parse message" when soap xml having 2 nodes: <?xml version="1.0" encoding="UTF-8"?> in soap envelope and internal request body xml. How can I use request body correlation in that case?
-
Send mail with attachment
I need to send from SoaTest, an email with an attachment in PDF format, and I am trying to do it through a Message Client with SMTP protocol. but the document does not appear as an attachment, but as the content of the email. How could I send an attachment in an email?
-
Error in executing Java code with method arguments Object input & ExtensionToolContext context
I have a scenario where the xml file stored in local should be passed in one of the element of the SOAP Request in string format. Steps followed to achieve this task: 1. Added SOAP Request 2. Selected correct Data Source in SOAP Request 3. Written a Java code to read file from local & pass it in request tag 4. Xml file…
-
Announcing Parasoft dotTEST 2021.2
The new release of Parasoft dotTEST (2021.2) is now available. In this release, we focused on the following areas: * Integration with Azure DevOps and GitLab * Enhanced extension for Visual Studio Code the with the ability to import results from Azure DevOps * New and updated test configurations for CWE and OWASP Top 10 *…
-
Excluding resources from Unit Testing
Some users may not want certain resources or files included in the testing scope for their unit tests. These resources can be excluded to ensure that no extraneous data is present in the tests. To indicate which project resources should not be tested during Unit Test Execution follow the steps below for your Development…
-
Announcing Parasoft Jtest 2021.2
The latest release of Parasoft Jtest (2021.2) is now available. In this release, we focused on the following areas: * Integration with Azure DevOps and GitLab * Enhanced Unit Test Assistant * UTA now creates multiple test cases per method that cover different code branches in the method under test. You can create test…
-
How to access RestTest Header Values from Traffic view Objects
Hi, I am new to this forum and I really need help. I have 100 + rest test cases in my suite and I need to retrieve header value from Traffic Viewer Objects for Each Test Cases. Would you please give me a code for this?
-
CLI Fails to import project
I've got almost everything working - gui operation, licensing, bdf generation, but I'm failing at cpptestcli. cpptestcli" -data "/myWorkspace/" -config "myConfig.properties" -localsettings parasoft_CLI/parasoft_localsettings -appconsole stdout -showdetails -import "/myWorkspace/myProject/myDKM" -resource "MyDKM" -bdf…
-
Assertions Strategy using XSLT and diff tool
I am throwing this out here for the community on how they do assertions. I am not talking about validation 5 fields or so. What i do for assertions most of the time is using the diff tool. Lets say I have a service response to validate to a database. Native functionality of DB tool is to return in XML format. If the…
-
Original function not called despite not registering for stub callback in test case
I had created a stub to test function B. The original function of the stub was used to test function A in the past. Now with this newly created stub, the test case made for function A has broken due to the original function no longer being called, despite not registering for the stub callback. Can someone explain why it is…
-
Unable to get the specific columns from collection using mongodb query tool
Unable to get the specific columns from collection using mongodb query tool. In query field to fetch specific elements i have used {"date":true,"name":false} but not getting any data for "date" column.Can anyone help me to resolve this issue
-
Env Mgr - Changing Database Connection - MySQL Driver Issue
I want to change the database settings in the Environment Manager so that the event data coming from Virtualize is written to a MySQL database. I have done this in the past and it worked fine, however we are using newer MySQL drivers now and the CTP is giving me an error. I have placed mysql-connector-java-8.0.11.jar in…
-
Keil uVision Unit Testing ITM Simulator Starter Guide
In this tutorial, we'll be going over how to get C++test to run Unit Tests on Keil uVision projects. * In this example, I will be using the following: * Keil uVision MDK-ARM 5.26 * C++test 10.4.2 * Windows 7 64-bit * If you are familiar on how to import your Keil project and/or create a bdf file for Keil skip to step 7. *…
-
HyperSQL Connection from a Remote SQL Client
Is it possible to connect to and query the CTP HyperSQL database using a remote SQL client? If so, what connect string would be used? Thanks, JT
-
Writable Datasource Max length on column
I am pulling in a complex sql query that is over 800 characters long. I noticed it gets truncated when storing in a writable datasource. Is there any way to set max length on column? thx
-
Check if JSON Array is sorted by 2 elements
Using SOAtest 2020.2 Need to test if the a JSON Array is sorted. Assuming JSON array is like: [ {"id": 1, "folder": "fb\f2", "name": "n1"}, {"id": 2, "folder": "fa\f2", "name": "n2"}, {"id": 3, "folder": "fc\f2", "name": "n3"}, {"id": 4, "folder": "fb\f2", "name": "n4"} ] the sort should use only folder + \ + name So the…
-
Announcing the 2021.2 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft Continuous Quality Suite of API testing tools is now available with updated versions of Parasoft SOAtest, Virtualize, and CTP. In this release, we focused on four primary areas. 1. Requirements view added in SOAtest to correlate tests with traceability workflows. 2. Increased accuracy…
-
Announcing the 2021.2 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft Continuous Quality Suite of API testing tools is now available with updated versions of Parasoft SOAtest, Virtualize, and CTP. In this release, we focused on four primary areas. 1. Requirements view added in SOAtest to correlate tests with traceability workflows. 2. Increased accuracy…
-
Announcing the 2021.2 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of the Parasoft Continuous Quality Suite of API testing tools is now available with updated versions of Parasoft SOAtest, Virtualize, and CTP. In this release, we focused on four primary areas. 1. Requirements view added in SOAtest to correlate tests with traceability workflows. 2. Increased accuracy…
-
Announcing the 2021.2 release of Parasoft SOAtest, Virtualize and Continuous Testing Platform
The latest release of Parasoft’s Continuous Quality testing tools is available with updated versions of SOAtest, Virtualize, and CTP. In this release we focused on API security testing; ease of use and improved user experience; and enhanced reporting. Here are just a few of the highlights: • Built-in SOAtest support for…
-
Regex support in Jenkins CTP Job execution setup
I was wondering if it was possible to use regex expressions in the Jenkins setup for CTP job execution, as listed in the fourth option, to loop through and run all ctp jobs that may match (the first three job execution setups)
-
forum SOAtest Scripting Examples forum
Looking in the Extension Tool mentions the forum, however unable to find it. What is the location?
-
Test execution:error reading test log for Test unit for selected sources error while mocking fopen
I'm new to parasoft tool. while writing unit test execution for cpp test I'm facing ****-Test execution:error reading test log for Test unit for selected sources error**** if I'm mocking fopen function in my test suite. Could anyone let me know is there a way to use fopen for writing unittest case for 100% coverage
-
Chrome infobar blocking playback, can we close it automatically?
Hi, We're using SOAtest 9.10.8 for a while now, combined with Chrome for web testing (v90 currently). Lately (probably since chrome v84+) we encounter problems during browser playback, on some systems... This is caused by the Chrome infobar, displaying something like: "Chrome is being controlled by automated test…
-
DB tool returning as blank where the SQL query in oracle returning null
Hi , We have connected to DB tool in Parasoft test to connect to oracle. When we run the query in DB visualizer connecting to oracle for one of the column its returned as null however when we run in DB tool its returning as blank. Is there any setting in DB tool tool return the column value same as returning in Oracle.…
-
How to use PARASOFT_CPPTEST macro in C/C++test Standard
By default the -DPARASOFT_CPPTEST is added in the project settings in Professional. But where is it defined in Standard Edition where there is no concept of eclipse project files? Here is the answer (thank you @Bogdan Czwartkowski for getting that info)! * Create a file called extras.psrc (name is arbitrary) * add the…
-
Using Parasoft with Lab windows CVI project
Hello, I am trying to configure Parasoft to work on a CVI prj project. I firstly create a .bdf file from my CVI project, then i imported it in Parasoft and tried to configure it. But when i trigger the Test; , i have the errors - Cannot launch process: clang.exe -cc1 "- and Access is denied ... And i can n ot figure where…
-
RabbitMQ Messaging Client Test failing in Bamboo pipeline
Hello I've a Messaging Client test to validate RabbitMQ messaging queue and it's details, which is working perfectly working as expected locally in SOATest (v10.5.1). I've checked-in the required .jar files (producer, listener and amqpclient) at project level path in to repo and added the references in…
-
Disable rule for specific library function
Throughout our code we do not check the return code on memcpy and memset. This is causing rule violations to be reported. We can prevent the warning by adding "(void)" before each function or by adding a parasoft comment before each call but this is not an ideal solution. What we would like to do is disable the rule for…
-
Autogenerated stubs not getting included in build
I have a file with several undefined reference errors (the function definitions of these functions are within another file which is not part of my current module). To resolve these I generated auto stubs and rebuilt my project again. But the undefined reference errors are not going away. How do I resolve this? Thank you
-
Code to save Traffic's Element View Response in file.
Hi Guys, I'm looking for a code which let me save rest service Element View response in some txt file.
-
How to remove "Read-only"
My colleagues sometimes send me Excel files, that are available only for reading. What should I do to become able to edit it?
-
same payload to run multiple time
Is there a way to run the same payload multiple times?
-
Data Source - Validate Contents
Is there some way to validate the contents of the data source when the virtual asset is deployed? I have a situation where data source correlation is failing and based on several tests I have set up it seems like the data sources are not getting populated. The issue just started happening on a virtual asset that has been…
-
Managing DTP Projects and Filters
What is best practice for creating and managing projects and filters in DTP? Should a project in DTP represent a development project, a product, or a version of a product? What if a project includes multiple products? Or what if a product has multiple releases across multiple projects? Lets say I have the following…
-
Parasoft Findings plugin and DTP
About DTP DTP is a Centralized Reporting Dashboard that can display back the results received from the Parasoft tools and provide advance analytics to verify quality in your application. It provides Widgets to be placed on a personalized dashboard that show a piece of the applications quality to help the user see what…
-
License: Activation failed: Encryption failed.
We don't have any issue to access the TDP license server until recently and we can not connect to the license server as below. It would be nice to have more detail information about "License: Activation failed: Encryption failed." and are there any settings I can take a look at to fix this "Encryption failed"? ./cpptestcli…
-
load test
I got a soatest payload. I was wondering if you can run 10tps using the same payload again and again. I am not familiar how to use the load test. Can you point me at the right direction. How I can start to do this.
-
Announcing Parasoft Selenic 2021.1
The latest release of Parasoft Selenic (2021.1) is now available. In this release, we focused on the following areas: * Ability to integrate Selenic with tests run using the Cucumber CLI runner * Ability to integrate Selenic with tests run in parallel using JUnit, TestNG, or Cucumber * Support for new IDE versions o…
-
URL Rewrite
Is there an easy way to rewrite the URL of a request using one of the available tools? I have a situation where I'd like to drop the first segment of the /context. For example: original path: /foo/bar/operation Tool rewrites the path to: /bar/operation Thanks, JT