-
Sum of 2 variables or databank values
Sum 2 (or more) values of 2 variables or Data Bank valuesI have a value that comes from a databank, its name is "Databank1:ValueA". I have a second value that comes from a second databank, its name is "Databank2:ValueB" I need to add these 2 values to be sent as a parameter in a XML File. How can I do this? Thanks in…
-
How to run SOAtest 6.2/9.X from Ant script
How to run a SOAtest project 6.2/9.0 from an Ant script? Does the configurations done for 5.5 hold goods here, which is mentioned in the below below. http://forums.parasoft.com/index.php?showtopic=1565 Thanks & Regards, Ash...
-
Custom Assertions in Java
Hello Everyone, Below is an example of a Java script that can be used as a custom assertion in an assertor tool in SOAtest. This script gets a value from a data source, prints that value along with the response value, and returns a boolean value based on whether or not the response value contains the data source value.…
-
How do I insulate testers from XPaths and other implementation details
in web functional testsSOAtest has a collection of features that will insulate users from XPaths.* Recording and playback: Testing scenarios are created using recording and playback; the user just needs to record the actions they wish to test in the browser and SOAtest will create the XPaths necessary to identify elements…
-
String Operations Using Data Bank and Test Suite and Env. Variable Val
Hello Everyone, Below is an example of a Python script that extracts values from various sources (data bank, test suite variable, and environment variable) for use with string operations such as concatenation using the '+' operator... CODEfrom soaptest.api import * from com.parasoft.api import * # Gets a value from a data…
-
SSLException: HelloRequest followed by an unexpected handshake message
If you are getting the error in this topic's title line: SSLException: HelloRequest followed by an unexpected handshake message Then, add the following to the command line when you launch SOAtest in Windows or Linux: -J-Dsun.security.ssl.allowUnsafeRenegotiation=true For Load Test running on Linux, add the line (less the…
-
Evaluating an XPath from a xhtml document
Hi I'm trying to use a XML data bank to extract an element from this XHTML web page: <?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title /></head><body…
-
What is a WSDL Regression test
Hi, Can any body tell me what exactly is regression control, In WSDL tests we have 4th test is WSDL Regression , I got to know that it can detect the changes in the WSDL, But practicall I did not understand , please attach if any files are there so that it could be easy for understanding .. Thanks .
-
Response XML format is not proper
Hi, I am testing my web service using SOAtest 9.0. When i execute the test i am getting the corretc XML response. but the format of the response is chaging i.e. some times response XML is displayed in the proper format and some times the entire response XML is displayed in single line. Why this difference? Thanks, Raj
-
"Could not create Java Virtual Machine" error upon launching SOAtest
SOAtest is showing this error when I click on SOAtest iconHi (Parasoft) , I have problem in launching my SOAtest IDE , Whenever I click on the SOAtest icon on the desktop it shows an error pop up “Could not create the Java Virtual Machine” I know that this is because JVM consumption and I did try launching from command…
-
Error while executing the SOAtest test cases from Quality Center
Hi, When I am trying to execute SOAtest 9.0 test cases from Quality Center, getting the below error. Run-time error [9] : WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified. HRESULT=0x1: Incorrect function. - WSDLReader:Loading of the WSDL file failed…
-
How to send binary data in a browser test during load testing
When load testing a web-based (browser) scenario, the browser is not used. Instead, Load Test sends a series of requests to simulate the result of a user action in the browser. If you need to send binary data in the browser request then you need to do some extra setup to prepare the scenario for load testing; otherwise,…
-
How to import random in jython
how to import random in jythonIn jython script, I have added: import random This immediately makes the list of Methods disappear. How do I access a random function in a Jython external tool script? You can make this happen simply by typing this into an External tool text window for language Python: from com.parasoft.api…
-
Auto generate current date/time into an XML request
I want to generate Date and Time automatically using AUTO option in FORM INPUT XML. When i use AUTO for the DATE and TIME elements, date and times are generated randomly and it is not consisyent. i.e. for each run, it is generating different Date and Time. Could anyone let me know how to get the correct date and time.…
-
How to check whether load test service is running or not in linux
Hi, Please let me know, how can I check whether parasoft load test service is running or not in a Linux machine? If it is not running how do I start the service. If the service is started, by default will it listen in the port 8189? Also if there is any document where I can look for these information please point me there.…
-
Extension tool - Return value indicates success
Hi, I have a extension tool under another extension tool. e.g. Test 1: Extension toolReturn Value -> Extension tool I have enabled the option 'Return value indicates success' for 'Return Value'. But irrespective of the return value the Test 1 always marked as success. Is this a known issue? Thank you!
-
How to start scripting in SOAtest tool...
Hi I want to learn how to use scripting in SOATest tool. Please share how to start scripting in SOATest tool(say Python). Detailed info/docs/links would be appreciated. Thanks - Gopal
-
How to install root certificate authority in SOAtest 6.x/9.x
How to install root certificate authority in SOAtest 6.x/9.xThe SOAtest Web Root Certificate Authority certificate is required for certain functional tests on HTTPS sites. SOAtest uses this certificate to sign SSL certificates that are used by functional tests to isolate and capture web traffic when recording and testing…
-
WriteFile
How to write to output fileHi, I have an issue in writing the response to an external (Some new output) file. Test Script can be written using WriteFile. But I need to write the response of all test scripts means test suite to an output file.But WriteFile is not supported for Test suite and results in WriteFile will be…
-
How to verify the Data type in SOAtest
To verify whether or not a particular element's value is an integer or string, we can use an XML assertor with a *regular expression* assertion. but in this option. If we know the length of the element's value, then we can use regular expressions. i.e. if the element contains 2 characters, i can use the regular expression…
-
Command line report
Detailed report generations using command lineHello, We are using the command line utility of soatest to execute the test suites, the result generated form the command line are not detailed , the report only describes the test suite but not the individual test cases that are part of the test suit. Attached is the test…
-
* Import project into workspace
Hello All, We are using soatest with hudson framework as a part of continuous build, the soatest project is checked into the subversion and hudson framework is configured to runt the soatest using the SoaTest servers in command line mode, Initially we import the project into the soatest workspace using the -import command…
-
Run a single test from command line
When we converted to Soatest 6.2 we chose to create our projects NOT under source control and to leave them in their original location. Now when i use the soatestcli.exe command it runs every .tst in my workspace even though i specify which test to run. My command looks like this -resource"C:\Documents and…
-
Web UI functional test mouse-over menu [Pre- 9.7]
Hi I would like to know if there is a specific way to enable object recognition/interaction with Ajax/JavaScript mouse-over menu's. SOATest is having problems with firing a click on a mouse-over menu with the default settings. Thanks in advance.
-
Any way to personalize report headings?
Need to add title to reportWe run the same tests in multiple environments and we often view the reports for each environment together. Its hard to keep track of which browser window goes with which environment. I've searched the documentation but can't figure out how to add anything to report to get a custom title out. The…
-
Subversion and SOAtest 6.2 integration
Hi I am trying to integrate Subversion with the SOATest 6.2. I am following the help under 'Team-Wide Deployment' that comes with the tool. While testing the integration i follw the steps as spefied below (from the documentation) To test the integration: 1. In the SOAtest environment, open a project that is checked out…
-
How to pass an extracted value into a referenced test suite
This topic will describe the steps to pass an extracted value into a referenced test suite (which is unmodifiable within the scope of the current test due to being a reference). Assume you have two different tests/tst files (1 MainTest.tst, 1 ReferenceTest.tst) MainTest.tst looks like this: Test Scenario: -- Test 1:…
-
What does "Cannot create Java Virtual Machine" mean?
Cannot create Java Virtual MachineThe "Cannot create Java Virtual Machine" error message is due to the Operating System on the machine not being able to allocate the amount of memory requested by the JVM. This is not an issue isolated to SOAtest but an issue that can be reproduced across any standalone Java application…
-
Checking accessibility of colour in CSS
Is it possible to check the colour combination for font and background when the style is controlled by CSS. I need to scan a page and check if the colour difference and brightness meet the accessibility standards. like the report that can be produced by Jucie Studio…
-
JMS subscribtion only
Is there a way to consume (not sending) from JMS topic only?Hello, I have use case in my testing where I wish to subscribe to the JMS topic and consume messages. From the options avaliable I can find only possibility to send request with JMSReplayTo header and consume from the choosen topic. Is there a way to consume only…
-
SOAP Message size it greater than allowed limit
Where is this error coming from?I'm trying to help a colleague run SOATest on a WCF web service operation, and for "big" responses, we are seeing this error in the SOATest client: SOAP Message size it greater than allowed limit [SECURITY.MSGSIZE v 1.0] This is perplexing, as the tool is actually able to get a response from…
-
Browser Data Bank -> Output
View and save extracted valuesI'm running a Web test and at the end of it I extract a value to a Browser Data Bank (Browser Content->Browser Data Bank). How can I: 1) Inspect the data bank. i.e. view the extracted values 2) Write the extracted values to a file. Thanks, Amela
-
Requirements Tracking?
What is Requirements Tracking for?Does anyone know that the Requirements Tracking panel is for in SOATest 6.1 Test Suites? Can you give some examples how and why to use it? Thanks, gozer
-
Record tab key in web browser testing
Here are the instructions to capture TAB key in web browser testing 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 Directory>/plugins/com.parasoft.xtest.libs.web_VERSION#/root/browsers/ie <SOAtest Installation…
-
Record double click action in SOAtest [Pre- 9.7]
Here are the instructions to capture double quick action in SOAtest 1) Close SOAtest if it's open 2) There are two copies of UserCusomizableOptions.js files (One for IE and one for Firefox) located under <SOAtest Installation Directory>/plugins/com.parasoft.xtest.libs.web_VERSION#/root/browsers/ie <SOAtest Installation…
-
How to solve errors when running the VAPI-XP test script
in HP Quality Center.The following errors may happen when running the VAPI-XP test script in HP Quality Center. 1.) "Automation server can't create object" Make sure you have installed the Microsoft SOAP Toolkit SDK as explained in the SOAtest User's Guide. The installer can be found on the Quality Center install disk. The…
-
Linux: How to run SOAtest with a different JRE/JDK
If using SOAtest 6.x/9.x (linux,solaris,windows) you can do this by passing a "-Zjava_home" {path_to_jdk} command line argument (however SOAtest 6.2 does already ship with Java 6, SOATest 9.x ships with Java 7, and SOAtest 9.10 ships with Java 8 [edited]) *** For SOAtest 5.5.3 and earlier 1.To setup and start SOAtest,…
-
Custom report that display individual tests
Has anyone written a custom report for SOATest 6.1 that displays the individual tests within a test suite rather than just the summary info (Num tests, percent pass, Success, Failure) that the default report in SOATest produces? Thanks - Hugh
-
Executing Rest Test Cases
WebservicesHi Can someone guide me on how to Execute a Rest Webservice via SOATest. All i am trying to test the current webservices return a json reponse based on the site requested Many Thanks in Advance. Regards Kadaparthi
-
Keep alive connection/Close Connection
Hello, during our test with SOAtest 5.5.3 the SOAP-Client throws following error message from time to time (not predictable nor repeatable): "Software caused connection abort: socket write error". Our test-scenario consists of the following test: Test 1 -> Python-Method for creating a unique message-id Test 2 -> SOAP…
-
Subversive Add-in for SOAtest/Eclipse
Hi, I am trying to get the Subversive add-in running in our environment (SOAtest 6.1) and I am having trouble adding a repository. I installed the checked item (Subversive SVN Team Provider) in the image below and I am not sure if I need to install anything additional. I used the Eclipse Software Updates and Add-ons…
-
How to access a window or frame's document
when chaining an extension tool to a browser testing toolThese examples are intended for use when chaining an Extension tool to a Browser Testing Tool, used in a Web Functional Test. getDocument is overloaded as follows: CODEgetDocument(); // gets the document for the main window getDocument(String windowName); // gets the…
-
Web Service API - Execute specific tests
Hi, I am looking into using the Web Service API to execute tests from Quality Center. I know that you can set the additionalArgs value so that it only executes specific tests within the suite but this is only available when useWebService is false. Is there a way to do this when using the web service? // Passes additional…
-
Add the active environment to my test
I would like to know how to tell to my navigate step to get the active environment. Since I have 3 environments were I like to run the same test. Like www.certifiactionserver.com www.productionserver.com www.stagingserver.com the main idea is run the same test over these 3 environments, since my test was recorder from a…
-
Validate the results from SOAtest automatically?
is there any way to read the responses and validate the fields?Hi, I have a bunch of tests created in the SOATest, I was kind of wondering if there any way to read the values in the responses and validate them automatically. In other words can I automate the whole process of the following testing example: -> Already…
-
Quality Center VAPI-XP Test Execution
Hi, I am trying to execute a test from QC using the VAPI script provided in the examples folder and am getting the following output/errors: Output: startTestExecution: <ns2:startTestExecutionResponse xmlns:ns2="http://www.parasoft.com/ns/schema/soatest.xsd"><pid>22037933</pid></ns2:startTestExecutionResponse> pid: 22037933…
-
Verify Response against Database
Hi, Is there a way to take an element from a request and validate it against a database? Example: Input has Archive_id = 099999 I would like to take this value from the request and query the results from the response against the values in the database. I am not sure how to go about this. I have read some threads about DB…
-
Saving output from JavaScript
I found some JavaScript that will give me the IP Address of the local machine where I am running tests and this code works quite nicely. CODE function GetIPAddress(input, context) { var ip = java.net.InetAddress.getLocalHost(); var ipStr = new java.lang.String(ip.getHostAddress()); return (ipStr); } The problem is that I…
-
Can Quality Center display multiple responses?
Hi, I am running a Test Suite where I have a parametrized data set running 153 test cases but only 1 Test Case setup in SOA Test. So although I am technically running 153 test cases, the results only show 1 result in Quality Center. I was wondering if there is a way to have QC show the results for each parametrized test…
-
Piecing together SOAP requests
We need to piece together some SOAP messages using the SOAP Client and I'm looking for suggestions on how to approach it in SOATest 6.1. Assumptions: - The SOAP Header comes from an Excel Data Source for each request. - For some tests, the SOAP Body may be completely stored in a cell in the XLS file. This seems to work ok…