-
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
-
Building a dynamic JSON Request body with n objects in an array
Hello, I have a use case that I'm trying to implement in SOATest and am running into a wall. I have a Service1 that returns n number of Account objects. There are a varying amount of accounts that could be returned for a given request as that user may have more or less accounts than another. I have a second service,…
-
Python script error
I am trying to add new column header in data and in assertion i am using that column header in code Error Message: DataSource: Positive (row 5): Error during script execution. View Details for more information. java.lang.AssertionError ~~~~
-
Json Assertor Throwing an error in Bamboo execution
I have some value assertions in json assertor tool and the test works on my local, but fails in Bamboo with below error. Can someone please help me understand what is missing? An error occurred while processing an assertion: net.sf.saxon.trans.XPathException: Cannot convert XPath value to Java object: required class is…
-
Soa is crashing while run the Exension File
I am using a extension tool where I am running java script .This script contains winium driver and sikuli apis ,when ever I am running this script.My soa crashed and showing the Error ,as you can see in the attached screenshot .I tried every possibility like add the eclipse ini file add both -vm and mention the javaw.exe…
-
How to import my tests in another tests
I am trying to create a common function library, created a test .tst file added an extension tool and written some methods in it. How can use this methods in other test .tst - extension tool. Is there a way to do this. Appreciate your help.
-
Use of Aggregate Data Sources in SOAtest: MAX nr of fields combined?
Hi, Currently I am building a project in SOAtest (9.1.0.6) in which I would like to combine some internal table data sources into an aggregate DS for use in XML Assertors to validate the contents of several DB tables. I have a project with several tst's underneath. I declare the DS on project level (not as Global DS!)…
-
Export results to Junit or Nunit - possible?
After executing a test in SOATest, is it possible to export the results to a Junit or Nunit report.xml? I see that xunit is supported, but when exporting, I only get an empty xml report as attached. Is there a setting I am missing, possibly?
-
Flexible selection of Active DS in DG
Hi, Currently it is sadly only possible to set an Active DS within a Data Group through using the dropdown selection or a static Environement variable. However during iteration of my test, I want to dynamically set the Active DS e.g. through a runtime variable, e.g. triggered from an overall DS. Will this be made possible…
-
oracle.jdbc.driver.OracleDriver cannot be found by com.parasoft.xtest.libs.base_9.7.7.20180207
Hi Parasoft team, am getting below error when i try to connect to ora DB, I have included ojdbc6.jar in JDBC driver, DB tool is not surving my purpose so we have to handle this via scripting, can someone help on this please Additional Details: oracle.jdbc.driver.OracleDriver cannot be found by…
-
Capturing loop count during loop until Fail/Succeed
I currently use a loop until succeeds loop for some calls to account for backend delays in data propagation, but I am now being asked to capture how many loops it takes (to determine total delay) until the data is propagated. Is there an internal variable that can be used to capture the current loop count, which I can add…
-
Excel datasource defined in parent suite, values are not getting through in reference suite
Hi We have several reference suites that use a data-driven approach with an Excel datasource defined in the parent test suite. I had to change one of the reference suites (add a new SQL query somewhere), but now the values of the datasource (of the parent suite) are not detected anymore (errors in the ), but only in the DB…
-
Unable to connect to SQLServer through Jython
Hi, I am trying to connect SQLServer using extension tool (Jython). I got an error: Error during script execution. View Details for more information. com.microsoft.sqlserver.jdbc.SQLServerDriver cannot be found by com.parasoft.xtest.libs.base_9.7.7.20180207 I added: * sqljdbc42.jar in Parasoft/ Preferences/ JDBC driver and…
-
Recording Web Scenario
I am trying to record a web scenario but the only thing that is captured is the start page. As I navigate through my planned test script no pages are being recorded even though the dialog says it is recording.
-
Using Kafka with SSL
Parasoft SOAtest supports Kafka through the Kafka plugin available on the Parasoft Marketplace. The Kafka transport allows you to configure SSL and other security settings with global Producer and Consumer properties through scripting. You can add an extension tool to your test suite and add the following properties import…
-
Soap Client Response in Parasoft
i am trying to run a soap api in parasoft response seems to be 200 but the payload in traffic viewer is empty as below But when i run the same api in soap ui i get the complete response with all the Engagement benefits details. where am i going wrong here.
-
SOA test integration with ALM
I integrated SOA test with ALM. I am currently executing the tests from test lab. But the challenge is the runtime is very long from ALM like almost 4-5mins I am looking for a solution where I want to execute my test cases from SOA test tool and export the complete traffic to ALM
-
Dynamically change a request
Hi Team, Can we dynamically change our soap request based on datasource value. Example: We have a column in datasource having value as 3 ,so I want to add a block of elements 3 times. If my column value is 2, then I need to add the elements 2 times dynamically based on the value of the datsource. Can we change the request…
-
Connection timed out error
Hi, i am new to parasoft tool and have started on this few days back. i am working on a rest api, and getting an error as "Error Message: Connection timed out: connect" even though i have done the proxy changes in the preferences. Could you please assist me as in what i can do to resolve this error.
-
Test Suite - Execution options
I would like to iterate my datasource once per test. In Test Suite - Execution options Tests are individually runnable radio button gets disabled after adding tests. Could someone please help?
-
Soavirt Server License Question
I am using the "Server License" version running in a cloud environment. Currently I am using a license token (server, which is correct) but I am also using a regular soatest license also. That does not seem right to me. Could it be on selecting the "Edition" to "custom" and only choose server API enabled?
-
Email content validation with another content
Could you please share the logic to compare the content of email like boy sub date etc to other page .... Is it possible though soa tool?
-
SOATest using Mulit-Factor Authenication
Can SOATest support this? Has anyone done this with SOATest before?
-
Write Header element to CSV file
Hi all, There are alot of post on creating CSV and passing element from body to CSV using xml transformer. However i am looking for a way to sent the 2 element in the HEADER session on to CSV file. I have yet to see any information regarding that. Please take note its 2 selected element in the message header, not the whole…
-
Encode / Decode base64 with javascript?
Hi, I need to decode base64 encoded output of a rest service and compare the decoded result with a value from a database, but I don't know how. I understood that it is possible to decode with javascript, but how can this be done? This is the scenario: * JSON call to a REST service returns a encoded value. * I saved this…
-
test name parameterization
I have one payload with different vallues and headers. I created data source and added headers and values and also added column Test name. is there any ways to parameterize each test name so that test picks only headers and other values related to its name?
-
Property file setting questions
If I use the soatest.license.autoconf.timeout=[seconds] property and set it to 90 seconds, will soatest keep polling until license is free for 90 seconds or will it wait 90 seconds to poll. Same question for this property soatest.wait.for.tokens.time=[time in minutes] If I set this to 20 minutes will soatest only try once…
-
set or change boolean values in script
I have the following scripts that simply flips the value of a boolean, but when I try to set the value to a testsuite variable, I get a compile error as a string cannot be set to a boolean although the variable is defined as a boolean. Any help on my mistake(s) or work arounds would be greatly appreciated. Variable…
-
<HOW TO> Test Execution Time in Report
Hi, Can someone please help me know if we can add "Total Test Execution Time" in Report and how to do that ? Thanks in advance.
-
Error Message: Connection reset
when i run a POST call in SOATest, i get **"Error Message: Connection reset" ** same request will work in postman. so i am using same info i am using in postman.