-
Gradle integration with JTest
Someone asked me where one can find documentation on JTest integration with Gradle. Jtest DTP Engine ships with a set of plugins that allow you to easily integrate with the following build systems: Maven, Ant Gradle For details about configuration and usage, see the Parasoft Jtest Plugins manual shipped with the product in…
-
Can any one help me how to Virtualize the API response in parasoft
Hi Team, Can any one help me how to Virtualize the API response in parasoft . Thanks, Swapna
-
Facing 404 not found error using Responder correlation in SV9.10.2
Hi Team, Facing 404 not found error When using CDATA(Ex:TransactionID) element Xpath to enable correlation under request body responder correlation in virtualize 9.10.2 Steps to Reproduce: 1. Create SOAP responder and paste the response(attached file) in the literal view and change it to form XML 2. Navigate to the…
-
I am looking for java predefined classes in the Parasoft
Hi Team, I am trying to create sample java class in the parasoft but it asking for Java class name and method . Please help me on this. Thanks, Swapna
-
Edit/Update/Modify Test response object and write to another file using Groovy script
Hi there .. So I am pretty new to the groovy scripting world and some help on this would be appreciated .. I am writing the response object of a test scenario to a text file on file system. (Response traffic -> Write File ) Now the objective to update the response using groovy script and save it in another file. How to…
-
Installing DTP on Windows 10
By default DTP tomcat will have a conflict with port 80 on Windows 10. modify this file [DTP_HOME]/tomcat/conf/server.xml and restart DTP services: https://docs.parasoft.com/display/DTP533/Starting+DTP+Services
-
XML Validator
If we need to Validate incoming request and if the validation fails then how to send the error in response. We have already selected Incoming request-->Payload--> XML validator. Please help here
-
Not able to fetch data from CSV file in Parasoft virtualize - Community Edition
I am trying to fetch one value from csv file for a wsdl but getting success response in soap and not getting the data in the response. Example- Expected - <?xml version="1.0" encoding="UTF-8"?> 25 Getting- <?xml version="1.0" encoding="UTF-8"?> ** ** Tried all the ways to get the value but not able to. Can somebody please…
-
Iterate through the Database Data Source
Hi, I am current attempting to use a Database Data source to verify result returning from the web service. I've created a simple test suite that included a Database Data Source (DDS) and a simple test. This test would include a XML Transformer and XML Assertor. The DDS contains a simple SQL that return 1 column with 3 rows…
-
Setting Project File Format Without GUI
SOATest supports three different file formats for tsts. Normally, this configuration is made through the SOATest GUI Preferences: Parasoft>Preferences>MISC>>> Save Settings>Project File Format Normally, it is best to leave the default Compressed XML format because of the overall effectiveness of the format,…
-
Authenticate Before Every Test Run
Good morning, Is it possible to configure a test scenario so that no matter where you start the test from the "Authentication" and "Initiate" tests will run automatically? For example: If I clicked on "Test Suite: Test Suite" in the below screenshot to run the "GET-Bill Status" I want SoaTest to Authenticate & Initiate the…
-
Groovy - Asserting that all JSON response elements have content
I have a test scenario with hundreds of response elements and I am trying to script an assertion to ensure that none of the elements returned as null. There must be an easy way to use a wildcard to search the entire response body for a null field, but I can't figure out how to do it. Can anyone suggest a better solution to…
-
Iterating through Database Data Source
Hi, I am current attempting to use a Database Data source to verify result returning from the web service. I've created a simple test suite that included a Database Data Source (DDS) and a simple test. This test would include a XML Transformer and XML Assertor. The DDS contains a simple SQL that return 1 column with 3 rows…
-
How to validate first 15 characters of a string in Diff Tool
I have extracted the header using "Header Text Data Bank", in that environment specific values are there. So i used diff tool to validate against my expected string. On failure used ignore differences, now anything that comes in header is passing the test case. Any suggestions? Note: In that response header text 1st 15…
-
Adding Headers to DTP tomcat
*This is custom work and is to be done at the users discretion. Incorrect implementation may prevent DTP from starting. BEFORE any manipulation to the web.xml, MAKE A COPY and store as a back up* The following will walk through an example on how to add a few Security headers to your DTP tomcat web.xml: First let us look at…
-
got the result, but test failed in mongodb tool
Error Message: Test failed. Additional Details: No additional details available
-
Not Getting the result in MongoDB Tool
Error Message: Timed out after 10000 ms while waiting for a server that matches ReadPreferenceServerSelector{readPreference=primary}. Client view of cluster state is {type=UNKNOWN, servers=[{address=vpsdb-dt-a1q.ula.comcast.net:27020, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSecurityException: Exception…
-
Upgrading DTP Enterprise Pack
* Stop older version of DTP Enterprise Pack using following command ./dtpservices.sh stop Or dtpservices.bat stop * Unzip new distribution of DTP Enterprise Pack package. Using a command prompt, run following command /dtpservices.sh upgrade --target <dir> Or dtpservices.bat upgrade --target <dir> <dir> refers to directory…
-
Parasoft Support for OWASP Top 10 - 2017 available now.
Parasoft has configurations available for static analysis to support OWASP Top 10 - 2017. OWASP Top 10 - 2017 was released today. Some old items were merged, some removed, and a few new ones added. New configurations for static analysis will be in the next release of each product, but for now you can download them directly…
-
Parasoft Support for CWE "On the cusp" rules
Parasoft has configurations available for static analysis to support the "On the cusp" list from CWE. These are the security weaknesses that didn't quite make the top 25 but are still important issues. New configurations for static analysis will be in the next release of each product, but for now you can download them…
-
Parasoft Findings plugin now supports Jenkins pipeline jobs
Starting with version 10.3.5 of the Parasoft Findings for Jenkins plugin, Jenkins pipeline jobs are now supported, in addition to Freestyle and Maven jobs. Static analysis, unit test, and functional test results can all get published using a pipeline script. For details on how to do this, please see the documentation for…
-
Parasoft Findings plugin now supports Jenkins pipeline jobs
Starting with version 10.3.5 of the Parasoft Findings for Jenkins plugin, Jenkins pipeline jobs are now supported, in addition to Freestyle and Maven jobs. Static analysis, unit test, and functional test results can all get published using a pipeline script. For details on how to do this, please see the documentation for…
-
How to parameterize a value for a parameter in request URL
i have a URL which has multiple parameters like x,y,z, one of the parameter is current date. for example, take y as Current date. whenever I hit the front request, the back end URL should pass current date as one for the parameter and my mocked response should pick up. anyone please let me know if you know solution to…
-
How to parameterize a value in the request URL parameter
i have a URL which has multiple parameters like x,y,z, one of the parameter is current date. for example, take y as Current date. whenever I hit the front request, the back end URL should pass current date as one for the parameter and my mocked response should pick up. anyone please let me know if you know solution to…
-
Parasoft Findings plugin now supports Jenkins pipeline jobs
Starting with version 10.3.5 of the Parasoft Findings for Jenkins plugin, Jenkins pipeline jobs are now supported, in addition to Freestyle and Maven jobs. Static analysis, unit test, and functional test results can all get published using a pipeline script. For details on how to do this, please see the documentation for…
-
Parasoft announces the release of Jtest 10.3.4 Milestone 1 Beta
Our coding Paratroopers have been working ferociously on the next release of Jtest (10.3.4), putting together some neat features that you will enjoy. Instead of waiting until our full release, we are pleased to announce a Jtest 10.3.4 Milestone 1 Beta, that you can download today, from our customer portal. In this beta, we…
-
Parasoft announces the release of Jtest 10.3.4 Milestone 1 Beta
Our coding Paratroopers have been working ferociously on the next release of Jtest (10.3.4), putting together some neat features that you will enjoy. Instead of waiting until our full release, we are pleased to announce a Jtest 10.3.4 Milestone 1 Beta, that you can download today, from our customer portal. In this beta, we…
-
Defining custom metrics for C/C++ [Halstead and others]
We are migrating from version 9 to 10 of C/C++. One of the things we wanted to do was run more metrics on code. Discovered a short blog on how to export, modify and then import the properties file. In our case we want to try out Halstead metrics and any of the other metrics available for C/C++. When we do the export we see…
-
cpptest does not generate bugs report!
I am running cpptest with the command line using cpptesttrace and cpptestcli. I do have cmake build system. The analysis has never caught any bug and always shows that the number of files that have been checked to 0. Not sure what is the issue exactly. Here are the commands that I run cmake -G "Unix Makefiles" ..…
-
Extension Tool in Responder_ ParasoftVirtualize
Hi, I am using extension tool(Incoming Request payload--->Extension tool) in responder. i want to convert incoming request which is in .xml into String using Java. Please help me over this
-
Run a particular test in the suite multiple times
Is there a setting in Parasoft SOA which allows the user to run a particular test multiple times??? For example in my Test suite I have test1, test2 and test3, I want to run test2 three times before running test3. Is this possible?
-
How can I store a variable in a data source using groovy
I'm trying to store a Header in a Data Sorce using groovy but I'm not able to do it. I'm using: import parasoft.com.*; String grabHeaderValue (input, context) { String headers = input.toString(); int dateIndex = headers.indexOf("Date:"); int endIndex = headers.indexOf('\n', dateIndex); String desiredHeader =…
-
Removing DTP engine results from DTP
Please note this will only work with DTP Engines. To delete data that has been published to DTP from a DTP Engine, you will need to you will need to use the "Build Administration - Statistics" Widget. https://docs.parasoft.com/display/DTP531/Using+Build+Administration The result/reports from DTP Engine when published to…
-
Get array of response using JSON Databank options
I am looking for easiest options to add comma in between the array of elements. I have an work around to use for in json data bank xpath regular expression. Looking for other parasoft inbuilt options. For example, root/customer/id[1] - One element Expected: root/customer/id[1] - Element1,Element2,Element3,Element4
-
Parasoft announces the release of C/C++test, dotTEST, Jtest 10.3.3, and Parasoft DTP 5.3.3
We are happy to have released the latest updates to Parasoft’s development testing products, including the 10.3.3 versions of Parasoft C/C++test, Parasoft dotTEST, and Parasoft Jtest. In addition to the 5.3.3 versions of Parasoft DTP and the Parasoft DTP Enterprise Pack. For this update, we focused on providing customers…
-
Incremeting the variable declared at scenario level
Hi, I declared a variable(integer type consider x=0) at scenario level. I have a value(consider 3) coming from the JSON data bank. Now I have to increment my scenario level variable(0) upto value(3) that I'm getting from JSON data bank. Please suggest me a way to do that. Thanks
-
Need to connect to DB using Extension tool
Hi, I am trying to connect to a Oracle Database using a extension tool for which i am getting an error saying that it was unable to locate the jar i have specified the Jar in preferences in the JDBC configs, yet it was giving error. My idea of using the Extension tool is that i would fetch a random row from the DB and use…
-
DB Tool in Parasoft Virtualize
Hi, I am using DB tool in .pva and the connection is successful but I am unable to see output in traffic viewer also, I am unable to save the result in xml data bank. Please help me over this
-
Relation between Writable data source setup and test suite execution
Hi Team I have a test suite 1: which extracts and writes to writable data source ds1. Test Suite 2 and Test suite 3 runs based on the data available in ds1. Problem here is **Test suite 3 is not getting data when ds1 has ** Standard test modes : Append Reset Frequency : Per write access The same works fine when ds1 has…
-
Parasoft support for UL 2900 device cybersecurity standard
The latest releases of Jtest, C/C++test and dotTEST have configurations available for static analysis to support the new UL 2900 cybersecurity coding standard for devices. This standard has been recognized by the FDA, making it a good choice if you're working on medical devices. In a nutshell, the standard requires you to…
-
Running a cmd command using jython.
Hi all, i tried running a cmd command in Soa test but there was no out put from com.parasoft.api import * from java.lang import * from java.io import * def runMyCommand(input, context): proc = Runtime.getRuntime().exec("cmd /C "dir c:\"") inStream = BufferedReader(InputStreamReader(proc.getInputStream())) outputLine =…
-
Succesfull test in SOATest fails with SOATestcli.exe
I am implementing an automated parasoft test solution using soatestcli.exe. Our test suite uses sql query to validate test result. I currently have a probleme where SOATest and SOATestcli.exe gives different results. SOATest : all test passes SOATestcli : I get this error <Position XPath="/SQLException"> <Subtree…
-
Succesfull test in SOATest fails with SOATestcli.exe
I am implementing an automated parasoft test solution using soatestcli.exe. Our test suite uses sql query to validate test result. I currently have a probleme where SOATest and SOATestcli.exe gives different results. SOATest : all test passes SOATestcli : I get this error <Position XPath="/SQLException"> <Subtree…
-
Feature Request : Rearrange the order in Databank and Assertion
Hi Team, Its very difficult to maintain large number of field fetch and multiple validations in assertion. If we have an ordering option, it would make the testers job easier. Please provide your valuable inputs. Regards Udaya
-
How to skip a node from JSON assertion
Hi All, I am having total 15 scenarios in my test and i am using value assertion to check for the correct values in the response but i am facing one problem suppose for first scenario i am having one element in the response and i have added that in my list of assertion bu for the 3rd scenario that element wont come in the…
-
Axis2 Logs in Tomcat Folder
Hi Everyone, I just have a few questions regarding the Axis2 log that is being generated under the tomcat folder: * What is it for / What is it logging about? * How do we control it? (ie. limit file size/change archive settings) Im asking this as we recently updated to 9.10 and we noticed that, after a clean install, the…
-
Unsupported boost lib versions for Insure++ 7.4/7.5
Insure++ is unable to function with projects which use boost lib versions 1.5x Typically seeing the message similar to the following: Unix/Signal.cc:527: panic: received signal 11 while in runtime @(#)GITid: Unix/Signal.cc d2a4ea9d1738e811690bbe377751f92f813 ThisThread.cc:857: abort @(#)GITid: ThisThread.cc…
-
Global Data Source Definitions for Jenkins (soatestcli)
Hi, how can I import a data source (data group with several excels) defined as 'Global Data Sources' when starting SOAtest from the cli? I was unable to find anything in the localsettings. is there a way to do this? maybe something similiar to the activeDataSource.xml? regards, urs
-
Feature Request : Rearrange the order in Databank and Assertion
Hi Team, Its very difficult to maintain large number of field fetch and multiple validations in assertion. If we have an ordering option, it would make the testers job easier. Please provide your valuable inputs. Regards Udaya
-
validate id in json response and pull the details associated with the id into the report
Hi, Below is my scenario, i have json response in json databank, based on object id i want to pull the details like: if id :2 { name:test number:1 } so based on id i want to pull the name and number into report.