-
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
-
Increase integer range in SOATest
While performing JSON Schema Validation in the SOATest tool through "JSON Validator" feature, I am encountering the following error: com.fasterxml.jackson.databind.node.jsonNodefactory.numberNode(Ljava/math/BigInteger;)Lcom/fasterxml/jackson/databind/node/NumericNode; In the root cause analysis, I found that in the JSON…
-
metrics report with raw values for each C-function
At the end of my Parasoft C/C++test Report, there is a Metrics Summary section. It is an array with a line for each metric and 4 columns for statistic values (like average and Min & Max). I would like to get rid off such statistics. How could I please get the raw computed value for each item of my project/workspace? For…
-
Comparing values
I have a set of values from one rest call. I need to verify if they exist in another rest call. First call may have 5 values and second call may have 15. What is the best way to validate if the first value(s) is contained in second? Sample Data: below data returned as a JSON array. First Call Second Call 100 345 200 77 300…
-
CTP : How to configure JAVA class file in CTP
I have a Virtual Asset which has a extensiontool chained using Java Language to send response back to client. I also have the java project inside the same SOAtest project. I added the classPath to the system properties and class loader , it works fine. But when i deployed the asset to SOAVirtualizeServer , I could not find…
-
Update bdf file for imported project via command line
Hi, I have parasoft professional version. I have imported a project using a bdf file. However, I have changed the project and would like to update the bdf file for the imported project. I can update the bdf file easily. But how do I update the already imported project? If I type: cpptestcli -bdf "cpptestscan.bdf" -data…
-
cpptestcli doesn't function properly
I recently received a license for parasoft and I set everything up on my machine. I even ran a flow analysis on my code with the desktop app together with the local parasoft rep. I am now trying to run parasoft using the command line using cpptestcli. I set things up as written here:…
-
virtualize ISO message
Is there a way that virtualize support ISO message request/response
-
Comparing many fields between API and UI
Data in a distributed system can be transformed and presented in a variety of ways. For example, an API might return data with different cases, leading/trailing whitespace, etc. Also, a UI may present data in an HTML table with additional characters (e.g. nbsp;). Furthermore, if you are trying to validate hundreds of such…
-
Missing symbol definition
I have created project using .bdf file for KEIL project. I am able to generate Unit tests successfully. I am facing issue for "Build and Run test executable using uVesion Simulator". It gives me error for not able to find variable from startup file even though startup file is included in project folder. Is there specific…
-
Looping through DS uses last occurrence of variable in subsequent runs
When looping through a datasource, such as per user login, and utilizing the same variable in multiple steps, the last variable assignment from the first run is used in all subsequent runs. In the attached, i am simulating the looping through a user list (datasource), which I assigned as a header for ease of tracking.…
-
How to test a persistence counter
I'm trying to write a test that runs through a C++ class that tests a persistence counter. Is there any way to set up a Data Source or Parameter block so that the class memory is not wiped between step calls? I've tried putting in multiple Call blocks, which does at least get me to the end of the logic, but doesn't allow…
-
how to generate Loadtest logs for Support
If there is unexplained behavior in Loadtest, we can generate a debug log before contacting Support to reduce emails going back and forth and thus the total time taken resolve the problem. To generate a debug log for Loadtest, please launch Loadtest with the following argument on command line. [SOAtest installation…
-
Continuous Integration for Virtual Services
Dear All- I'm looking for best practices/suggestions on implementing Continuous Integration from source control to the Virtualize server. I m aware we have a support for SOATest integration with Jenkins. Pl. advise for virtualization project with pva files and data sources. Thanks !
-
Passing Environment variable from Jenkins to CTP job
Currently, we setup individual CTP jobs for various environments, but I was wondering if it would be possible to setup a single job in CTP, and then pass the env Variable Set based on the jenkins job (script or cmd line) rather an defining individual builds within CTP?
-
capture the incoming header fields
Is there a way to capture the incoming header data fields and store them in XML data bank. I would use them in the response.
-
virtualize extension tool scripting and storing to json databank and use it on response
I have created an extension tool to generate a few variables and store them in JSON databank. When it responded back the values are not set. Is there something else I am missing.
-
dDuplicate definitions errors
Getting Error[Li006]: duplicate definitions for APIs in .o file. Help me out to resolve this.
-
Deferred initialization of Runtime Library
In some cases where runtime library during initialization needs to have some software/hardware components to be up and running and initialized prior to initialization. e.g.: RTOS. By default: When collecting application level coverage, runtime library is being initialized as early as fist instrumented line of code is being…
-
Create XML File With Variable Information
I have a SOATest test suite with a test will drop an XML message on a message queue. The processing of this message is what the test suite will be testing. The issue is that I need to replace one of the elements in the XML message with a value that is generated at run time earlier in the test suite. That value is stored in…
-
Running Application Monitoring on QT apps
Managed to build the Application however now i am stuck at this when i tried to run application monitoring on it Any ideas on how to solve this?
-
Creating Responder Suites via REST API
I am trying to create a nesting of Response Suites using the REST API. I can successfully create the first suite using the http://10.143.146.19:10000/soavirt/api/v6/suites/responderSuites call. However when I try a subsequent call to create a suite within the newly created suite it fails. It does not seem to recognize the…
-
Scope not speciefied
INFO: Scope not specified: No resources specified as scope, using all workspace projects as selected scope. Hi everyone, I am running unittest and for the scope I have given "-data ${CPPTEST_WORKSPACE}" but I got that error. I have tried also with "-resource ${CPPTEST_WORKSPACE}" but it didnt help. Does anybody know why…
-
How to Properly Extract Values from Incoming Request Header
I have a case where I would need to extract a couple values from the incoming request and parameterize it in the response. I am not entirely clear on how to do this in Virtualize, as the docs page regarding the Header Data Bank Tool offers more information regarding its usage in SOAtest and not in Virtualize. What is the…
-
New User, errors running C/C++ Static Analysis for my chosen coding standard
Hi, When I build my project from within Eclipse, it finishes with: 07:39:00 Build Finished. 0 errors, 0 warnings. (took 14s.306ms) However, when I try to "Test using coding standard", I get the following error repeated for ~50 .c files in my project. Reporting Parasoft C/C++ Metrics Analyzer results... The following setup…
-
XML response not visible in traffic viewer but saved as write file
Hi Team, While testing my service I can see the XML response which I saved using write file , but in Traffic viewer it comes as blank. When I manually beautify in traffic response then the response gets loaded. Because of this, in report as well the test case details are not coming up. Only no. of test cases passed and…
-
instance of xxx.pva
I was wondering if there's a way to have two ports running on the same instance of pva file. If not what's the best approach in creating two separate ports one pointing to dev and other one is pointing to sit
-
multiline parasoft tags to suppress violations
Hello, I'm working under open-source C project, that is not using // style comments/ In some cases, description in the tag is very long, and can't be placed into one line. I want to know will Parasoft Static analysis tools will detect multiline tags like: /* parasoft suppress item MISRAC2012-RULE_20_4-a * "Trick compiler…
-
Moved: multiline parasoft tags to suppress violations
This discussion has been moved.
-
using plain XML responder without pretty print when sending the response
I notice this while using the plain XML Response on the response. The XML message is pretty printed ( broken down to element line by line). Is there a way to have them in one line removing spaces or carriage return below sending the message out?
-
using plain XML Message responder
This is odd, may be just my configuration. I have literally copied the response and past to input mode literal Then I change it to the following input mode below. When the input mode is form input. The data source works fine as well as the generating script works based on the data source. However, the issue I encounter…