-
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.…
-
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…