-
How to mask the data if the column is not uniform in values
I used symConnect responder suite and the Data Repository generated is set in a way that the values in a Column is different from each other. I want to mask those data but when I set or masked the particular column it will affect other data inside that column. One problem also is that other Data Repository is linked to…
-
how to create delete message responder in Virtualise using url parameters as coreleations
how to create delete message responder in Virtualise using url parameters as co-releation has response body and empty request
-
Validate REST in XML response format with DB Values
I have used the XML Assertor to validate the XML response and DB Values. I have used JSON assertor to validate the JSON and DB Values. For few of the fields in DB has null values and JSON response has empty. For which i have edited the element in configuration with replace(/root/item/element_name/text(),"null",""). But in…
-
Question regarding Time Stamp comparison with SLA
Scenario : I have this run time data saved using write file in a variable, eg: submission TZ : 2022-06-02T16:31:06.1880147Z and I have SLA which is also captured during runtime and saving it using write file in a variable. Now, I have to compare these 2 TZ and say if submission time stamp is > reported SLA then my message…
-
Change date range for widgets in new License Usage Pack
Some of the widgets in the new License Usage Pack allow you to select a start and end date, but it appears to only have a 7 day date range. It doesn't seem to let me pick a date outside that range. Is there any way to change it? The info is useful, but I need a larger date range.
-
Preconfiguration for cpptest Professional Eclipse Plugin custom compiler setting not working
In tried to preconfigure the eclipse Plugin settings with the parasoft.ini file. The documention https://docs.parasoft.com/display/CPPTESTPROVS20212/Configuring+Localsettings shows that i have to set the custom.compilers.dir=[Directory]. But it does not set anything in the Parasoft|Configuration|Customs Directories|Custom…
-
Is it possible to use two database account at the same time?
I want to get the data from two tables using SQL query but the tables exist in two different database account. Is there any way and how to connect these two databases?
-
C/C++ Test Case Report Macros
Hi, I'm trying to include some logging into test cases using the CPPTEST_REPORT_* macros and I can't seem to find a way to view those log messages. When I generate a report, I can see messages included in a failure message with CPPTEST_FAIL("my failure") but nothing regarding from the CPPTEST_REPORT_* logs. Ideally, I'd…
-
Additional settings file in Kafka message client
What is the format of the additinal settings file which needs to be used when security protocol is SASL_PLAINTEXT and SASL_SSL. I tried creating a file with extension as .config with following values in the file , KafkaClient { org.apache.kafka.common.security.plain.PlainLoginModule required username="admin"…
-
Cannot convert XPath value to Java object: required class is org.w3c.dom.NodeList;
Trying to run this XPath for $index in (1 to count(/root ) ) return ( if (exists ( /root/items[$index]/item[]/sport[1] ) ) then /root/items[$index]/item[]/sport[1]/text() else ( if (exists ( /root/count[$index] ) ) then concat('Record Count = ' ,//root/count[$index]/text()) else "N/A ")) or this one for $index in (1 to…
-
Jython Crypto Coding for hmacSHA256
Can anyone help me get the right imports to attempt the below using Jython in SOAtest? Execute Anonymous: String digestTime = string.valueOf(system.currentTimeMillis());//This is standard Execute Anonymous: String digest = EncodingUtil.base64Encode(Crypto.generateMac('hmacSHA256', Blob.valueOf(digestTime),…
-
CRUD Tool to update key columns on the fly
Hi Parasoft team, I'm trying to make a sort of self-service virtual asset for other teams to dynamically add and remove their own test data. In theory, they should be able to call something like server:port/addData?item=123 and the service I am creating would theoretically add that item into the repository with "item" and…
-
SOAtest, Virtualize, and CTP 2022.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.1, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
SOAtest, Virtualize, and CTP 2022.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.1, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
SOAtest, Virtualize, and CTP 2022.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.1, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
Announcing Parasoft Jtest 2022.1
The latest release of Parasoft Jtest (2022.1) is now available. In this release, we focused on the following areas: * OpenID Connect Support You can now authenticate on DTP via OpenID Connect to add a layer of security to your interactions with your DTP server. See Configuring OpenID Connect in the UI and Configuring…
-
Announcing Parasoft Jtest 2022.1
The latest release of Parasoft Jtest (2022.1) is now available. In this release, we focused on the following areas: * OpenID Connect Support You can now authenticate on DTP via OpenID Connect to add a layer of security to your interactions with your DTP server. See Configuring OpenID Connect in the UI and Configuring…
-
Announcing Parasoft dotTEST 2022.1
The new release of Parasoft dotTEST (2022.1) is now available! OpenID Connect Support You can now authenticate on DTP via OpenID Connect to add a layer of security to your interactions with your DTP server. See Configuring OpenID Connect in the UI and Configuring OpenID Connect in the .properties File for details.…
-
DTP 2022.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of DTP 2022.1. This update is available at no cost to customers on an active subscription or maintenance contract. What’s new? Support for PostgreSQL Support for PostgreSQL database has been added for customers who do not want to use Oracle or MySQL. Modified Coverage Widget The…
-
SOAtest, Virtualize, and CTP 2022.1 PRODUCT RELEASE ANNOUNCEMENT
Parasoft is pleased to announce the release of SOAtest, Virtualize, and CTP version 2022.1, for API and web application testing as part of our award-winning Continuous Quality platform. This update is available at no cost to customers on an active subscription or maintenance contract. Parasoft SOAtest automates thorough…
-
cpptestcli: files to analyse not found
We are using cpptestcli from eclipse Plugin and on the terminal. Using from eclipse and the cpptestcli based on eclipse is working too. But we want to use cpptestcli in standard version for automation purpose. The cpptestcli is not working. Our Project is a makefile project with a lot of software modules.…
-
Exclude autogenerated code from coverage report
I have project with custom configurations for running and generation stubs/tests. My project contains autogenerated files that I want to exclude from coverage report as we are not interested in their coverage and it affects total coverage of the project. I use standalone version of C++ test and tried: * add them to…
-
Why Is Collect Stub Information Failing?
We are using ParaSoft with GreenHills development environment. When we try to collect stub information we get the following error in the console: "Could not preprocess source file" (See the attached file for full error description) Can someone tell us what is wrong?
-
Is it possible to break down the 1hr load test report into 15 or 30mins fractions?
Currently, we are running the loadtest in every hour and reports are being generated by 1 hour, which shows the ms average report. Is there a way to make adjust in the report so that we can generate in each 15 mins or so. Thank you in advance for your input
-
Is there any more detailed documentation for setting up kerberos authentication in SOAtest?
The only documentation I could find is this - https://docs.parasoft.com/display/SOA20212/Additional+Preference+Settings so I simply filled out the Security preference but clicking on Check Ticket gives me the error shown. I've tried different formats in different ways for the service principal, kerberos realm, and KDC…
-
Displaying Code Coverage Results on Jenkins
Hi, I've been trying to visually display code coverage results on Jenkins but can't seem to find a way to do it with the Parasoft Findings plugin. Currently I can only graph the number of tests that have passed/failed but I would like to have a visual of the coverage percentages. This is the plugin I've been trying to use…
-
Extension tool for supporting Parasoft C/C++ test
Hi, Our company is focusing on analyzing software requirements due to Parasoft features. We would like to use Parasoft to do static code analysis for C, C++ and also assembler code. There is one requirement that we have to check if all assembler code is documented in the code but it seems that this check is not included in…
-
Unknown Host Error
I am randomly running into an "Unknown Host" error within my test suite. I generally find the issue while running soacli.exe, then I switch to a different machine to validate the error and Soatest will produce the same error. In these tests I reference another test suite, which is actually causing the issue. If I go run…
-
Quality tasks from Diff tool and special characters (UTF8)
Hi, I am encountering problems with the Quality tasks from Diff tool (XML mode, literal XML) parsing special characters. E.g. DOSSIERNAAM!@#$%^&*()_+?{}|[]<>,./ gets in quality task converted to: Changed element text content value from the expected "DOSSIERNAAM?????????????????? ????X" to "DOSSIERNAAM������������������…
-
Is there a way to save all the traffic from all my tests without having to go into each test?
I have a full test suite generated from a swagger with 50+ tests created from all the endpoints - by default the traffic data will go away as soon as I close the project. I see from the documentation (https://docs.parasoft.com/display/SOA20212/Traffic+Viewer) that I can save the taffic data by checking the Save Traffic…
-
why i can't see the test data in database?
Hi, I imported .tst file into load test from SOA test. In SOA test, I can send the test data into database, but if i use load test, it can't send the data into database. Any hints? thanks
-
Question about XMLUtil.serialize()
Hello! I'm using a scripted response in my virtualization whose get a XML request, make some calculations and return. I'm using XMLUtil.buildDocumentFromString() to convert the text to a document and XMLUtil.serialize() to return a valid XML response. The problem is that XMLUtil.serialize() takes a long time to convert the…
-
How can I add value assertions for my JSON payload that has root element
I've simplified my actual JSON response from my traffic viewer to make this example easier. Let's say I want to add assertions to validate that the first number returned is 111 and the second number is 222 (they are strings). I added a JSON Assertor but the only element that shows up is "root", so I tried manually editing…
-
How to use java in pva project
Hello! I'm new using parasoft but i don't understand very well how i can integrate a java application in the response of one Virtual Asset. I hava a web server that i want to virtualize which sends a xml with several values, as below: REQUEST: < items> < item id="1">5000< /item> < item id="2">4000< /item> < item…
-
How to update an excel file used as a data source?
I am using an excel file as a data source in my test suite. Now, once the execution is over I want to update a particular column under the same excel file.
-
How to get current data source row number?
Hi Team, I came across a situation where i need to get data source current row number in xpath reg-ex. Let me know how to fetch it?? Thanks Udaya
-
License issue for the version 2021.2.1
We have a linux OS running the parasoft cpptestcli, the version is "Parasoft C/C++ test Professional 2021.2.1" and the machineId is given to the license server. But sometimes the cpptestcli program failed with ERROR: License: Main feature "C++test" status: No more tokens available.ERROR: Error: No valid license (MachineId:…
-
Test Suite vs. Scenario...
I do not see Scenario as an option, where did it come from?Hi, I have a TestSuite that contains TestSuite's and Scenarios... my question is where the heck did the Scenario come from? I just noticed it... what is it? I don't see Scenario's in the SOATest Documentation... visually it appears to be the same thing as a…
-
Unable to retrieve values which are in XML data bank in extension tool
I am storing the DB tool output to the XML data bank. In other test (where i am using Extension tool) i am trying to retrieve the value using the below code. but it's returning NULL. import com.parasost.api; public void getData(input,sc){ String value =sc.getValue("Custom column name"); Application.showMessage("The value…
-
How to create a rule using RuleWizard to identify a comparison operator?
I am creating a Parasoft rule for C/C++test using RuleWizard that flags whenever a type std::string is used as an argument within certain function calls. For example, this line should be a violation since it uses the variable 'mytestString' without a call to .c_str() LOG_TRACE(7, "ParasoftTestProj::main() Some TRACE…
-
Capture current Environment being tested
Within a run of a test, is there a way to capture the current Environment that the test is being executed against? I know I can add a variable to each environment with it's name, but that is not ideal for our 40+ environments across multiple test suites. Looking for something like scriptingContext.getEnvironmentName or…
-
DB output converting to excel
I have a scenario where i need to convert DB output to a Excel. I have tried out "write file" with the below details Target name : filename.xlsx Target Directory: path A xlsx file is created in the path, but i am unable to open it. It is showing file format is invalid or corrupted. Can some one help me on this
-
How can I integrate parasoft with event-driven microservice architecture model(pub/sub)?
Hello Team, We are using event-driven microservice architecture model(Pub/Sub) for my project and planning to integrate Parasoft SOAtest and Virtualize. can you please help me on this integration. we are using RabbitMQ as message broker. Pls share if you have any link for reference
-
How to create a rule in RuleWizard to check if the filename contains the foldername?
I want to create a rule that checks if a filename contains the foldername at the beginning of the file, for example: I have a folder named "folder1" containing a folder named "folder2" which contains a c file. This file should be named: "folder1_folder2_myFile.c" Is it possible to create such a rule with the rule wizard?
-
How to know whether my SOATest script is failed or passed through Extension tool scripting?
I would like to know whether my test is failed or passed through scripting (groovy). As on failure, I need to run some logics through scripting only.
-
Need to send response via TCP/ip connection
I need to configure a pva asset where I can send the response back via TCP/ip connection. Please help in getting this done.
-
Need help in getting com.parasoft.virtualize.listener.socket-1.1.1.jar
Please help and let me know from where can I get com.parasoft.virtualize.listener.socket-1.1.1.jar
-
How can I apply a regex rule to a URL Path?
Problem: Given the URL: server.com/Responder/param1/value1 I want the value1 to be a number 18 length digits only, so when I call e.g.: param1/123456789123456789 the test should PASS and param1/1234abc should FAIL and then, whatever comes in as value1 should be returned in the JSON response. My questions are: where can I…
-
Unable to read environment variables in extension tool
I have declared some environment variables and trying to read them in the extension tool. When i am trying to execute throwing the below error. Error:No Signature of the method: org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.$() is applicable for argument types. Below is the code i have used. import com.parasoft.api,*;…
-
How can I generate test suites using jtest in cli mode?
As title, How can I generate test suites using jtest in cli mode?