-
Execution stops if a scenario has a dependency on login call and variable is mapped to an input file
I am having issue when adding condition to map the scenario folder name (to method name from input excel file) and add success dependency on login call before executing the scenario. The scenario does not get executed. It stops execution after login and does not move on the scenario. Note: if I have the test outside of the…
-
Can we define Env variable outside of the .tst file?
is there a way to define environment variables at project level instead of defining it at .tst?
-
Conditional Assertion not working with Has content
Trying to use condition assertion, where If (tag has content) then (assert this value). But for some reason, Has content doesn't work. The test cases passes even though the assertion value is wrong. Has content as a separate condition works fine. But only if I put it has a if condition, there seems to be some problem. Not…
-
Email reporting: how to update email body message or file name that gets attached to the email
we are using custom reporting for our scripts but we don't see any option to update email body message or attached html file name when report gets generated. it seems that we can only use the variables that are available in the soatest xml file. ex. the attached file name is coming up as managers_email.html by default as…
-
Data Source Row not showing in latest version 9.10.7
Test setup: • All rows in data source are selected. Soatest 9.10.6: (Before upgrade) • Note – Data source row is visible for each test run, in a consolidated fashion. Soatest 9.10.7 (After upgrade): • Data source row is now missing. • Test run field only populates the last 5 test runs in a test setup like this. • Dropdown…
-
Execution issue when using DIFF tool
is anyone facing issue where the script execution continues to wait or hangs when using Diff tool in the web service call? it does not throw any error or warning message.
-
Is there a way to reference a test from .tst file instead of entire .tst?
Can we reference one of the test instead of entire .tst file? ex. if I have Test.tst which has 5 test suite. Can I reference just test suite 1 in my smoke or regression.tst?
-
XML Assertion for single element
Hi team, I need to validate a value say itemID (used excel datasource ) from xml response but in the response xml a no. of itemID nodes gets generated ,so I have to check with each itemID present in the response.The required itemID in response doesnot everytime generates at the same node so while selecting the element I…
-
Write/save SOAtest console log to file
Hi, What is the best way to write the contents of the SOAtest console log to a (txt) file? I heard this is possilble with the CLI, but is this also possible with the desktop version? With standard eClips you can set the Run/Debug configurations, however I do not see this option within SOAtest 9.10.6. Or can I use something…
-
Open File command issue in Quick access Textbox
Through automation, when Open file command is passed to Quick Access Text box, getting following error. "There is no handler to execute for command org.eclipse.ui.edit.text.openLocalFile" This issue occurs only when user enters the command through automation. We could not reproduce the same issue manually. Error screenshot…
-
SOAtest : DB Tool passing extracted values using XML Data bank to other queries in specific format
I am using DB tool with Results as XML -> XML Data Bank, it returns many rows as a result and I want all values of say nth field as input to succeeding queries in test scenario workflow. Is there any simplistic way to do this? For example first query select * returns few rows with fields say f1,f2....fn, I want all values…
-
Fetching data from Text Databank variable from a different test
This is my use case: Test 1: Extension Tool Add output --> Text Data Bank (Extract 2 data variables StartDate and EndDate) Test 2: Do SOAP calls Add output --> XML DataBank Test 3: Extension Tool Parameterize Call Add output --> Text Data Bank Test 4: QueryDBUsingvalues Add output --> Text Databank My problem: The two…
-
Attachment in Parasoft
Hi team, I am seeing a tab in soap client as attachment. What is the use of that?
-
Storing xml response
Hi all, I am trying to split an xml response by using a tag but before that I need to store my response xml in a string variable. I am using JavaScript (as per my project requirement) in custom assertion.Please kindly help me how to store the response xml in a string variable first so that i can proceed with further…
-
Does SOA Test support confluent kafka 5.2.1
Hi I am trying to setup a messaging client test for confluent kafka 5.2.1 version using SOA Test. Does any body know if SOA Test supports this confluent kafka 5.2.1...? Also this is using "KafkaAvroSerializer".
-
How do I pass current date in my XML Request
XML request has - date from and date to tags, how do I pass current date for both tags using extension tool, or is there any other way to achieve this. I am using Parasoft 9.9
-
Socket Closed Error Message
Hi, I am making a GET call from SOATest, and my URL is of the format walk.appgw1.westin1.dev.azure.xy.com/sv/details/v1/name?ID=123456 I don't see any traffic in the viewer and in the "quality tasks" tab I get "Socket Closed" I find no issues when I try this from POSTMAN / SOAP UI / Browser so its presumingly a SOATest…
-
ECMA in Parasoft assertion
Hi Team, What prerequisites(setup) we need to do so that we can use ECMA script in custom assertion. Please help.
-
SAP Hana
Has anyone connected or integrated soatest to sap Hana either by JDBC or Hana xs odata?
-
Kerberos Authentication
Hello, I am trying to setup Kerberos Authentication for a client and am running into some issues with the configuration of it. The help file states this: "To begin setting up Kerberos authentication in SOAtest, you must first place a file in the installation directory of SOAtest called kerberos.config. This file can be…
-
SOATEST returning error when trying to update the Xpath with string functions
I was asserting on the below response against my database value which is supposed to be Response from the service for scoreDate: 2017-03-16T12:45:25-04:00 Database value for scoreDate: 2017-03-16 12:45:25 (Expected value) I am passing the List name as a parameter from my Datasource excel sheet('ExpectedIPList' column). So…
-
FOR LOOP in xpath reg-ex
for $item in (/root/Json[1]/item[*]) return $item/account[1]/text() the above statement return no.of items, whereas applying replacement is not working for $item in (/root/Json[1]/item[*]) return replace($item/account[1]/text(),'abc','xyz') It returns only the top row.
-
SOATEST - How to assert on blank values
I am using SOATest (9.9) and in my JSON response I am asserting on an element (status) which can have a value or null value. I am trying to assert this against my datasource column 'status'. I added the below assertions in this case and did the below: 1) Added a Value Assertion for the element 'status' and parameterized it…
-
Unable to correlate the responder with all the data rows returned from DB results
With respect to Responders, I'm adding a DB tool as output and querying the results and storing in XML data bank. The query returns multiple rows of data, but the responder is able to pick only 1 row of data. Please help me a solution on how to correlate with multiple rows of data from DB results. Step 1 – Created…
-
Capture response
Can we capture any part of data from the response and save in an external excelsheet for REST API in Parasoft SOA
-
Oracle SQL Developer using SOATest
I am new to this tool and I want to use oracle sql deverloper using soatest tool. Can anyone please help me how to configure and use.?
-
xml difference ignoring key/value pairs when there is a specific key
Hi all, I am trying to do an xml comparison using the Diff tool, however this xml contains key/value pairs (RefType/RefInfo) where some of those values are dynamic while others are static. Below is an example where I tried to use the Diff tool (xml). However the diff tool doesn't recognize the xpath expression I have…
-
Adding boolean as payload field type - Enhancement
Currently, there are only three options for a payload input field type. This prevent the easy UI option of selecting a true/false value for a field. This can be done, by editing the literal values to remove the quotes around true or false, or setting these manually. It would be nice if another field option could be added…
-
how to provide test data based on Environment into API Call?
I have rest call which will take country as input parameter. At the same time i have dev and test environments. When dev environment active , my country should take USA as value ,in case test environment is active then country should take Canada as input in parasoft SOA test. Can you help me on this
-
The ParasoftSOAtest executable launcher was unable to locate its companion shared library
Hi There, our coop is installing Parasoft SOA Test for the first time in his machine. While installing at the end of the installation he gets a dialog box saying The Eclipse executable launcher was unable to locate its companion shared library. But SOA completes the installation when he runs the SOA shortcut, it's showing…
-
Issue in using Write File Tool in SOATest Response.
I am using Write File Tool to write the output in different file formats but when i am using word file the response is not coming in proper format for eg. in case of xml response i am not getting the xml tags. Can anyone help me..?
-
Running Regression Suite in multiple environments at the same time.
I want to run my Regression Test Cases in multiple environments at the same time. Can anyone please tell me asi am seeing only one environment we can set active at a particular moment.?
-
DB Tool - ORA-12519 error
I'm trying to connect to Oracle DB using DB Tool, when I run the test it gives me the below error. Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found 66000 What could be the reason ? I did try with some other connection string for same Oracle DB and it worked fine.…
-
Running a specified action/test after a test case
I would like to know if there is a way to do an action after a test case is done. Here's my scenario: I would like to create a lot of tests for HTTP POST, which updates records. After a test case is done, I would like to revert back the values of my record using another API call, and use it for another test, or use it for…
-
External tool call .net code
Is the external tool able to call a .net dll file directly? Would it work if the dll is compile as an executable? If so what would be the value of the flag? Would I be able to pass in parameters?
-
Soap Fault: [InvalidSecurity]: An error occurred when verifying security for the message
I'm new to SOAtest and just trying to get a simple WSDL operation to go to an endpoint and return a response. We require a Basic authentication with a Username and Password, which I provide. I keep getting this error no matter how basic the operation request I use. I am an avid SoapUI user and these work without a problem.…
-
SOAtest: Call Excel application from Extension Tool
Hi, In order to recalculate the formulas in our Excel datasource, we need MS Excel to open en save the workbook before running the test. This can be accomplished by calling an external bat script, but this not preferred, from maintenance perspective. With jython/java I need the 'os' class in order to use e,g,…
-
To Use Response of one test case in another test case.
Hi, I have 2 test cases one is CreateTicket and other is UpdateTicket. Now when i will run CreateTicket Test Case i will get one ticketID in response xml which i have to use in request xml of updateTicket test case as i want to update that ticket. Can anyone tell me the process of doing this..?
-
SOAtest using dynamic Excel Datasources
Hi, I use _dynamic _Excel sheet (XSLX) as a datasource for the DBtool to make sql inserts. The Excel =TODAY -formula is used to put today's date in a field. This works well, also with highly concatenatied queries. OK. However on the long run it seems that SOAtest is treating such a datasource as static, because when I…
-
SOAtest: Extension Tool parameterize Datasource File Path
Hi, I have got simple jython script, written in Extension tool to refresh the Excel(xls) datasource, just by opening it and saving it to disk again: from com.parasoft.api import * from org.apache.poi.hssf.usermodel import * from java.io import * DATASOURCENAME = "Vul_Tabel_DS"…
-
change TST file format from compressed XML to XML
Hi Team, Very Good Morning :) I am using SaoTest tool for more than 2 year. It make easy API testing and performance testing. But there are some loop wholes ,that might need up-gradation to these tool. or it might happen there is solution to below issues but I am not aware. I am facing below issues in soatest. 1. Once you…
-
How to stop a Test Suite even if one test fails
Hi, Is there a way to stop the execution of entire test suite if at least one test in that suite fails. Thanks in advance, Lakshmi
-
How can I automate PDF form signing SOA test
Thanks in advance
-
Text Data validation
While Running a request i am getting response in text format for eg. INC000003425644. How to verify it using soatest tool.
-
Bug in Content Type assignments - form encoded adding charset
I found a potential bug, or room for improvement... When setting up a Request in SoaTest, and setting the payload to URL Encoded (application/x-www-form-urlencoded), the resulting header is: Content-Type: application/x-www-form-urlencoded; **charset=UTF-8 ** If the charset is going to be added to the content type, can it…
-
How to pass String ArrayList object to Service in SOATest
Hi All, I have a string Arraylist where i'm iterating cells from excel and saving it in list and passing the list to context like below(doing this using extenson tool object). When i access the list in Service the entire string response is going in the request. Actually, the arraylist contains list of String. Which has to…
-
how to use just the property of the json object from databank
Hi, would you please let me know how i can use just the property of the JSON object that i save to the databank.
-
Selenium webdriver
Hi, Can someone help me on setting up the Selenium WebDriver script with IE browser? Actually i want to validate an entry in UI after the API is executed. And my UI application will work only in IE browser. So thought to add an extension tool after the API step. From extension tool i will call the JAVA class file(Selenium…
-
Close/Stop External Tool after TST is complete without killing all similar processes
While I can run an external tool in a setup test of a TST, I was wondering if there was an internal reference to the service/process id, or other mechanism, in which I could pass a kill or stop command to. ie...I start a batch file to enable an SSH connection before running the tests within a tst. after the tst is…
-
How to write in Writable Data source in runtime using java
Hi, How to write in Writable Data source in runtime using java. I have string value "utterances" String utterances = utteranceSheet.getRow(i).getCell(6).toString(); which i'm getting from excel sheet. Doing this in Java using Extension tool. Want to set this in writtable Data source. Writable Data source name :…