-
calling web service simply shows Test Failed and nothing in "Response" tab
I am fairly new to SoATest and followed the instructions from tutorials. I am using literal xml with full xml request. When I submit the request, all I see is "Test Failed" in the console and nothing in traffic object--> traffic viewer--> response tab. Similar request works fine in SOAPUI
-
Traffic Viewer does not show the SOAP Response
After successful execution, I see the SOAP Request in the Traffic Viewer but I don't see the corresponding SOAP Response. (SOAtest 9.9 version). For the same SOAP Request, I get the SOAP Response in SOAPSonar tool (We are trying to migrate from SOAPSonar to Parasoft). Can you help me figure out why I don’t see the SOAP…
-
which version of JSON schema is supported
which version of JSON schema is supported
-
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.…
-
Parameterization of SOAtest Tests
Hi, I am new to SOA Testing as well as the SOATest tool and hence may be asking a basic question but needed immediate help.I have to run a bunch of tests which are xmls being sent over http.The tool that I am using within SOA Test is 'Messaging Service' which would sent and receive pure xmls. Now , is there a process…
-
Workspace and project path from script
I need to access files saved to my workspace from Groovy script. How can I get the path to my workspace and project?
-
Copying files and directories in test setup
I'm a complete dummy in Java. I have service for which I need to setup a file directory structure in the test setup. I thought of using Groovy scripts to copy the files rather than creating batch files. It seems to be an easy task with Apache FileUtils but I can’t figure out how to use it in my Extension script. I tried to…
-
How to get and set environment variables
Hi, I'm new to SOATest and finding it very difficult to get started. Please could someone help me get and set environment variables using Javascript. Thanks
-
SOAtest 9.0---> WIN32COM.CLIENT
No module found for WIN32COM ERRORHi all, I am currently writing a Jython code where i am needing WINCOM32 Extensible Package .I am dispatching Excel using this. from win32com.client import Dispatch But when i am running the code , it says the above WIN32COM module is not found. Solution we used but not Successfull: We…
-
Help in loading JAVA classes
Hi, I had written a code to apply XSLt on a given XML to convert it to HTML format, in JAVA window of Parasoft Soatest. Then I added the extention tool to one of my teststep in SAOtest window. I chose the scripting language as JAVA, I mentioned the class and added the class path to system properties tab but I was unable to…
-
Jython - ImportError: No module named base64
I am trying to use Jython script but I get this error " ImportError: No module named base64". How do I fix it in Parasoft? Thanks!
-
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.
-
How to change data source values in xml-request before sending?
In SOATest I have a SOAP-test that takes its values from a data source (an Excel-file). How can I change specific values in the request based on values from the data source? Example: The field "CustomerID" needs to have either a random UUID-value or a specific UUID-value. In the Excel-file the field value is set to "Auto"…
-
How to encode a string to base64
I have a POST request with a string in a body which should be in base64 format. Is it possible to do it from Parasoft? Thanks!
-
I am getting the response which is same as request in traffic viewer after running atest
Hi I am running one booking service . Request is passing through parasoft , but surprisingly after running in the response section it showing the request sent . Can you please help me
-
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…
-
Loop through files in a directory with POST http request for each file
I have the following scenario I need to write automation with SOAtest: I have an http POST request with an image in the body of that request and I have a directory with 1000+ files. I need to run POST request with an image in the body for each file in that directory. Please help. Thanks, Irina
-
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
-
Value or xml assertion on response message containing escaped XML
Hello, I am testing a web service where the response looks like the following: Within the element XMLOutput is well-formed XML in escaped character format. I would like to do XML Assertion on the escaped XML, but I am unable to because XPATH does not work on escaped XML. The question is: how can I perform XML assertion on…
-
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 !…
-
Start SOAtest as a windows service
In some cases it is useful to start SOAtest automatically or as part of a recovery process. Virtualize and CTP are web applications and can be run as a tomcat service. at this time SOAtest needs to be started manually. In this post I will demonstrate how to launch SOAtestas a windows service Install SOAtest as a Windows…
-
Patch method not in drop down I have Put and Post only
I noticed in the method drop down in resources there is no Patch method. Is there a way to do a Patch ?
-
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 configure WebMethods Tool client with Integration Server option in SOAtest 9.9 or 9.10 ?
We want to access some package and service which is developed in WebMethod.We are trying to access the Package and the particular Service with Host,User,Password details ,but we the particular Package and Service getting listed. We added wm-isclient.jar file in system properties path ,but still unable to see the package…
-
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…
-
how to check response field is sorted asc or desc
Hi All, type: REST API, method: GET My JSON response contains list of documents, In which I have file size field. I can send a parameter in request to get all the documents sorted ASC or DESC on filesize. I want to read the file size in response and check the order is ASC or DESC. Thanks in advance. regards, Neil
-
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…
-
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…
-
How do I change the maximum heap size of the JVM?
In some cases, the default amount of memory allocated to the JVM in which SOAtest runs may need to be increased when dealing with large test suites or complex scenarios. SOAtest 9.x and 6.x: 32-bit versions use 896MB by default. 64-bit versions use 1792MB by default - 896MB if using SOAtest <9.4 To increase the maximum…
-
Script instead of Diff to test return code
if i have a response that has CODE <responseCode>1436</responseCode> how can i do a diff that says the test PASSES as long as i don't get a responseCode of 1436? also, what if i want to do: the test PASSES as long as the responseCode is less than zero?
-
WSDL diff or WSDL Regression versus Diff with XML or Text mode
---------- Test 4: WSDL Regression ---------- Test 4: WSDL Regression: 1 test to process... Did not run XML Diff, there are too many differences. Performing text mode diffing instead. Test failed My question is how many difference are too many? Does the diff tool have a different look for the case when there aren't too…
-
Global Search and Replace
It would be nice to have a global search and replace in All fields of the test suite in one step, instead of repeating that for each field category. You can add a sub menu as: Search and Replace -> Fields Within -> All Occurence Thanks.
-
Using RMI in SOAtest
How to use a RMI URL in SOATestI am wanting to use a the RMI URL(t3//, rmi//) to call a remote method that will start our workflow. I can create a test using method(a test option), and put in the class that will make the remote method call, but I cannot figure out a way to get SOATest to recognize:…
-
Scripting - Dynamic Input for Concurrent Testing
Dynamic Input for Concurrent TestingHello, I have such an issue, i should create a test suite with 100 tests which should run concurrently. In fact all 100 tests are the same , but i want to set an input parameter in the test between data range 2X0X and 3X0X ( X is the any number). So what i want is that : for all the…
-
Documentation on cli -testName option?
Trying to use -testName match:(SOAtest V6.1) I'd like to find out what types of patterns I can use with the -testName match: CLI option. I know that I can do a -testName match: foo and that this will run all tests with foo in their titles. What are the details of valid patterns? I can't seem to run foo*bar for example. We…
-
XPath syntax - ways to get/test XPath
Hello. I have setup some stubs and am mocking up some responses by using the XPath Function matching. However, I can not seem to find much documentation or examples on syntax for this. I can get a basic text="sometext" function to work properly but, I would like to find out how to properly syntax looking for blank text,…
-
Jenkins/Hudson support for SOAtest
Hi, We are trying to get over Development group interested in using SOA test. One question that they would like to know - We are looking at using the same tool that QA uses (SOATest) for our automated services tests. Can Hudson run SOATest scripts the same way we're running Soap UI tests today? They wanted to also know if…
-
Exporting DB Tool Table Traffic Results
Hi, Is there a way to export the traffic results from the Table view when running the DB Tool? This is exactly what I want to export into .csv but when I use the Write File, I get the Literal View and not the table view. I also looked at http://forums.parasoft.com/index.php?showt...hl=writetoexcel but I only got 1 row…
-
How do I create Mock Services
Hi I have a wsdl file. It has no ednpoints defined. But i want to invoke the service by creating mock response for the wsdl file. How do i achive the same in parasoft soa test.? Thanks Aadith
-
Javaw.exe does not release from memory
After closing SOAtest, "javaw.exe" still exist in the processlist of Windows consuming 200 upto 500 MB memory. Restarting SOAtest will start another "javaw.exe" process. The scripts running with this new started SOAtest, have an unpredictable results. After killing all "javaw.exe" processes and restarting SOAtest, SOAtest…
-
Can one test script use two separate data sources?
Hi, Is is possible to use 2 data sources in 1 test script? Issue: I am comparing an excel workbook with 7 worksheets using the DBTool. Each worksheet represents a test case. The issue is the SQL that is being used to generate the excel workbook is using &Date and &SSN which are referenced on the first worksheet of the…
-
Generating PDFs and Email for Reports in SOAtest
Reporting in SOATestHi All, I have following queries on soatest reporting. Really appreciate any response in this regard. Q1 : Is it possible to get pdf report (not html) in CLI mode (using soatestclie.exe), if yes how. Q2 : In order to get test results for a run on email (as email attachment), is it must to have concerto…
-
Using Jenkins to execute Command line interface from another machine
I know it's a long shot, having seen the results in Google, but does anyone have a simple solution for this? We have a Jenkins install and a Parasoft SOAtest (with CLI) install, on seperate machines. How can we let Jenkins execute the command line commands on the other machine? All Parasoft manuals are assuming the SOAtest…
-
Passing arguments to a Python script
I have a Python script which is run as an output to an External Tool (note that this External Tool is run multiple times within a test scenario so this same type of script also appears multiple times). The only lines of code that change are for the Environment variable, assignmentSQL, and the file to read, ASSIGNMENT.txt;…
-
Automating test execution / report generation
I am looking the following solution using SOAtest 1.. Automating test execution / report generation A> I am using nightly batch process which executes all my test cases and will generate report. B> I am looking for an option to generate an email which includes the test results files (html)- can you please let me know is…