-
How to read xml data from the server Logs present on central repository
The log files are generated on the central repository and we want to extract the relevant logs by differentiating it using the unique reference number. How can it be achieved, can anyone please help us over it.
-
Enable view traffic option in localsettings.properties file
Can anyone please tell me how to configure the view traffic option localsettings.properties file. I know how to do it in GUI. but i have to update in localsettings.properties when execute the script from command line. And also disable API coverage option.
-
DB tool with extension tool
I am very new to SoaTest and was having difficulty utilizing the extension tool with the DB tool. I was wanting to access the results of a db tool query within the extension tool but was having difficulty doing so. The input object just shows "text" where if i attach the extension tool to a soap response, I will recieve…
-
Pymongo in soatest
how to add the pymongo in soa test. and from where can i download the pymongo jar file for jython?
-
Is there a way to write in writable datasource using script
Like we can fetch the values using getValues method , can we set the values in writable datasource . Let me know the feasible option to write in datasource by script. Since I need to manipulate the list of values and later store it , I have to write script for it.
-
How to Change the java versions 1.7 in parasoft soatest 9.10?
I have certain jar files to be loaded into "Parasoft Preferences > System Property" which requires JAVA "1.7" but SOATest 9.10 have "1.8"... so i need to downgrade Java to 1.7... so i can submit a claims. Any suggestion?
-
How to Get the Execution Status of TestSuite TCs??
Hi Guys, I am looking for script or anything else which can help me to identify no of TCs got pass or failed. Though I can achieve this functionality using extension tool and executions options but looking for direct script which can return me status true or false.
-
How to Convert HTML to XML in SOAtest.
Hi Guys, Struggling to convert HTML to XML in SOAtest. Though I tried using XML Transformer with selecting mime type text/html but unable to convert. Any help would be appreciated. :smile:
-
Explicitly Passing any Test in SOAtest.
Hi Guys, As we have ****Context.Report()**** method to explicitly fail any scenario.Do we have any method to get it Passed or Success explicitly.
-
How to skip test cases in jython extension tool?
I have scenario where based upon response received i want to skip subsequent test cases . This i want to do from jython ext tool. is there any possibility ?
-
Using the results of writeable Datasources in REST request payloads
I am storing part of a result of a rest query in a writeable datasource. In the XML databank, I am extracting the parent (/:elementList/element[]/coordinate[1]/child::node() ) and storing the 6 children in a datasource column ("coord"). In a subsequent rest request, I want to use the values from the datasource column.…
-
How to read/pass environment variable into ParasoftSOA Test via Jenkins?
How to read/pass environment variable into ParasoftSOA Test via Jenkins ?
-
how to parameter data bank x-path
Hello, I am trying to parameter data bank x-path from excel sheet. here is my scenario below is the x-path I have in my data bank. /root/item[1]/id[1]/text() Output item'1' will be picked up from the response. I want to parameter the Item[1] value with an excel sheet , so that I can control which item to pick up from the…
-
is it possible compare between Response (Soap /Json) and Data source using java
Hi , My scenarios is to compare between response (SOAP/Rest) and database using any of the scripting language Like Java / Groovy /Jython (Mostly Using Java ) , how can i compare those , i m entirely new to Programming Language (Know Basic Concept very well )
-
How to dynamically add xml tag to a soap request?
My groovy is generating an xml tag and need to inject it in a soap request? what are the probable way in which we can handle this scenario?
-
Getting java error, when trying to open a project/tst file.
Error Details: java.io.ioexception:com.ctc.wstx.exc.WstxParsingException:Received non-all-whitespace characters or cdata event in nextTag(). at [row,col{unknown-source}]:[8348,48]. Please help with resolving the issue.
-
I want to add the amount and assert the total to a value
Hello, SOA test : 9.9.5 I have an API where the response will be the clients accounts details like(accounts name, Category, amount and etc). I want to add all the different accounts "amount" and assert the same with the "total balance" field. please advise. Thank you. regards, Neil
-
how to validate if response field is expected to return X and Y.
Hello , I want to assert on a a response field(string comparison assert) . But the response field value returns X and Y . Both values are Valid. I want my assertion to pass the test in both cases. I know we can assert on one expected value. can you please advise which assertion to use to validate the same field with two…
-
How to extract empty tag values into a data bank
Hello, tool: SOA test 9.9 PART 1 I am extracting a value to data data, sometime the data is expected to be empty. The data bank throws an exception that: No nodes found. I want to retrieve some value even though the value is empty. I tried to go into option of data bank and set extract empty value as 'a' - But it did'nt…
-
How to assert the length of the field.
Hello, In SOA test 9.9 . Is there any specific assertion to validate the length of fields coming in response? e.g: I want to apply and assertion below field should be always 16 digits: 123456874874834 Regards, Neil
-
How to apply an x-path into an array.
below is the sample JSON response, I want to get the documentid whose "subcategory" : "Loans" only i tried below, didn't work out. //documents/documentId[subcategory="Loans"]/text() I want to apply a condition on subcategory field and retrieve only document id which satisfy the condition mentioned. { "documents" : [ {…
-
How Do I Load or Use A Provided WSDL Link?
I have been provided a WSDL link to try and get some experience with but I don't know how to load or access it in SOAtest. How do I load or use a provided WSDL link? At the moment I have only an empty SOAtest project. Regards, Bright
-
How Do You Create a VirtualAssets Project?
I am trying to add a WSDL file for the first time to a project as shown in the "Create a virtual asset from a WSDL service description" video at https://parasoft.com/support/service-virtualization-and-api-testing-how-to-videos/ and while they show how to add the WSDL file they don't show how to create the VirtualAssets…
-
How to fix java.lang.runtimeexception error initializing storage while launching SOAtest
Hi Team, We are receiving a error " java.lang.runtimeexception error initializing storage , An error has occurred. See log file null" while launching SOAtest. I didn't get any help from recent posts in Forum and its blocking the execution. kindly Suggest the solution for this
-
How to convert binary format bytes into PDF via parasoft tool.
Hello, I am using parasoft SOA test 9.9 . I want to know how to convert binary bytes to PDF format via Parasoft SOA test tool. Is there any Add-in or extension tool to convert binary bytes into PDF and view the same via browser.
-
Read and update data in CSV , doesnt pick the recent data
I have to consolidate the report data in csv format. After each test suite run I update the csv with the latest paremeter value and use this as a datasource to the next test step. However even if the csv is updated somehow it picks the old data present and uses in next test step. I have also tried deleting the old csv and…
-
how to generate and populate localsettings.properties files
localsettings.properties files store important information regarding Parasoft tool's stored configurations as well as project parameters. A localsettings.properties file is required to utilize CLI integration, back up an installation, or transfer configurations from one installation to another. You will first need to to…
-
Parasoft SOA test, I want to RUN the same .tst 100 times with out datasource
Hello, I want to RUN the same .tst 100 times with out data source. we press f9 to Run the test once , can we do it in any other way to RUN the same 100 times. if we use excel sheet, then yes , we can cope the same data to 100 rows and RUN all rows. but my requirement is i am not using excel sheet. tool : parasoft SOA test…
-
I want to truncate first few numbers in 16 digit number using xpath(databank)
Hello, I am using data bank to retrieve a value to use in subsequent test. But I want to truncate the value and need only last 4 digits of 16 digit value. This is the x-path /root/card[1]/value[1]/text() This is the result of x-path. 4506446460519412 when I press evaluate x-path , i should only get last 4 digits "9412" can…
-
how to get the iteration count and assertion details in report generated
I need the report in a format 1. I should be able to see all the assertions added in the script. Failed as well as Passed assertions. Currently report shows only failed assertion 2. The number of run the testscript ran .Passed and Fail count of the test script.( One test script has combination of 20 test data , in the…
-
SOATest-Can we define environments at project level?
Our team is trying to work in SOATest and checking in our SOATest files into IBM RTC (Rational Team Concert). We are working on different tst files under the same project. But the challenge is we use the same Environment so I was wondering if there is a way to define Environments at the Project level instead of Test Suite…
-
SOATest: Use of datasource column names in the XPath editor
I have the below JSON response where I need to assert the statusCode for a particular name and this name is getting fetched from the 'name' column in the excel sheet used as a datasource. JSON response: [ { "clientTypeCode": "IP", "statusCode": "PEND", "statusName": "Pending Approval", "id": 0, "name": "test1" }, {…
-
How to compare SOATest files in Eclipse
We have been using Eclipse to checkin and maintain our SOATest projects and files in IBM RTC. We are facing merge conflicts when more than one person is working on the same .tst file and if we are trying to accept someone's changes. Is there an editor where we can compare the SOATest files ? Because the inbuilt Compare…
-
How to get the report details - test case pass fail count in a script/extension tool
Need to write a custom report so that the results are reported in the consolidated report dashboard . How to retrieve the values for Parasoft SOA test
-
How to read JSON response with JYTHON script.
Hello, I am trying to read JSON response via JYTHON script. h def assertresponse(input, context): value = String(input) #value = input.scannedDate() Application.showMessage(value) The above script will read complete response. 1)I want to know how I can read individual field in response and load the value into a variable.…
-
Reference the project location in Extension Tool
Hi, I would like to get the SOAtest Project Location in an Extension Tool so that I can reference this location to open a file on the system.
-
Weird issue with SOATest data source: closing on save
I have a data source tab in the SOATest project. I have 2 lines in it. Now I want to add a new line to the data source. So I open data source edit and add new line. When I click save, it closes the data source tab. and then I cant find it in the test case explorer, I have to restart the SOATest. and still the new data is…
-
Validate response against input file which contians data sets for a column
Need to validate the REST API output with an input Excel file where it has few columns and one column is a data set itself. Ex: COL1, COL2, COL3 ABC, XYZ, DFGH, JKJ FDS, ADS
-
Script to capture JSON elements in Excel
Hi Team, I have a situation where i have to fetch the values from JSON response and write those in excel in different predefined columns. I have created JSON data bank and captured the required values. Then i add an extension tool to fetch the data bank values , but now not able to write those values in excel . Need help !…
-
Generating a Log (Technical Support Archive) to Troubleshoot Errors/Failures
Parasoft: Generating a Log (Technical Support Archive) to troubleshoot Failures/Errors Description: Initially, if a user is experiencing unexpected behavior such as build failures, warnings, or errors, the user should look over the console output, the Quality Task notifications, or the Error view to determine the reason…
-
How to Find the Selenium Version that ships with SOAtest
Parasoft: How to find the Selenium Version that ships with SOAtest Description: It can be helpful to know what version of Selenium is shipped with SOAtest when there are browser/playback complications during testing. This can help us determine whether or not the prepackaged Selenium version is supported by a particular…
-
How to validate non-numeric field is ASC or DESC?
Hi All, type: REST API, method: GET 1)My JSON response contains list of documents, In which I have filename field (non-numeric). I can send a parameter in request to get all the documents sorted ASC or DESC on filename. I want to read the filename in response and check the order is ASC or DESC. 2) same way I also want to…
-
Resolving OutOfMemoryError: Java Heap Space or GC Overhead
Description: When running a Parasoft Test based product, you may see the error: "java.lang.OutOfMemoryError: Java heap space". or "An internal error occurred during: "Building workspace". GC overhead limit exceeded" Cause: This error occurs when Java runs out of memory. Resolution: To resolve this issue, you have two…
-
How to Extract/Validate Dynamic Webpage Elements
Parasoft: How to Extract/Validate Dynamic Webpage Elements Description: In some applications, we may come across dynamic elements whose ids/xPaths change every time the web page reloads. This can become challenging to extract/validate such elements. Below are a few techniques used to handle dynamic elements. Solution:…
-
Problem executing soatestcli.exe from the Command-line.
Problem executing soatestcli.exe from the Command-line. I am trying to execute our test suite from the commande line. However, the soatestcli execution always hangs forever on the "Refreshing workspace" step. C:\Program Files (x86)\Parasoft\SOAtest\9.1>soatestcli.exe -data "C:\Users\{Me}\parasoft\workspace" -resource…
-
Web Functional Workflow for the latest version of Chrome / Firefox
Parasoft: Web Functional Workflow for the latest version of Chrome / Firefox Description: The latest version of SOAtest 9.10.0 comes prepackaged with Selenium-Version: 2.53.1. Currently, there is no version of Selenium (non-Marionette) Firefox driver that fully supports Firefox48 and higher. This is not a limitation of the…
-
Example of Executing SOAtest From CLI
soatestcli.exe -data \workspace -localsettings \localsettings -resource /ProjectName/TestFileName.tst -config "builtin://Demo Configuration" Here is a brief breakdown about what the above command line options mean: -data : the path to your SOAtest workspace -localsettings: path of the file that contains needed config…
-
Configuring SOAtest to Email Reports
Steps: 1) Navigate to Parasoft > Preferences > Reports: Set Reports to whatever xml, html… etc. 2) Navigate to Parasoft> Preferences> Reports>E-mail Notifications: Send Manager Reports to "youremail@parasoft.com". 3) Navigate to Parasoft > Preferences > E-mail: Set the SMTP host name to your company's SMPT server host…
-
Resolving 500-Internal Server Error during Validate for Loadtest
Parasoft: 500 - Internal Server Error during Validate for Loadtest Description: During Web functional troubleshooting, it is important to pay close attention to the request/response headers. This is especially the case when we receive a 500 - internal server error when performing “Validate for Load Test”. Aside from…
-
How to Import a TST File into a SOATest Instance
Importing Tst’s in the SOAtest UI Method 1) Drag and drop a TST file into a project folder into the Navigator View. Method 2) In the UI navigate to File > Open File. Choose your TST click open, then Click the button titled: Import “testname.tst” Importing Tst’s in SOAtestcli (headless) If you would like to import a TST…