-
License Server Administration ID and Password
I have a question about the standalone license server. I would like to change the default userid and password for logging into the server administration. I have looked around inside the server administration but did not see anything about changing this and then searching the forums I did not find anything here either. The…
-
Column is not a valid date
While I am testing REST API I get such kind of error messages: I don't want Parasoft to validate if date format is valid. I want to switch off this in Parasoft. Is it possible? If yes, how? What I want - everything as input should be interpreted in Parasoft as a string. And then endpoint will decide, if the input string is…
-
Announcing Parasoft dotTEST 2021.3
The new release of Parasoft dotTEST (2021.3) is now available. In this release, we focused on the following areas: Support for Visual Studio 2022 Support for .NET 6 Support for C# 10 Fixed Log4j vulnerabilities (version 2.17.1 included) Static analysis rules improvements And much more! We have also removed support for UI…
-
I need some suggestion to handle multiple data source.
Hi Team, While trying to virtualize one of my service (PriceAndAvailability), i faced some issues to handle multiple data source. let me describe my case below. * I need to virtualize PnA service, which takes single or multiple "IngramPartnumber" as request parameters. * let say, if i create an API test case for one ingram…
-
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?
-
Parasoft not using autogenerated stubs
Hello, I am currently trying to use Parasoft with a colleague and I am running into problems with the autogenerated stubs. I wrote a unit-test suite and let parasoft generate the stubs for them. I then gave the files to my colleague and when he tries to run the tests it doesn't work because it won't use the autogenerated…
-
How to verify whether a file is present in particular path or not.
I have a scenario where after hitting the API, a File will be generated in particular path. I need to validate whether a file(CSV) is present or not(Both positive and negative). Can Some one help me how to do this.
-
How to access/get last value from XPath result
I'm querying the db and later added a JSON Assertor to verify a last row value of specified column. XPath: Result: Question: How to get the last value in the list? i.e. Honda
-
Does upgrading Parasoft to latest version of Virtualise and SOATest affects virtual and test assets
Does upgrading Parasoft to latest version of Virtualise and SOATest affects virtual and test assets
-
How to access active environment name in localsettings.properties file
I've multiple environments (like QA, SIT, UAT) where test suites executed. I'm getting the report in my inbox, but I need to have active environment name in subject line, like report.mail.subject= API Execution Report - {Environment name where it executed} I tried these but won't fetching the environment name - env_name,…
-
I need to pass jython code to java
I have doubts when passing this jython code to java code in Extension Tool "def ObtieneXML(input,context): entrada = context.getValue("Generated Data Source","DNI"); entrada = entrada.strip(); context.setValue("DNI2",entrada); context.getValue("DNI2");" if someone knows how to pass that code to java, please help.
-
Dynamic request payload generation for different test cases
I have a requirement where I need to generate the payload dynamically before sending the request to a service. Here, I have total 30 test cases where the structure of the payload is different for each test cases. Our main XML payload: <?xml version="1.0"?><catalog><book id="bk101"><author>Gambardella,…
-
How to properly set up a unit test with a data source?
I'm trying to set up a unit test that imports a file of inputs and outputs as a data source. I think i've got the columns mapped properly, but every line reports "Signal SIGSEGV caught: segmentation fault [CPPTEST_SIGSEGV]", coming from the suite .cpp file where the data source is declared:…
-
How to solve the "Invalid compiler config file error" in "Flow Analysis Standard" test
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…
-
Setup Problem for Static Analysis: 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…
-
Failed to respond to incoming message using data source row correlation
I have a request i.e. "crn":"234567890123456","amount":"200","settlementDate":"20091224", and a responder using a data source correlation of several response. And the response is to send the responseCode by validating the "amount" [<250] or [>250]. When I send a request via a Parasoft Virtualize .pva file the event…
-
how to activate virtualize community edition license on linux?
I am starting the service with the following command line: ./parasoft/soatest_virtualize/2021.2/virtualizecli -startServer -data /usr/virtualize/VirtualizeWS/ -localsettings /usr/virtualize/localsetting.properties The content of the properties file is: server.port.http=9080 server.port.https=9043…
-
CTP query SQL DB using Integrated Security
I am trying to query sql server 2016 DB. I have the sqljdbc42 jar in the system_jars folder on the soavirt server. Where do I put the sqljdbc_auth.dll file or do I need this? On local machine I have in in my windows system32 folder and the jdbc driver installed. Is there a special place to put it on the server when using…
-
How do I configure cpptestcli to control what is included ?
I have problems with following error message: Test execution: error preparing instrumentation / symbols data for file. In file included from C:\BuildRoot\IO\FCI\CI846\MainTrack\Dev\Current\MCU\Workspace_UnitTests.cpptest\FCI_PROFINET\file-data\CCRC32.cppc160100f\bundled_CCRC32.cpp:4:…
-
How to take key which defined in json data bank's custom column name box in the groovy script?
I want to use variable in groovy script which I have defined in json data bank's custom column name section.
-
Is there a way to extract all the elements of a xml using condition in select xpath
I have an xml as input and I retrieve the values in xml databank But I am not able to retrieve it if for all elements at one go For Fist element I get Passed if (/testsuites/testsuite[1]/testcase[1]/failure[1]/text() ) then "Failed" else "Passed" but If kepts as if (/testsuites/testsuite[1]/testcase/failure/text() ) then…
-
Number between Range Xpath Condition
/:Envelope/:Body/:Test/:TestHeader/:TestBody/:TestData/:TestID /:IDValue[text() >= "XXX"] I would like to write _**IDValue condition between range >=1 to <100 **_.I tried above condition but it is not working as expected. Could you please tell me How to write xpath for number range by using soap request xml._****
-
Which language are your Selenium test written in?
-
Which API Management System do you use?
-
Web app dropdown fields not populating
Problem populating dropdown fields in web app using SOATest 9.10.8. I have a web app that I created a number of tests in SOATest using Parasoft Recorder running in Chrome. After I imported it into SOATest I replaced the Fixed data that is input into the screen with Parameterized data from a data source table defined in…
-
Update Data Source
I want to insert (create a new row) in a data source from a value extracted from a Message Client response. The value is a session id. There is no need for this value to persist after a redeployment of the virtual asset. I just want to hold it in the local data source for data correlation for another request further down…
-
[Updated] Regarding log4j CVE-2021-44228 with Selenic
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with dotTEST
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with CTP
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with Virtualize
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with SOAtest
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with C/C++test
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with Jtest
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
[Updated] Regarding log4j CVE-2021-44228 with DTP and Standalone License Server
NIST recently released several Apache's log4j Zero-Day vulnerability cases, a very popular Java library to log messages in Java Applications. * CVE-2021-44228 (https://nvd.nist.gov/vuln/detail/CVE-2021-44228) * Parasoft products released this year (2021) include log4j 2.14.0 library. Parasoft confirms that these releases…
-
Data Range Assertion
my xml file has a execution date " 26-11-2021T11:59:59" my expected output date is Trade Date + 1 so something like this 28-11-2021T11:59:59 How can i validate this logic and how can i assert this ? And this will vary for various trade events . Can some one help me please?
-
Python or Jython script to change a value in XML file and update to a new value and use as data
My scenario: I want to execute a query and get XML , store in output file, picked up in python and changing few values inside XML and again using it as data for subsequent story
-
Collect Stub Information does not add make_shared in Stubs view in Parasoft C/C++test 2021.1
I am trying to stub the make_shared which is an inline function, to get 100% decision coverage but the Collect Stub Information Test configuration is not adding it to the Stubs view. Here is how I use it in ATM example of Parasoft std::shared_ptr foo = std::make_shared (10); if(foo == null) { // error statements (not…
-
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…