-
Oracle Db Connection Issue
I have to connect to oracle sql developer through parasoft soatest tool using service name instead of sid value after port number. I am getting SQL Exception - java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor…
-
Is it possible to set a condition base on CSV data in a testscript?
Hi all, currently i have 2 test-script, checklocation and acceptlocation. is it possible to only run acceptlocation if the location column in the checklocation's CSV is not empty?
-
Access data source table in Groovy script
I am trying to access a table defined as a data source in a Groovy script as part of a web scenario test. This script just needs to get a substring of one of the columns in the table. The error I am getting says 'com.parasoft.data.DataSourceException: No Data Source column named BookingNbr'. My data source is defined as…
-
Java Script extension tool
Hi, i am new to parasoft scripting, when i am trying to create java script using extension tool using below command <head> <script type="text/javascript" src="https://www.google.net?id=01&product=something"></script></head> i am getting evaluate error like this :2:0 Expected an operand but found <, , ^ in at line number 2…
-
Record enter key in web browser testing
Here are the instructions to capture ENTER key in web browser testing First, add the ability to play back pressing the ENTER key. (1) Close SOAtest if it's open (2) There are two copies of UserCustomizableOptions.js files - one for IE and one for Firefox - located under <SOAtest Installation…
-
XSLT Version
Does soatest 9.10.8 support XSLT version 2.0?
-
Error running soatestcli from Windows Task Scheduler
Hello, I'm trying to schedule the execution of tests on a Windows server 2016 with the Windows Task Scheduler using a CMD file that calls soatestcli. If I run this CMD file with a logged account, then the tests runs correctly, the output file shows all the execution and the reports are created. But if I run the Scheduled…
-
unable to update generated variable via script.
I am trying to create a variable that is the abbreviated day of the week (MON, TUE, WED, ...) which I do either via the data generator tool or script. However, I am then trying to convert the variable to uppercase, but this conversion is not working, as expected. import com.parasoft.api.*;import groovy.util.*;import…
-
Is it possible to validate the current selected option with Parasoft (xpath)
In the code I cannot see which is currently selected and I know that what is selected is send to the server. But I am hoping that there still is a way.
-
I am using SQL development for my test case. Can i use same sql development output to validate my te
I am using SQL development for my test case. Can i use same sql development output to validate my test output?
-
Kerberos with SOAVirt Server editions
Can we do Kerberose authenication using server version of SOAVirt? This would be using REST calls instead of CLI. I am thinking yes, because the kereros authenication is contained within the .tst?
-
How to use a runtime parameter in groovy
I am using a groovy script in which I want a to enter a parameter in the method at the runtime. For e.g. : def userId(String input) { //my method } How can I derive the input variable while I try to run the API test case
-
Trying to Iterate Through a Table Data Source
I have a data source table containing a number of rows with a single string column of values. I want my test to navigate to a URL, type into an input field the value of a data source row, and click on a button on the web page. The problem is that the first row value from the data source is always typed into the input…
-
Need some help where dynamic values in request parameter
Hi Team, I need some help on below REST service. end point: imservices-qa1-usch01.corporate.ingrammicro.com:9043/ESProductSearchCA_vs2 Body:…
-
how to create CSV files (editable in Microsoft Excel) from Data extracted from tests
Often you will want to extract values that are returning from a test and write them into an excel file. This could be useful when building data sources dynamically from previous tests. SOAtest does not have a native interface to create Microsoft Excel files, however we can easily create CSV files that can be read by our…
-
I want to iterate rows from table with rows from writable in following manner
Suppose my table has T1 , T2, T3 rows and my writable has W1 , W2, W3 rows so now I want to pass T1 = W1 in first iteration , T2 = W2 in second iteration and T3 = W3 in third iteration. But currently it is passing first row of table to all rows of writable which is not valid scenario bfor my functionality. So anyone tell…
-
How to parse and validate a file through XSD
I have multiple type of file format and we have define all this rule in XSD and our oracle SOA suite is using this XSD in parsing any kind of files. i.e I have pipe, comma, fixed length and special character separated file data. Now I don't want to write the big code again for the parasoft to parse and validate the file…
-
User Action Click on Defined or Undefined Link
I have a web app that I am creating a SOATest test for. In a table there is a link that may or may not be present. If it is there, I want to click on it. If it is not there, I want to have the test go to a different URL instead of the one that the test would have gone to if the link were present. I have tried a few things…
-
Read message on IBM MQ
Hi All, I am looking for help regarding, how to read a JMS message header/body from IBM MQ by SOATest. I am exploring the options but no luck so far. Actually as soon as message is pushed by a REST API to MQ, I have to validate some custom properties in JMS message on queue. Any help in this regard is highly appreciated.…
-
LOG Validation
Hi All, I wanted to capture and validate the downstream calls(logs) when i hit an api request. Can you please tell me how we can track and view all these downstream calls and if possible also how we can track and validate them
-
Parasoft License
Hi wanted to know if we get Parasoft floating server license can 100 different users do development in SOATest using same license or they need individual license on their mahcines
-
No Nodes Found - XML Data Bank
Hi, On XML Data Bank step.. when i extract an element, and click on "Evaluate Path" - i see "No nodes found" result. How do i get value? i need this values to perform string comparison assertion. I also tried setting "Extract empty element as: [null]" - this did not work either.
-
Pattern check in request header field
I need to test the pattern of value present against field x-et-user-id, it should follow the pattern - AS000xxx How to acheive this ? Below is sample request header for reference. POST /asasa/zxzzx/zxzxz?asa_wewe_rtrt=024bddd0-5739-11ea-82b4-0242ac1300 HTTP/1.0 Host: abc.com:8443 Content-Type: application/json…
-
Xpath: How to search in all child elements with certain text (browser validation tool)
I have a number of p elements in a div and I want to find a certain text within all of them. For some reason I can't get it to work, it finds only the first p element. Does any one know what to use differently? Element property: I've tried both text and value here (with and without [1] ) Xpath:…
-
How can I test that a response header equals a certain value?
I have a rest command that returns a Content-Type of application/octet-stream and a Content-Disposition with a filename. What is the best way to validate that the values returned in the headers are what I am expecting?
-
Getting error while trying to add data repository server using localhost
Hi Team, i am getting an issue while trying to add data repository server using local host. version: SOAtest 9.10 can anyone help on this please Thanks Nihar Ranjan Arisal
-
Not able to send Environment Variables in External Tool arguments
I am setting up an external tool to execute some batch files, but rather than hardcoding a path, everyone has an environment variable setup to the desired location. However, when I use the %variableName% structure which the external tool understands, Parasoft disables the tool for some reason. Is there a setting to allow…
-
rabbit mq listener in parasoft Virtualise
Hi i am new to parasoft Virtualise , wanted to understand how to configure rabbit mq listener do we need to configure any external jar and write java code for listener in parasoft Virtualise for getting queue details
-
How to validate Date format in request field
I have to validate that a field in request of a Rest API is having YYYY-MM-DDThh:mm:ss.sssZ format. Any help is most welcome. TIA
-
How to validate date format in request attribute
I have to validate that a field in request of a Rest API is having YYYY-MM-DDThh:mm:ss.sssZ format. Any help is most welcome. TIA
-
Want to also use Microsoft Edge, Firefox for Browser Playback in SOATest 9.10
I have been trying to set up my tests to run playback in the browsers Internet Explorer, Edge, Firefox, and Chrome. Internet Explorer runs out of the box (although rather slowly), and I copied the webdriver for Chrome to the folder…
-
how to configure json response in Virtulaise for x-www-form-urlencoded request from SOAtest
Hi i have x-www-form-urlencoded request setup in parasoft soatest , wanted to understand how to develop json response in parasoft virtualise since expected response type for the request is json.This will be a unique integration as request and response types are different in the same call. The request is…
-
Connecting to Mysql DB in GCP
Hello, I'm working with SOAtest 9.10.4. I'm having hard time to connect to our MySQL DB that is located in GCP. I'm looked though the forum and couldnt find anything that could help me out. the error messing that I'm getting is: Communications link failure The last packet sent successfully to the server was 0 milliseconds…
-
in response (or anywhere) - see values that were asserted
Hi, is there any way to see, what values are being checked in "XML Assertor". My Scenario: In my testcase i have put a XML Assertor where i am comparing values that I am gettign FROM DB and other service. I am not seeing anywhere which values were compared/checked in XML assertion. Thanks
-
SOATest -After posting message through MQ , body of the content alone displayed as Encryptedvalue
After Posting the XML Message through MQ in one Queue. Message body alone displayed as Encrypted value. Need to know is there any option to update the configuration to get the same message in Destination also.
-
Different Protocol's in the same TestSuite
Hello All Tried, Http Protocol & WebSphere MQ(Posting a messaging to a Queue), in the same TestSuite and it does not work.
-
How to store array to writable data source using Extension tool
I know if I have to retrieve a column from datasource I can do like this ArrayList list = context.getValues("data","C"); but what to do if I want to store array into the writable datasource from extension tool script
-
Is there any option to use both the https and MQ Transport in Same Test suite with the SSL
Kindly let us know if there is any possibility to use both the https and MQ Transport test cases in same test suite
-
Running SOATest Web Scenarios on Windows Server 2012 R2.
I have a small web application that I created a number of SOATest web scenarios to do some regression testing. We are using SOATest as part of our automated build process for our IBM Message Broker systems and are looking to at expanding SOATest to our web applications. The issue I am having is that the web scenarios don't…
-
Select a link in a search results table based on a formatted value in the row.
I have a web app that will display a list of records after a search. I need the test to look at the first column of each row in the returned results. The rows of data are coming from two places and so the first column of each row will have slightly different formats based on the source of the data. If the cell in a row…
-
Conditionally extract json response using Extension tool
I want to extract content for all titles having Red color from given Json response so I can send it in next Request. eg. response:- { "titles":[ { "name": "T1", "color": "Red" }, { "name": "T2", "color": "Green" }, { "name": "T2", "color": "Red" } ], "content":[ "T1": "Some description 1", "T2": "Some description 2", "T3":…
-
Detail list of SOA Test Steps and possibly assertors
Is the a script or export method that can show the individual test steps (tree list or such) along with assertors? We are looking to be able to pass our API test info to our manual or front end automation testers, so they are not duplicating our work, but also to be able for them to see what possible gaps we may have from…
-
Dynamic Scripted URL from datasource
In SOAtest9.9 How do I script the URL/endpoint to create REST endpoint dynamically by concatenating values from writable datasource columns. The test should be able to run post request for each data row.
-
Need to use the multi dimensional array in SOATest
In excel Data Source we have a Column X it is having the values 1~2~3~4 like this. IF we want to pass these 4 values in same node with multiple times in same iteration how we can do the parameterization using parasoft. Kindly let me know if we have any option for this one.
-
Extract values from SOA Test to a spreadsheet
How do I extract the results/values from SOA Test to an excel spreadsheet AUTOMATICALLY
-
Mass updates to test steps and suites - possible?
Is it possible to apply mass updates to a tst in SoaTest? We are moving from http 1.0 to http 1.1, and adding additional info in our request headers along with removing basic auth. Due to the large number of tests (1 to 19) and test suites (0 to 12) in our tst files, it would be nice to update a grouping within a tst, all…
-
ISSUE: header values translating variables in part.
I recently have run into the following issue where I set a variable in a pre-req (previous) call and then use the value in the header of subsequent calls. Lately, it appears as though 1 value is translated in a header, but the second value is not. initial header with variables: Cookie: authcookie=authorized;…
-
How to debug Extension tool and check the logs
I have a simple goovy method in Extension tool that I want to debug and see the output. When I click on Evaluate button I do not see anything happening. When I run this test it simply fails with following message in Console. Test 2: Extension Tool - failure Test failed I tried to put println statements but nothing gets…
-
Number of TestCases in a TestSuite dynamically
Is there a Parasoft API that can retrieve or obtain the number of Testcases, dynamically, given the tst file.
-
Testsuitename dynamically
Hello All Is there a way, one could retrieve the testSuiteName, thru a variable, dynamically, which can be leveraged in all the scripts for logging purpose. Anon