-
Using Dates & Times
Hi, I'm having some difficulty using a Method to provide input to a Reqest via a Form XML window. I'm using the getTime() funciton that was posted on your forum as well as using examples from other folks: **** Code **** from java.util import * from java.text import * def getTime(): # Get an instance of the calendar…
-
How to use the conditional assertion namely IF... ELSE in SOAtest?
Dear Sir, In output XML, choose SOAP envelop -> XML Assertor. Now, for this, select compound Assertions. It has AND. OR & Conditional assertions. Choose conditional assertion. Then, add String & Numeric assertions. Then, group them under Conditional assertion. Now, Conditional assertion has IF and THEN. But, i need to have…
-
WebKing Root Cetificate
Webking errorHi does anybody know what this error means "The WebKing root Certificate authority is not installed" Only one user is getting this error and happens on any pc that she signs into. It then reoccurs if any users uses that pc. Any ideas???
-
Customizing WebKing to check specific link errors
Hi - I can't seem to find this question in the FAQs (it might be there, I just can't find it). I created a test page and put intentional errors in it. I need to run a check that looks for src="//www. I selected tools > customize > check links and added Contains: src="//www but when I run my check it doesn't find the error.…
-
Loops...
Controlling Scenario with a loopQuick question: I’d like to have a loop that controls how many times a Scenario runs. I need to do something like this: While notDone Test 1: IntA Baseline test Test 2: IntB Baseline test Compare XML – Compare results from test 1 & 2 and sets notDone = false when XML’s match While end The…
-
wk.exe browser session termination
We are using wk.exe to automate web app testing. Our web app uses a session cookie, which ends the session when the browser is closed. We would like one test/project to login to the web app and not close that browser session. Additional tests/projects need to run in the logged-in browser session. This works with the GUI,…
-
XML Assertor / Method Assertion
Is there any documentation on the XML Assertor / Method Assertion? I have an environment variable that contains a string like "M8015S12345". The XML returned from my web service returns two elements <MODEL>8015</MODEL> and <SERIAL>12345</SERIAL>. I need to find a way to compare the first numerical part of my variable to…
-
Test Delay vs. Maximum number of loops
Interesting dilemma. I have a test scenario that calls a service located on two different servers. The service generates keys in numerical order. Each test should call the service 100 times. The follow-on test (on the alternate server) should not start until the previous 100 calls have completed. If the testing were done…
-
How do I create a path for functional tests involving modal windows?
Hi, we just started using WebKing and I'm having problems with testing a modal window (choose file dialog) in our java web application. WebKing does not record the actions in this modal window nor does it detect the window. Could you please outline for me the steps I have to perform to create the path that would allow me…
-
Rational Application Developer - Webking Integration
We are using Rational Application Developer as our IDE, which is Eclipse based and we use Webking separately to do Accessibility testing. Is it possible to integrate Webking into Rational Application Developer, so the webking takes care of the acceesibility testing as projects are developed. I see the webking has option to…
-
Choosing Accessibility Rules
Question regarding choosing of test rulesHello All, I am new to WebKing, so my question may be naive. I was wondering if there was any way to select which accessibility rules are tested. I would like to eliminate some of the more minor infractions while testing. Thanks, Frank DiPalermo
-
Excel sheet problem
Dear SOATest Support Team, I have a problem with the excel datasource. I'm trying to set a little bit large excel file, and SoaTest can't read it. I enclose the file could you check it? Thank You. Best Regards, Norbert
-
Parameterized XPath values?
Hi, Is there a way in SOATest 5.5.2, SP4 to use parameterized XPath values in XML Data Bank, XMLTransformer etc. tools? It did not worked for me, but maybe my syntax was wrong (I used the usual $[VARIABLE_NAME] pattern) Andras
-
Error Message when Running WS-I Interoperability
Hi, I am new to SOATest. I upload a WSDL and created the recommended 4 WSDL tests. I got this error message on the 3rd test - Test 3: WS-I Interoperability The reference to entity "WSDLs" must end with the ';' delimiter. Is there a reference guide on how these error messages are generated? The Developer has no idea what…
-
Search Tool vs Validation
1. What is the difference between a Search Tool and Validation? An example as to where I'm having an issue is when testing a certain page to load. I am looking for a certain Status to appear on the page. Could I use both and what is the preferred method? 2. Can a Search Tool be applied to a particular Test within a…
-
XPath and price filter
Hi all, There is any way to insert an price filter (like "/bookstore/book[price>35]/price") in the XPAth above? /*[local-name(.)="Envelope" and namespace-uri(.)="http://.../"] /*[local-name(.)="Body" and namespace-uri(.)="http://.../"] /*[local-name(.)="response" and namespace-uri(.)="http://..."] /*[local-name(.)="price"…
-
VS 2005 SP 1 prevents insdevenv from working
Visual Studio 2005 Service Pack 1 contains a bug that prevents any add-ins from loading for command line builds. This bug will prevent insdevenv.bat from instrumenting such builds. The problem is documented by Microsoft: http://support.microsoft.com/kb/934517 To get insdevenv.bat working, you can either: (a) uninstall…
-
JAR file and Method tool problem
Hi all, I'm having a strange problem with my jar files and the Method tool. After put the class name into Project Configuration, the "Method" list became blank, and I not able to select any class method. I tryed to compile the classes with many different encodings, but didnt got any progress. Thanks, Douglas.
-
Importing the random package in python 2.5
Group I am trying to import and use the Random module within Python and am having a hard time getting SOATest to properly use the python method that I have defined. The code is as follows CODE from com.parasoft.api import * from soaptest.api import * from java.util import * from java.lang import * from random import * def…
-
Reporting questions
Several report questionsHi I have some reporting questions: 1) How can we automatically create a report with every run. Is very tedious to have do this manually by right clicking on the window. 2) How can I give the report a unique name. Username and timestamp will be ideal. 3) How can we make a test not show up in the…
-
How do I access a XML data bank from a script
Can you give me some sample code for accessing a previously populated XML data bank in a script. Thanks.
-
object repository
Hi, How to add objects to object repository through programatically and graphically.
-
SOAtest Logging?
hi, is there a way to switch logging on in SOAtest? It would be helpful to create a detailed log file of the activity of the tools. We are trying to see whats going on with a JMS callback tool. thanks, Jonathan
-
Error opening Test script
java.io.EOFExceptionHi, I was working on a script on Friday and made some changes-->Saved it. But, today, I am not able to open that script/.tst file. When I try to open, I am seeing error: "java.io.EOFException" in the message window. However, I am able to open and modify other scripts and re-open them without any…
-
Stub Settings
is it possible to setup a response using the 'if request matches' setting, so that it responds if it does NOT match?
-
Using SOATest APIs
Looking for an additional testing requirement that we could service just by using Axis (or similar) but if SOATest makes it easier for us with a nice API – I.e. use SOATest APIs as a Façade [GoF Design Patterns]. If SOATest had an API (not the applicaiton automation UI), that simplified the Axis subsystem so that we could…
-
Issue With Java Class /JAR
I have added a JAR File being used by one of colleagues to my System Properties. When trying to use one of the Classes I am getting a Class not Found in Classpath Error (See Attachment). This class in working on my colleagues machine. Test and JAR also attached
-
Auto Populating parametized attributes
We're using the populate to map large (and small) tests. I've not been able to find an Xpath that will auto-populate an attribute. e.g. We have an element to ship: <MyDt myattr="true">2008-03-11</MyDt> After a populate with the following fields: Record/MyDt/myattr Record/MyDtXL Record/MyDt The test will populate as…
-
Silent Install
Does SOAtest support silent install? I got the setup installing silently with commandline switches as far as distributing the binaries, but at the last step it asks whether to install the SOAtest Service. This dialog seems external to the Innosetup exe so I wasn't sure how to get around this dialog.
-
Null value causes "column is not a valid date"
This may be more of an XML question, but... We have a non-required complexType element within a request message which takes data of type Date with an attribute which takes 'true' or 'false' as a value. As far as our service is concerned, we can pass the equivalent of: CODE<MyDt MyAttr="true"/> However, SOAtest is giving me…
-
Report naming issue using command line
Hello- I have run across an issue that a couple of previous posters have but, have yet to run across a resolution. I am using the command line feature to run all of our tests in a batch process and have an issue when using %d for reporting - it is printing literal 'd' instead of the date: so, my report is d_ReportName.html…
-
DB calls
writing to a data sourceI have a sql insert that works fine. I need to capture into a data source the IDENTITY of the entry, to be used later in a test. i need to do this roughly 12 times. What is the best type of data source to do this? $[Ident: MSG_ID] = SELECT SCOPE_IDENTITY() Doesn't work. Can I use more than one data…
-
Select to Data Source from DB call
How is this done? How can I fill a table, and then use the data from that table? Can I use a setup test to query a Database and populate a SOATest Table? eg : SELECT H.MSG_ID, H.MESSAGE_TYPE FROM dbo.HOLD_QUEUE As H WHERE H.MESSAGE_KEY_TXT = '$[Key]' AND H.MESSAGE_TYPE In ....
-
JSON Data Bank tool using
Structure of the JSON object is not displayedHello, I know that JSONDataBank gives a way to visualize the structure of the JSON object, but when I tried it to use this tool, the message structure was not displayed under JSON tab after running test. Only 'this' word is here. I right-clicked on this word and selected 'Expand…
-
JMS NamingException
Unable to execute a SOATest while trying to send a msg to WASHello, I am trying to send a message from SOATest to a queue registered on a WAS-server. I get the following error message in the SOATest console: JNDI NamingException: class com.websphere.naming. CannotInstantiateObjectException. This could be caused by a…
-
JMS reading and comparing - best practice?
Dear support, The relevant logic of the application we need to test is this: 1. A JMS message is put on a queue on Server A. 2. The message (if is valid) it is slightly transformed and put onto another JMS queue on Server B. We need to compare the messages put on server A with those read from server B. The Messaging Client…
-
Does SOAtest support Spring remoting?
Can I use SOAtest to test services that are created with Spring remoting? As far as the tool is concerned, would it be any different than testing any other service - just specify the endpoint and request, then configure the transport type and settings, or is there more to it?
-
How to ignore whitespace diffs in regression controls
Using WebKing 6 I'm wondering - is there a way to have it ignore whitespace changes in regression controls, I mean as a rule rather than having to manually tell it to ignore each individual case (which could potentially mask other real regression)? When I run my tests against a different test server (running weblogic 10…
-
What kind of Pages are tested webking?
Do they include the dynamically generated pages from javascripts?Hi, I started using webking recently in order to run tests related to web accessibility issues on a web application which runs on an application server. Now the url to access this application is something like this: http://localhost:9080/<app_name>/ I need to…
-
Sonic .jar files are needed by SOAtest to invoke SonicMQ JMS
What is needed for testing SonicMQ JMS services using SOAtestThe following Sonic jar files need to be added to the SOAtest classpath* broker.jar * mfcontext.jar * sonic_Client.jar * xq_core.jar They can be found under the Sonic MQ/ESB installation dirs lib and lib-mq. To add a jar to SOAtest classpath, go to File -->…
-
Receiving BAD INTERFACE from Insure++
During Compilation, BAD INTERFACE pops up..It appears that BAD INTERFACE error occurs when I have a extern to a function: I have the following: Declaration conflicts with interface: syslog >> extern int syslog (int priority, char *fmt, ...); Please contact Parasoft support: support@parasoft.com another one: Declaration…
-
Setup tests - Run before Standard tests
Setup test: doesn't seem to be working for multiple iterationsHi, In my tests, I have one scenario containing 5 different test cases. In the scenario, I tried to setup test as methods and output of those methods, I need to use as request parameter for those 5 different testcases execution. - I have a comprehensive…
-
How do I get writable datasource values in an array
Hi, For one of my tests, I wanted to get values from datasource into an array for verification of extracted values from my response traffic. Here is what I want to do: - Using DB tool & XML databank, am extracting DB values and storing them in writable datasource. - In a method A, I am extracting parameters from response…
-
Installing on AIX 5
AIX 5 uses an environment variable: LDR_CNTRL to mange memory layouts. If you have this set, unset it, then install Insure++. Please see the following article for help understanding LDR_CNTRL: http://publib.boulder.ibm.com/infocenter/t...perftune113.htm --Rich
-
Backend testing
Issue faced while testing oracle databaseHi, I am trying to execute a simple SQL query from Parasoft SOA test tool for Oracle database(version:Oracle 9i, Operating system:Windows XP). But I always get the error-"ORA-01882: timezone region not found " . For any query for any table, I get the same error. The queries work…
-
Using XPath in Method
Hi, From my response traffic, I am extracting a section using XML transformer and storing it into a variable. Now I want to use that variable in another method and need to use XPATH to extract some attributes for certain calculations and verification. Example: my variable will have data like: <TEST1> <CO A ="12" B= "23"…
-
Can't build unit tests for target execution (VxWorks)
Environment: Windows XP Workbench 2.6.1 VxWorks 6.3 C++test7.1WindRiverExtension 7.1.2.30 When trying to build unit test cases for execution on a vxworks target the test configuration fails. We are unable to run unit tests on the target. Jeff Estes was on site 1/30/08 and has the details.
-
License Question
LicenseIs there anyway to get a floating license for the command line interface and bug detective applications?
-
Given our directory structure we are having link failures in generatin
(Entered for David Mann) This topic has been discussed and you have provided a temporary workaround. I have been able to add the missing function definitions inside the auto_incomplete file and been able to get the test generated. I am keeping this issue open until we have a solution for this problem. Please keep me…
-
What needs to be configured in Clear Case
(Entered for David Mann) Parasoft seems to generate alot files inside the .cppTest directory. How does this stuff relate to the test suite and stubs that are generated? If we do not configure these files to we incur a compile time penalty, a code overwrite penalty? Please explain.