-
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…
-
Form Input XML and Literal XML
I seem to be having an issue switching between request input types using the SOAPClient in SOATest 6.1. I pasted some XML into the Literal XML window. When I switch to Form XML view, it asks if I want to override values in Form XML view with values from Literal XML. That is good. However, it does not do this when switching…
-
Assert Value against database
Hi, I would like to know using SOATEST 5.5 how can I assert that the value returend in a SOAP/XML response from my webservice is the same as in the DB. Thanks in advance
-
Callback tool needs to ignore failure
Hi, I'm trying to use the callback tool to dequeue messages from a JMS queue in a loop (using a test suite as the looping mechanism). Once the queue is empty, the callback tool reports a failure. Is there a way to mask the failure so that the step continues to report success?
-
Rule wizard
Hi. What does the Rules feature do? I was trying to rules with the rule wizard, but I don't know how it is used for SOATest. Are there examples for nonGUI tests (e.g. SOAP tests) that I can run? THanks.
-
Validate self terminating tag
Hi, I am using Soatest 5.5. How do I assert a self terminating tag , these are seen when no results are returned. See example below. I want ot verify that the tag bold and italics is present as shown here. ==================================================== <?xml version="1.0" encoding="UTF-8"?> <s:Envelope…
-
Using Test Results from within the a test Suite
Hello, I have 5.5.2 Service pack 10 I have a test suite with 10 individual tests, i would like to have access to the different test results so i can do an SQL insert with that information. Is this information available as a variable? How might you suggest performing this action - I saves me from post-processing the XML -…
-
How to close browser
I am using WebTest in SOAtest 6.1. I am running multiple test suites at one time and every time one suite is finished, I like to close the IE or Firefox browser completely before the next suite starts. How can I do that? Do I need to write a script to complete this task? Thanks.
-
How to make test report message as differenlt language
Hello, Currently, I have a problem with message report, which I need to send this English report to some French knowing group, So how can I translate these English message to Frencch and where can I find these message files? Here is an instance, the results message shows:" V <IMG>: Height and width should be defined with…
-
Can Method Tool return custom XML structure
Normally, when I want to return an XML structure in a Method tool to be chained with a Data Bank I use the command: return SOAPUtil.getXMLFromString(["myStringList"] The format is always a simple list: <root> <z0>myString1</z0> <z1>myString2</z1> ... </root> Is there a way (either in Java or Jython) that I can create my…
-
How to best run all tests in batch (nightly process)
Looking to 'automatically' find all tests in a folder structur(SOAtest V6.1) We want to test a large number of Web Services as part of an SOA implementation and we'd like each service's tests to be in it's own .TST file. The developer responsible for each service is responsible for maintaining the tests for that service…
-
Modify data bank in Method Tool
Is there a way to directly modify a data bank (actually many of them) in the method tool (using Jython)? I know I can add a databank as an output tool, but this seems very indirect. I'm looking for something similar to MethodToolContext.getVariable(), which only returns test suite variables. Thanks.
-
LoadTest Request depending on Hits/Minute
Hi, I am working on Performance Test. Please help me creating below scenario in SOA test, 1) I would like to send 1 request from soa test for evey 37 seconds i.e. 1.6 request/minute 2) When I choose "Hits per minute" in vertical scale still values of the scale are remain unchanged & still showing values of "number of…
-
Need to add values to validation sum is 100
Hi, I would like to write a method to summarize these values. Note that XML Data Bank list the percentage value as Percentage, percentage 1, percentage2, etc. There was an example in the forums, but after several attempts, I was not able to get the python script to work. I would like to be able to run the script and verify…
-
Add a listener to the stop-button
Hello, I have a test scenario at which I start a SOAP request and check the response via the Call Back Tool. Afterwards I start a Java method with the help of the method tool. This Java class checks another message queue for a correct further processing of my SOAP request. This is done by a repeated lookup at the queue at…
-
Command Line -> Not founding Test Configuration - full path suggestion
Hello everybody, I'm having a trouble trying to execute SOAtest from commandline, specifically, the test is not able to find the Configuration File: ERROR: Error: Non-existent configuration examp.properties in workspace: C:\Rodrigo\SOATest\SEO workspace This is the command i'm launching: soatestcli runtest…
-
Need to dynamically target multiple Hosts via CLI
What can I use besides the -router option?(SOAtest V6.1) I know that the -router option is deprecated for the 6.1 CLI but . . . I have a requirement that this feature and no other seems to solve. We have a very large number of services, each service with its own .TST file. We need to run a subset of tests from each file…
-
Query Alternate Message Queue
Hi, we are trying to test an Websphere MQ Server with SOAtest 6. We are sending a message without synchronous response. However after succesfull processing of the message the backend system is putting a message on a different Channel/Queue which we are trying to read for our verification. Is it possible to query a message…
-
Running external Python
hi, I am trying to run external Python (2.5) in SOA 6.1. The script works fine from command line. I have added Python.Home to Window>Preferences > Scripting > Python > C:\Python25 When trying to run script from SOA, test looks inactive and reports a message "Test was not ready and did not run" Here is the python script:…
-
Diff tool file comparison
Hi! I'm encountering a problem when using the diff tool for file comparison, hope you can help me out! I have setup my test like this: 1. There is a file data source, each file contains a database query. The database tool component iterates through the data source. Each query results in one or more rows. The output of each…
-
Compiling and running a JUnit test case
From the Windows command lineFirst, you can generate a JUnit Java file for a test scenario by selecting the test scenario in WebKing and choosing Tools > Generate Unit Test Cases. (You can also generate a JUnit Java file when recording a test scenario.) To compile and run the JUnit class using Java, your classpath will…
-
x-gzip attachment
Hi, I need to send x-gzip attachment with SOAP client. I can only find "zip" among MIME types. I am not trying to decompress it, only send with a different MIME type, than default one. Is there a way to add x-gzip to SOA 6.1 ? Lech
-
Signature tests
Anyone know what I need to do to resolve this warning: Key store certificate alias and private key alias/password are required to run signature tests Earnie!
-
Not able to load WSDL URI in soatest
Hi all, I am using soatest 5.5.2.The problem i am facing is when i load any WSDL URI it is not loading at all and i am not getting any error.when i click on finish it is hanging there itself.I tried running it from command prompt it got an error.Please refer the attachment for the error message. I am using this WSDL…
-
Object Repository with ANT
Hi, I'm trying out using an Object Repository. I created an object and tried getting the value and printing it. When i run it with JTest, it works fine. But when I try to run it using ANT, I get a "jtest.NoSuchValueException: ". Is using the Object Repository possible with an ANT build? Thanks.
-
DB Tool output
Does the db tool output always come out as a string? I'm needing the value for a > numeric assertion, but it seems to only be seeing it as text content.
-
Retrieve output from external tool
If I were to use a command line external tool in SOAtest which writes its output to the DOS prompt, is there a way to capture this output (XML Data Bank, Writable Data Source, etc.) for use in a subsequent test within the same test suite? Currently, we use a similar tool that writes its output to a file and I then use some…
-
Coding problem with webking.api.browser2.WebBrowser
Performs next action without completely populating the textareaHi, I've recorded a path and generated JUnit testcases using WebKing. Now I'm modifying these JUnit testcases using the WebKing API. Problem Descripotion On my webpage there is a textarea and a Save button. My requirement is to populate this textarea with the…
-
javax.net.ssl.SSLHandshakeException: no cipher suites in common
Hi, I'm using WebKing 6.0.5 for generating simple JUnit test class that hits a URL with https protocol. e.g. https://localhost:8453/abc/xyz/home The Webking records the https URL and generates the following JUnit code. ------------------------------------JUnit Code Starts ------------------------------------------ import…
-
Is command line checklinks tool different from GUI?
Is there any reason why a check links test in the GUI would return results and a command line checklinks test wouldn't?* I open the WebKing GUI and be sure to save my Check Links tool preferences. (I assume V6.0 command line invocation still uses the <userid>.wkp preference file when it runs?) * From the WebKing GUI, I…
-
JMS message sending into a JMS queue
JMS message sending into a JMS queueHi, I would like to know that how can be sent an JMS message into a JMS queue. Because I did not find the appropriate tool in SOAtest. Has SOAtest abality to do this? Could you please send me a sample .tst in which have an example for JMS message sending? Thanks in advance Kevin
-
WCAG 2.0 Update
Hi Now that W3C have finalised WCAG 2.0, I wish to start testing using WCAG 2, but I have noticed that it could do with updating. Some of the references point to Success Criteria and Techniques that no longer exist. Is there an update rule set? Cheers Ylod
-
Response is not displayed in XML form
Hi All I am sending a request to get the item details from Database in the schema the item element is defined as string so when the request go to service for get item based on the input fields the service will get all items details from database when i am using Soapui to test i am getting right format, but with SOA test i…
-
How can we automate "Save Tree As Text"
In command line API, I have'nt found any command which allows to save Project Tree. Is it possible to do so by using scripting API (com.parasoft...) ? If Yes, which package / class can do it ? If No, how can I proceed to automate a Refresh + Save Tree As Text (I have to do it each month for 70 websites) ? Thanks in…
-
Problem Running SOA Test in Slave machines
Problem Running SOA Test in Slave machinesHi I am using the below mentined version of SOATest SOAtest Version: 5.5.3 (Build date: November 18, 2008) Service Pack Version: 1.0 Copyright © 2001-2008 Parasoft Corporation GRS enabled, Server enabled 1000 Virtual Users Java Version: 1.5.0_11 Although, the SOATest Service is…