-
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…
-
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.
-
Xpath Reg-Ex option for looping
Hi Team, I have an requirement, where i need to perform operation on two level of data in array. is it possible to perform regular xpression like below. (Nested For) for $itemX in (/root/item) for $itemY in ($itemX/products/) return if (condition ) then $something else $something else
-
Maintain integrity with data using writable data source
Hi Team, To maintain integrity of data while putting in writable data source. While extracting to databank, There should be an option to be given to replace "null" string where the node doesn't have value in it or the node is not present for given array path. For Example, I am trying to get 10 rows from Response/Database,…
-
How to execute a single test case or test suite for defined time limit.
Team, I have a scenario, where i need to execute a test for 10mins. I can complete thru using Suite level variable and script. But wanted to know the tools feature to achieve it. I see there is an option to give max no.of loops, but looking for time limit specified option Regards Udaya
-
Best option to compare two different versions of tst file in SOA
Hi Team, We have a tst file where as 10 Test suites each test suite carries minimum 20 test clients. There was changed placed by team and checked in the tst file, Change was breaking lot of existing coverage. We faced lot of time to tweak the error , is there any way of mechanism allows to identify where the changes is??…
-
Run python script using external tool
I want to run python script using external tool, i have place python.exe in executable and MIME type as application/output, input as simple helo python statement. MIME type as text/python. Please let me know the configurations, while running it is stopping at 47% of test configuration
-
Do we have any Zephyr plugin?
Hi Team, we have to pass the test case in zephyr based on our parasoft test case status. is there any integration tool is available to update the test case status from parasoft tool. Regards Udaya
-
is it possible to write value to writable data source using groovy?
Hi Team, I would like to know the script option to write a variable value to a writable data source using groovy, is it possible? Any help would be appreciable. Regards Udaya
-
Extracting request to writable data source
Hi Team, This query is specific to my project. I can able to complete thru groovy script, looking for tool features. There is situation where i have to extract the permutation and combination from the request data. In the example i have customer as array and product as array, that need to be fetched as permutation and…
-
How to store request/response in Parasoft to a file through Groovy Script?
Need to store request/response of a testcase in a txt file at a location(path defined in data source) through groovy script.
-
Integration of parasoft soatest with pymongo
I have tried connecting to mongo db. using mongo db query tool, it is not working because of configurations from database, I would like to use pymongo to connect to mongo db. Please let me know the steps. Thanks in advance.
-
Parameterizing option to send attribute as empty
Hi Team, I had a requirement where all the json values are parameterized. In which need an option to send the attributes based on the excel input. If excel input is empty, i don't required send that element. Regards Udaya
-
ClassCastException when using Event Monitor with IBM WebSphere Enterprise Service Buss platform
I'm trying to create an Event Monitor test with the IBM WebSphere Enterprise Service Bus platform. I'm getting this error: java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl cannot be cast to com.ibm.CORBA.iiop.ORB Under Preferences -> Java -> Installed JREs I added the IBM Websphere JRE and I have it checked.…
-
Running a test repeatedly
Hi, I am running a test and if it fails i want to go to the previous test and run the same test until it passes. Can someone let me know how to do it in Jython, if possible. Thanks Amit
-
Wait in soatest environment
Between my test case execution i want to insert some wait time. how can this be accomplished. i have tried sleep call in extension tool, but is there any build in feature?
-
Project Folder Not Showing up in Workspace
Project Folder Not Showing up in Workspace Description: One day you open up your Workspace and either one or multiple Project folders you have been working on are not showing up in the Test Case Explorer of SOAtest or the Virtual Asset Explorer of Virtualize. This behavior usually occurs when the .project file inside of…
-
Environment variables localsettings.properties
I have two Environment variables in my test. One is for DEV and the other is for QA. Can I tell soatest which one to use in a property file when I run the command line? Is this the one to use? exec.env=[env1; env2; ...]
-
Storing XML as a column in a Writable Datasource Slowness
there is somewhat of a similar question posted earlier on this forum about the "Slowness" of the datasource. I have tried all the suggestions that were listed, (Clearing Tasks, heap size, limit amount of tests in workspace etc.) and it takes "forever" to bring up and sometimes it does not come up. I only have two rows in…
-
connection Reset issue
Whenever i ran the request in SOA it will end up with "Connection Reset issue"
-
How to read datasource in Parasoft using scripting
Using script i want to read the values from datasource so that the same can be used across all TSTs.
-
How to create Mock Services for testing in SOATest?
Is there a way we can create Mock services in SOATest for early test start, when the real service is not available?
-
How to extract specific node in JSON Databank
Hi Team, I have a requirement where i have to get the specific node in json object. from the below example, How do i fetch the "Node_12345", any help would be appreciatable. "Node_12345": { "Key": "XXXXX", "value": "YYYYY" }, I have use xpath : root\node() --> this gives me complete xml. But i need to fetch this node alone.
-
Report with traffic information for passed Test case
Hi Team, While generating the report I am getting only failed traffic information, I would like to get passed traffic information. How do i get that?? Regards Udaya
-
How to capture response time?
While running the regression controls in SOA for each operation, we are giving some 100-200 inputs. And for each we can see the response time as well. Is there any default method, by which we can capture these response times per input and export them into an excel sheet.
-
Backward compatibility
Hi, I have created scripts in 9.10 and have it in the team share . But my counterpart teams are using SOA 9.9 version and uploading their scripts.I m not able to open the services Soa 9.9 (.tst files) in 9.10 version .Is it possible for me to have backward compatibility of my 9.10 scripts to 9.9 version? Any help is much…
-
grs.* localsettings properties are no longer supported in SOAtest 9.10.3 and later
Starting with SOAtest 9.10.3, localsettings properties with the "grs" prefix are no longer supported. If they are specified in the localsettings file, then the following will be printed out in the console: Instead of using the grs.* properties, the following properties should be used instead: GRS PROPERTY UPDATED PROPERTY…
-
Extension Tool not showing script methods or errors
hi guys, I changed a couple scripts in my scenario. Now when I open an extension tool it doesn't show the methods in the jython script anymore. 'error message' and also the 'Evaluate' button do not show any error message. is there an additional source for errors I could check to find what I did wrong? pydev code analysis…
-
DB Tool SQL error: SQL command not properly ended
I'm trying to execute a DB Tool test. I get the following error: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended Scenario: * Set-Up Tests * Tear-Down Tests * Test 1: authorize * Test 2: DB Tool * Test 3: redeem My SQL: SELECT UPDATE_APP_NAME FROM CREDITACCOUNT.CREDIT_PROVIDER_REBATE WHERE…
-
is it possible to save the Writable Data Source
Hi Team, is it possible to save the writable Data source to specific Path. We are having set of test case, where each test case will write data to writable data source dynamically. When we run the parameterized test case, we are loosing the extracted data. is there any way to achieve this?? Thanks Udaya
-
SSH Connection
SSHDear All, I would appreciate it if you could share your knowledge regarding ssh connectivity: I am running a SOAP client in my suite (windows pc) and the server is running on a linux pc inside the network. I would like to connect to the linux (via soaTest) system, execute a command (for example "ls -la /home/lefteris")…
-
Invoke soatestcli to run selenium TCs in soatest.
Hi Team, I have some selenium TCs present in soatest, where I am able to execute those after inserting all jars there. But if the same thing I am doing with the help of soatestcli I am unable to do that. It throws error selenium class not found. I know I need to wrap that into jars and pass the path in localsettings file.…
-
Data Repository How Data is Stored
If I import data via excel, or SQL how is that data stored on the Data Repo server(or wherever it is set up at)? Is it stored in a binary or text file on disk? thx
-
Inserting values in DB from the transformed response
Hi, I'm using style sheet to transform my response into something I care about from the fields standpoint. What I want to do is extract the values from the transformed response and insert that in the DB My transformed xml is looking like this 2017-10-17T13:45:00.61-04:00 9476102124 HIGH_SPEED_DATA 1 choice WiFi Business…
-
Extension tool not reading Java class file & populating the method defined in it
Hello, I have written below java method to compare two xml ignoring element orders. String expected = "FOOBAR"; String actual = "BARFOO"; Diff myDiff = DiffBuilder.compare(Input.fromString(expected)) .withTest(Input.fromString(actual)) .withNodeMatcher(new DefaultNodeMatcher(ElementSelectors.byNameAndAllAttributes))…
-
Attachment Upload in Jira Test Case from SOATest
How can we upload files in jira for a test case from SOATest
-
Email test execution report after execution is complete
How can the automated mail with SOATest execution report be triggered from parasoftSOA test to recipients after execution of scripts is completed in parasoftSOA test
-
DIff_FilePath_Parameterize is not working
Hi Team, I have 25 rows of data where as each response has been captured as file. In regression i have to validate each using diff tool. But i am facing issue in parameterizing the filepath, please find the attached way of parameterizing. Note: Getting the rowIndex using extension tool and writing in Test suite Variable…
-
How can you use a specific row from a writable datasource in a subsequent test?
I created a writable datasource that is populated with anywhere from 5 to 20 rows of data in a REST GET command. In the next test, I would like to always use row number 5 of the datasource as a parameterized value in a POST command. Is there a way to do this. I have searched the help and have not been successful in finding…
-
How to get Jenkins to fail build with test failures?
I have SOATest running through Jenkins, however I am seeing that if tests fail, the Jenkins build is still showing as passing. Is there something I need to add to my cli command to have it exit correctly? Also, I'm having reports published by Jenkins, but when I look in the workspace at the reports, the View Traffic link…
-
Check-in SOATest projects to GIT
Hi, Did someone try using GIT as their source code management tool ? We are planning to use GIT to check in our SOATest projects and the documentation is not of much help. As SOATest does not show us what is in sync with GIT. We need to use another tool or commands to see whether there are any files that has been changed…
-
Remote execution for SOAtest Server script
The Parasoft Marketplace now has a bash script for running tests on a remote SOAtest server. Visit the marketplace then look for Remote execution for SOAtest Server script for download link and details. You can invoke this script directly from a bash prompt or from another bash script. This script can also be invoked from…
-
Couldn't find Jar file for dependency soatest-cucumber & error in POM xml
As part of integrating SOATEST with Cucumber, the jar files for dependencies junit, cucumber-java8, cucumber-junit & soatest-cucumber is required to build maven project. But Unfortunately I am not able to find the Jar file for soatest-cucumber due to which I am seeing lot of errors while building the maven project. Please…
-
oAuth Configuration
Could you please provide the steps for Oauth configuration