-
Pymongo in soatest
how to add the pymongo in soa test. and from where can i download the pymongo jar file for jython?
-
Is there a way to write in writable datasource using script
Like we can fetch the values using getValues method , can we set the values in writable datasource . Let me know the feasible option to write in datasource by script. Since I need to manipulate the list of values and later store it , I have to write script for it.
-
C++test skips files
Hi, I imported the ATM project example, then I right-click "ATM.cxx", Parasoft>Test using Parasoft Recommended Rules. But the file is skipped. How can I get it to scan the file? I'm using C++test 9.6. Thanks
-
How to Change the java versions 1.7 in parasoft soatest 9.10?
I have certain jar files to be loaded into "Parasoft Preferences > System Property" which requires JAVA "1.7" but SOATest 9.10 have "1.8"... so i need to downgrade Java to 1.7... so i can submit a claims. Any suggestion?
-
How to Change the java versions in parasoft soatest 9.9?
I am running my soatest 9.9 version with java 1.7. Now i have a requirement to run the java code (written in 1.8) using my soatest 9.9. I am getting problems with some or other versioning. What are the steps to follow to successfully change the java versions with out messing up things. Thanks in advance, Sravanthi
-
Invoke multiple services and consolidate output
I have two steps requirement to be part of single test suite 1) Invoke different operations from several webservices, extract few elements' output from each service 2) Consolidate output of all operations into one source. I want to know how to implement #2, please share you thoughts. Thanks for help.
-
'Persist as relative path' attribute is not available for Reference environment and Extention Tool.
I am using Parasoft using Rest API. I need to uncheck 'Persist as relative path' in Reference Environment and Extention Tool while createing tst file. I am not seeing any relative attribute for 'Persist as relative path' in order to uncheck. Kindly Response.
-
Import Tests issue
For some reason when I try to import tests from one workspace into another workspace the tests do not work. It gives an erroneous "Connection Error Timeout" when trying to read from disk. I tried importing "Existing, File, etc" to no avail. If I go back to old workspace it works fine. Is there some special little thing I…
-
How to Get the Execution Status of TestSuite TCs??
Hi Guys, I am looking for script or anything else which can help me to identify no of TCs got pass or failed. Though I can achieve this functionality using extension tool and executions options but looking for direct script which can return me status true or false.
-
cpptest warning report format
I need to create "text based" warning report from cpptest analysis. Is this possible? it seems that other formats are supported (e.g PDF and XML) , but not text. Any idea?
-
Tutorial integration of GIT and SOATest
Is there a tutorial on how to integrate GIT and SOAtest. how to compare the local and the remote. a video or a step by step would greatly appreciate.
-
DBTool/Database datasource using environment variables
Hi, I am trying to set DBTool and Database using the variable name define in the Environment component but unsuccessful. Here are the steps I have tried: * New Test * Add 2 Environment component and Set it DEV and the other QA * in the the DEV Environment component a variable name : DB_CONNECTION * set the variable to…
-
How to Read from or Write to a File Using Extension Designer
Extension Designer removed the file node from the product as it poses as a security risk. It has the capability to read any file on the machine and overwrite that file. This forum exists to allow the user to add this node in cases where the reward outweighs the risks. Attached is an artifact that can be used to add the…
-
Some test scripts are being Skipped
I am trying to check out the scripts from SVN and run all the scripts from command line. But not all the scripts are running. Some scripts are skipped from the execution. I dont know why.. I didnt do any changes to the scripts or configuration. Anybody does know the reason why some scripts are being skipped???
-
Capturing Current system date
How to Capture Current date (MM/dd/yyyy) and store it in DataBank.
-
testname match is not selecting the matching file
soatestcli -data "C:\Parasoft\Workspace" -resource "Policy\Scripts\ActionPolicy" -config "user://Example Configuration" -testName match: "sanity" -report "Report_Sanity.html" I have used above command to run the test script whatever matching "sanity" with test name. But its run all the files in the resources path…
-
How to verify part of a Big XML Response in Parasoft
I am trying to verify all the Event details in following XML where date is 01/06/2002. I don't want to use the normal value assertion as it needs me to create around 170 assertions. The response looks like below: <Body> <WorkResponse> <Name>ABC</Name> <ORG>XYZ</ORG> <Event> <Action>Transfer</Action> <Status>Dopen</Status>…
-
CPPTest 9.6.1.97 for Visual Studio 2015 Update 3
Hello all, I would like to know if Parasoft’s CPPTest 9.6.1.97 plugin works for Visual Studio 2015 Update 3. I tried running the static test but encountered setup problems pointing to errors in some of the include files in VS2015 such as xtr1common, xstddef and type_traits.
-
Creating a Default Dashboard for New DTP Users
Requires: DTP Enterprise Pack. Within DTP, a default dashboard is created for users who logs in for the first time. You are able to modify the default dashboard by modifying the default.json file under the guidance in: https://docs.parasoft.com/display/DTP532/Defining+New+Dashboard+Templates The attached DTP Template…
-
DB Call returns "None" in write file
Team, I have test suite which has test "DB Tool" . It reads values from abc.txt file. Here is query - SELECT CUST_ID || CUST_CD || CUSTNAME FROM xx.table_table WHERE CUST_ID = '${PQR}' AND CUST_CD = '580'; While abc.txt file contains PQR values. while generating file I am getting "None" also in file Which I do not want.…
-
Difference between Junit and Jtest10.x(UTA)
What is the difference between Junit and UTA(jtest10.x). In jtest 10.x and 9.x, can we pass inputs to test cases by using database?
-
Environment aware datasources
Hello, I'm working with simple csv or excel file datasources and I want to be able to use different paths (\${environment_name}\source.csv) or settings depending on the environment I'm current using in the project/test, however environment values like ${name} are not being recognized. I do see some remarks on the help…
-
How to Assert Service Response Values against a Database
How to Assert Service Response Values against a Database Description: The following workflow will demonstrate a method to validate the data from a Service Response against the data stored in a Database. I will be using the database and Service Response from our Parabank 2.0 Application as an example. If you wish to learn…
-
REST API: Patch Operation "application/json-patch+json" is not support using RAML
I recently installed Parasoft 9.5 and got an error in my Patch operation. all my Patch tests cannot be opened anymore. after multiple trial and error, I have edit the raml and change "application/json-patch+json" to "application/json" and add in header the Content-Type="application/json-patch+json" and it works.. I would…
-
Question about match more than one row from DB2 table with Rest webservice response
Is there any option in SOAtest to match more than one row from DB2 table with webservice response ( I have put multiple assertions to achieve this , but the problem I would see is if DB2 returned rows increased in future) i was able to match one row from DB2 table with rest service response - Current scenario – Number of…
-
How to Convert HTML to XML in SOAtest.
Hi Guys, Struggling to convert HTML to XML in SOAtest. Though I tried using XML Transformer with selecting mime type text/html but unable to convert. Any help would be appreciated. :smile:
-
Explicitly Passing any Test in SOAtest.
Hi Guys, As we have ****Context.Report()**** method to explicitly fail any scenario.Do we have any method to get it Passed or Success explicitly.
-
how to create Excel files from Data extracted from tests
My use case is generate excel file from data extracted from tests like DB Tool or Extension tool. Can someone help?
-
How to skip test cases in jython extension tool?
I have scenario where based upon response received i want to skip subsequent test cases . This i want to do from jython ext tool. is there any possibility ?
-
Using the results of writeable Datasources in REST request payloads
I am storing part of a result of a rest query in a writeable datasource. In the XML databank, I am extracting the parent (/:elementList/element[]/coordinate[1]/child::node() ) and storing the 6 children in a datasource column ("coord"). In a subsequent rest request, I want to use the values from the datasource column.…
-
connection timeout
I am trying to call a rest service with basic auth and expect a response back. However I am not getting the response as it says DataSource : connection timed out. I do not get a response back. I increased the timeout to no avail. If i run it in postman it works great and is fast. Both is run on the same machine (laptop).…
-
How to Query Parabank Database
If you're looking to query and validate result sets from a relational database, you can use Parabank (a demo application built into SOAtest) to demonstrate the concept. These instructions assume that you've already deployed Parabank. For instructions on how to do that, see the section called "Setting Up ParaBank" in the…
-
How do I use a Database Data Source?
1) Right-click the root Project tree node. 2) Choose Add Data Source from the shortcut menu. 3) (Optional) Change the data source label in the Name field of the Data Source panel. 4) Choose Database from the Type box. Specify the following Database Configuration parameters: * Driver: Type the path to the appropriate…
-
Comparing XML response file
How to compare the two XML responses of of a request ? Already executed response and current response of a request message..
-
Increasing performance with the DTP Engine for Java
For big projects and configurations that have enabled a great quantity of rules (corerules ~650 rules) or memory demanding global rules for the test run, we recommend increasing the Java Virtual Memory for the DTP Engine for Java. According to the article https://dzone.com/articles/java-8-permgen-metaspace, Java 8 has…
-
How to read/pass environment variable into ParasoftSOA Test via Jenkins?
How to read/pass environment variable into ParasoftSOA Test via Jenkins ?
-
DBTool and encrypted password
Can DBTool use the properties file with encrypted password. I would like to be able to encrypt my password.
-
Using the results of writeable Datasources in REST request payloads
I am storing part of a result of a rest query in a writeable datasource. In the XML databank, I am extracting the parent (/:elementList/element[]/coordinate[1]/child::node() ) and storing the 6 children in a datasource column ("coord"). In a subsequent rest request, I want to use the values from the datasource column.…
-
how to parameter data bank x-path
Hello, I am trying to parameter data bank x-path from excel sheet. here is my scenario below is the x-path I have in my data bank. /root/item[1]/id[1]/text() Output item'1' will be picked up from the response. I want to parameter the Item[1] value with an excel sheet , so that I can control which item to pick up from the…
-
Various issues with SOATest, need help
Hi Folks Me and my team are facing various issues with SOATest 9.7 (We can not switch to the latest version right away). Please suggest if any one has faced similar issues and got a sustanable fix for these issues. We had use this tool for long but not had a smooth experience ever :) . In our case we have to deal with 50K+…
-
Flags for controlling cpptest.log output
Hello, Are there any flags that can be used when executing cpptestcli Static Analysis from the command line to suppress various messages from from the cpptest.log? For example INFO and DEBUG messages to NOTbe output to the log file.
-
Insure++ 7.4.10 for VS2015 - Now Available!!!
The customer portal download page has been updated to the latest build of Insure++ (7.4.10). This build includes support for VS2015 on Window 7. As previously commented in other posts, due to changes in the core Windows 10 operating system, Windows 10 is not supported by Insure++.
-
How to do assertion for dynamically changing field or tag?
I want to do a assertion for a customer contact details.. That customer has 6 contact details. That contact detail is a parent tag under that tag many child tags are there ( like adress, pH no ,landline). In some case in the parent tag some of the children tags won't be present How to validate these kind of tags? if we are…
-
Can we execute OAG request message through panra soft??
Can we execute OAG requests through parasoft SoAtest ?? If can means could please provide me the steps to do that one?
-
is it possible compare between Response (Soap /Json) and Data source using java
Hi , My scenarios is to compare between response (SOAP/Rest) and database using any of the scripting language Like Java / Groovy /Jython (Mostly Using Java ) , how can i compare those , i m entirely new to Programming Language (Know Basic Concept very well )
-
Changing python version in Parasoft SoaTest
I need to use paramiko in one Extension Tool test. This python module needs python 2.6 or greater. I have installed in my computer Python 2.7 and 3.4, and configured python interpreter for both. Also, I installed jython 2.7, and configured jython path in the preferences. However, when I run this simple test script: import…
-
Is it possible to execute a single test on multiple threads, with configurable number of threads?
I am trying to execute a single test in a test scenario on multiple threads at the same time. Is it possible?
-
How to verify whether the DB connection is established or not?
How to check whether the DB connection is established or not? How to establish DB2 db.? If we need to add jar files means where we need to add thatone?? Could any one please explain this one in detail??
-
SOATEST slowness
I am running SAOATest 9.10. It is so slow when I navigate around especially when I go to a "writeable DS" which only has one message in there. It is taking up 50% of CPU and 60% memory(i have 8 G). I have modified the settings for heap etc(see attached) . I am running 64 bit (34 was doing same thing), windows 10. I have…
-
Insert Value into a soap message
I use a script that creates a Guid and store it in a variable. I have a Data Bank which writes the soap message to a Writeable data Source. What I need to do is to insert the Guid into the body of the soap message before I store in the DS. I tried at the databank level to refer the node to the variable to no avail. What is…