-
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…
-
How to do Environment portability for soap client?
I want to work with 3 environments. For example production and test(sit1 and sit 2) environments.. In that case I have added the environment url in environment suit.. How to do parameterization in test ?
-
Modify stub call parameters' values
Hello, I have a stub function like this: stub_func(uint8_t * data); (this is an output parameter). I need to modify the parameter in a unit test. I tried to set the value in this way: uint8_t ptrData[] = {0x1, 0x0, 0x1, 0x4}; CPPTEST_ON_CALL("stub_func")->Arg("data")->Assign()->UCharRef(ptrData); but I don't see the…
-
How to get particular data from response to use in db?
I wat to parameterize a in db value which is generated in response.. How to do this one? For example I am creating a customer ID through soap client and I want to check whether that customer ID is inserted into DB or not?? How to do parameterization for above scenario and also I want to write a DB result (out put) in…
-
Can "Browser contents" be saved for offline viewing?
Hi All. I have a test which is calling an API of another app. In response a web page with results shows up. Its contents are visible in Browser Contents -> Post-Action Browser Contents. I want to save this HTML content offline. Is this possible in SOAtest?
-
Logging Console to file
Is there a way to write to a file the output of a testcase that normally goes to the console? This way I can view this information (e.g. print statements) for debugging purposes without getting my output truncated by eclipse.
-
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
This is my code in Extension tool test :smile: from com.parasoft.api import * from time import gmtime, strftime from soaptest.api import * from java.util import * from org.apache.poi.hssf.usermodel import * from java.io import FileInputStream import sys reload(sys) encoding: utf-8 def setName(input, context):…
-
How to access xlrd and xlwt
Hello team, I am new in soa test. I want to use xlrd and xlwt into soa test. Not sure how to get configure so that I can use them into soa test case. Currently I am getting error when I write import xlrd Thanks RK
-
how to update content of an Excel file from Data extracted from tests
My Use case is, i have an excel file in which i would like to update the content of certain column data with actual values from Database using DB Tool or Extension Tool. Can someone help?
-
Is it possible to accept user input prior to test execution?
Hi All. I have a test which calls an API. This API compares two tables and gives an output. These tables can be of different entities and kept and different locations. I want to give end user a choice to select entity and location prior to test execution. How can this be done? Also user's choice would have to be captured…
-
How to do Parameterization for a soap client?
I want to create the employee ID for 10 members with there dob and name with one soap request.. How to do this one? And also I want to write the XML req and response messages in separate folder by automatically.. Could you please help me in this??? Thanks in advance...
-
How to execute a simple soap request Without WSDL/WADL URL??
Just I want to execute a simple soap request without using WSDL/WADL... Using end point URL.. So what should I do to get response of the request.. And what are the steps and setup to be followed in transport tab?? Could you please help me in this??
-
Migrating Load Test Continuum data from 1.5 to 2.0
LTC 2.0 is a standalone Web application that uses a file system, not Team Server, to access Load Test report data. You can export your LTC 1.5 data from Team Server and view it in LTC 2.0 by following these steps: * Navigate to your Development Testing Platform (DTP) Team Server page and click the Data Storage icon. In the…
-
Unit test problem with original method stub files
Hello to everybody. I encounter a problem during the unit test of a software developed in Tornado environment with Vxworks 5.5 for a PowerPC embedded system. I import the project in Parasoft cpp test (in Eclipse IDE) with the wizard and the project compiles correctly. When I create the Unit Test I encounter a problem by…
-
Your credentials could not be authenticated: "Credentials are missing.". You will not be permitted a
When I tried with soap client with custom end point but I'm receiving below error message could you please help me in this? "This is typically caused by an incorrect username and/or password, but could also be caused by network problems" for this what configuration we need to do
-
Soatestcli Groovy script extension tool shell command call throws Permission Denied.
I've a groovy external tool script setup to call the python command from shell. Code is "python test.py" .execute(). Which is working fine in my local machine. Now I have Jenkins instance running in a server from where I'm running the same test case with soatestcli and it gives me permission denied for Calling python. I…
-
any idea about initia set up for messaging client?
when I gave only endpoint detail in transport, and transport as HTTP 1.1./HTTP1.0 when I tried with above configuration its throwing following fault code Client.NoSOAPAction WSWS3147E: Error: no SOAPAction header! other than this do we need to do any configuration to get success response? if any one knows about this…
-
XSLT buggy
Sometimes when I add output XSLT right under a test suite ,sometimes it works and sometimes it does not. I even changed it to a path that does not exist to introduce an error and it reads right over it. If i have it as a Test on its own I get premature end of file. I have other test suites where it works. Is there any kind…
-
How to dynamically add xml tag to a soap request?
My groovy is generating an xml tag and need to inject it in a soap request? what are the probable way in which we can handle this scenario?