-
Web Scenario UI Test with Blazor
I have a .Net Core Blazor (server side) application that I am trying to create UI tests for using the Web Record web scenario test suite. Blazor utilizes siginalR to make the application work and to update the http of the page. When I run the tests through SoaTest signalR immediately loses connection making the application…
-
SOATest Writable Datasource : Comparing more than 2 columns from different Writable Datasources
I have 2 XML responses where i need to compare both the responses. Responses will have list of array elements hence i had to extract the elements and saved to the writable data source. Now i have 10 columns for each data source (there are 2 writable DS) . I have written a java script to compare 2 columns one from…
-
Authentication Overhaul - Convert All Existing Tests
My organization is overhauling how customer sign in is performed. * Currently a customer authenticates, then initiates a session which generates unique cookies that follow the customer as they navigate the website. * * In the near future we will have two NEW endpoints to sign in, which will generate a token which will be…
-
Handling IN OUT parameters in DB Tool Stored Procedure calls
I have a Oracle DB Stored Procedure with the following signature SCHEMA.PACKAGE.PROCEDURE(IN VARCHAR, IN VARCHAR, IN VARCHAR, IN OUT VARCHAR, OUT VARCHAR, OUT VARCHAR, OUT VARCHAR, OUT VARCHAR, OUT INTEGER, OUT VARCHAR). As you can see, there is one parameter that is both an input AND output parameter. I have tried…
-
Parasoft Maven plugin installation
I need to install the Maven plugin for parasoft and im currently unable to do it through the market place due to network restrictions , is there an alternate way to add this plugin as a separate file into parasoft. Kindly suggest on the same.
-
How do I convert XML data into an excel.
I want to fetch data from XML and put it into an excel. My XML data is like: ABC 123 I want to convert these data in Excel in table format
-
increase font size test case explorer
Hi I'm fairly new to SOAtest. I needed to increase the font size in the app for many things. I've managed to find the settings for many of the items except 1. I can't find where the setting is to increase the font size in the Test Case Explorer. I'm using Parasoft SOAtest & Virtualize version 2020.1 on a Mac. Any help is…
-
Validate the element name in JSON
I have a scenario to validate that the response JSON has retrieved only the required elements based on the request API. I don't need to validate the values of the elements. Elements : Certificate Expiration date License Name Org
-
Dealing With Large Payloads in SOAtest and Virtualize
Hello, See the attached best practices document for dealing with unusually large payloads in SOAtest or Virtualize. When your message payloads start exceeding 10MB, consider these best practices to improve your experience working with SOAtest or Virtualize.
-
Stored Procedure not executing in soatest - giving error message
Hello,I’m having a problem with the DB Tool, where a stored procedure is not working as expected. The same exact stored procedure is working on Toad for Oracle, and I’m able to get the query result I expect. Using the DB Tool in SOAtest, I get the following error:“Error Message:ORA-00922: missing or invalid option42000…
-
Test execution issue
Under test relationship, tests are individually runnable option is disabled. How to enable it?
-
Fetching the base URL from the browser opened from Browser Playback option
Hi Team, As a part of our testing, we need to fetch an Dynamic ID which is a part of the URL. However, we reached to a point where we navigate to that URL from Browser Playback option. We need to fetch the URL from the browser Issue that we are facing: 1. REST URL Data bank : Getting a blank in all the parameters 2. Chrome…
-
Avoid blank values in excel while validating
Hi Team, How to avoid blank values in data sheet while validating or during assertion. example : Attached an excel. I need to skip the blank cells in excel while testing. Note : I cannot edit the datasheet.
-
Cookies issue
When I run a POST call in SOATest, I get "connection reset" error. Same request is working in SOAPUI. **I observed that in the request header , cookies of response are getting appended. **If I restart the workspace and then check it's working fine and later I see the same issue. Why are response cookies appended in request…
-
Upload file based on relative path
I want to upload a file in my e2e tests and I did manage it by using /home/john/Documents/doc.txt but when I share my automation tests the path of the other tester is /home/george/Documents/doc.txt I tried to put as relative path ~/Documents/doc.txt but this didn't work. Any suggestions?
-
Do SOATest call API's internally? Like selenium internally call API for UI automation
Wanted to know that does SOATest internally call APIs to perform particular action SOATestUI. If yes is there is any way to automate it
-
Supported Eclipse versions
Parasoft does not ship current versions of Eclipse. The current version is 4.6.1 (2016-2017). I have an engineer that wants to update to a newer version. Is there anything for me to be concerned regarding the current and foreseeable future SOAtest releases?
-
Validating Variable Length Lists In API Responses
Problem: You are data driving an API with your SOAtest test and you have data validation requirements on an array of data the API returns. This can be problematic because depending on the request parameters, which you've externalized into a data source, you will receive varying length arrays coming back in the API…
-
How to use Swagger in Parasoft soa test
Hi Team, I want to use Open API / Swagger in my soa test. When I want to automate any test case which has query parameter, how can I pass my query parameter in the query tab? I am getting the message the specified operation has no configuration path parameter. To change the path, select a different operation. How will I…
-
Support for sub environments - possible enhancement
While the environment structure is great, it would be beneficial if there was an ability to next these such that everything for a dev environment is set in a parent env, but divisions or such could be children to that parent, or viceversa. ie Dev Environment baseurl - http://dev.org urlpathA - /endpointA urlpathB -…
-
Variable'ize entire header for use in all calls
Since we typically use 2 common header formats in out calls (GET Versus POST/PUT/DELETE), I was wondering if it was possible to create a multi-line variables that could be used calls. This would help facilitate normalization between calls and allow a single place for updates and variable assignments, such as auth tokens,…
-
Browser playback not startingup chrome browser
I have a requirement * Navigate to webpage and generate a token. I tried using the browser playback option, but I getting the below error * I tried updating the drivers but no luck.
-
How to take values from xml or json data banks into groovy scripts.
Im trying to take the values from data bank into script but getting error can anyone help me out.
-
Specific test if fails should not produce a failure in report
This is a bit tricky to explain in only one sentence in the title. I want to create a test block that I want to re-use throughout my regression tests. This block will be the login scenario (for start) So my actions are: 1. Check if logged in 2. If not do login 3. Check if logged in I have done this using the Test flow…
-
Select text from inner element
I want to check text from an element that is inside another element. So I want to verify that text form div class="alert" is the correct one. But selecting this div from the validation tool does not work. My first though was to extract the text using javascript. So * Element locator = Use script * Language = Javascript…
-
SOATest : Execute Test from another Test
I have a tst file with 2 different Test Suites where I have 2 different web services. I have 10 test cases for one webservice "A" and another 10 cases for another webservice "B" Each test case is dependent on another test case. I have created a TextDataBank to extract parts of XML for each test case(based on scenario few…
-
Assert element is not visible in front-end (but hidden and exists in DOM)
I have an element that is either hidden or visible in front-end. How do I verify when this is hidden from the user? I tried Browser Contents -> Browser validation tool but it's options for expected value only reflect the DOM. The options do not check if the element is hidden or not. Is there another way? Thanks in advance
-
Using Burp suite extension in Parasoft SOA tool
Hi, I am currently exploring Burp Suit extension tool with Parasoft SOA test for Apis Security Testing. I have parasoft 9.10 version installed and I have a Burp suite professional licnse v2020.5. Whenever I am adding “burpsuiteextender.jar” in Burp suite professional”. I am getting following errors…
-
Condition data fetch in databank using regular expression
Hi Team, I have a situation to fetch the data based on another data value. In this below example, i have to fetch the name which id matches with 555 { "customerName" : "Che", "AccountType" : "Savings", "Country" : "Argentina", "id" : "222" } , { "customerName" : "Nepolean", "AccountType" : "Savings", "Country" : "France",…
-
Condition data fetch in databank using regular expression
Hi, how can I make custom xpath if need to fetch based on a key string present. For example if saving is present in AccountType then only fetch. Occurrence of this is not fixed. { "customerName" : "Hitler", "AccountType" : "XYZ_Savings_XYZ", "Country" : "Germany", "id" : "555" }, { "customerName" : "Nepolean",…
-
Verify PDF Document is Created
I have an application that can created a PDF report of the data displayed on the screen. Is there some way for SOATest to verify that the report is created when the button is clicked? I only need to make sure that the PDF document is created. I don't need to examine the contents of the document. Would the Extension Tool…
-
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.…