-
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.
-
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.
-
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…
-
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>…
-
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.…
-
Fetching log files using Unix?
Can we fetch the log files using Unix in parasoft? Is it possible to connect the power broker using Unix in parasoft??
-
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…
-
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..
-
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+…
-
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 ?
-
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??