-
Add an XML header to a request with out a schema
Hello, I have the following scenario I need to execute an HTTP post of an XML message, which has an schema, but also it needs an XML header (that is not the same as an HTTP Header) This XML header is not included in the schema (because it defines the body of the message). The XML should look like this <?xml version="1.0"…
-
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…
-
LoadTest - Missing data source
No data sources availableI've created a Web Recording in SOAtest, and added a CSV data source for one of my input fields. The test runs in SOAtest and iterates through all rows of my data file. I've configured and validated the test. I want to run the test in Load Test. When I create a project in Load Test using my SOAtest…
-
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 .
-
WSDL Regression
-
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…
-
Could not create Java Virtual Machine error when click on SOAtest 6.2
SOAtest is showing this error when I click on SOAtest icon
-
Could not create Java Virtual Machine error when click on SOAtest 6.2
Hi (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 Line so it success (c:\>soatest.exe –J-Xms128m –J-Xmx256m).…
-
SOAtest concurrent license usage for particular time ?
How we can check , how many users are using at the particular time .Hi , I just want to know that how do I can track the concurrent license usage for my SOAtest tool, here we are many users will be using but in Report Center I can able to see only how many users have used SOAtest from last 7,15,30 days .. But our clear…
-
Webking AJAX Test can not click on DIV element
Doing the record of a Function test with AJAX support of my website, it records a action of click on a element DIV with a attribute value of fixed ASYS,TESTPLEX,0,0,91.3 ( I verified that is correct with firebug). I think go to run the testing HTTP responses (static analysis / web accessability) and it can never complete…
-
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…
-
latest webking version
What is the latest webking versionHi, Please let me know what is the latest Webking Version.
-
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…
-
LINK : fatal error LNK1000: Internal error during IncrBuildImage
If you are using vc9 (Visual Studio 2008) see a popup titled "Microsoft Incremental Linker" that says: and in Visual Studio's Output Window you see: then you should read http://support.microsoft.com/kb/948127 , and use /INCREMENTAL:NO or apply the hotfix from Microsoft. The link error is a bug in link.exe, not a bug in…
-
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…
-
Double click user action
We are recording test cases for the functional test of the application. Our application uses double click user action to make some fields on the page editable, but there is no option for the double click action in the WebKing. Is there any way we can add it? Thank you for the help.
-
IE LAN Settings changed by WebKing
Proxy Server set to 127.0.0.0:55555 loses browser IP connectivityWe have an issue with WebKing affecting Internet Explorer. Whenever Webking plays back a recorded test and opens a new IE window, it changes the LAN settings in the new window and all pre-existing IE windows. It selects Proxy Server checkbox in the Internet…
-
How to avoid "unable to create native thread" error message
Users may encounter "unable to create native thread" error message in Load Test on Windows machines. This happens due to shortage of memory in Windows server. To solve this problem, user needs to start up Load Test with higher heap memory space. Instructions on how to increase Java Heap can be found:…
-
DB tool output
I'm slightly confused about how the DB Tool outputs the results of its query. Here is my situation: On a page (html), I have a form with 5 different inputs (all are select tags). Below that is a table with a header row and then data populated into rows 1 - n by a sql query which has where clauses that are based on the form…
-
Extract a value in method
I need to generate a value in a javascript method tool to be used at a later time. Is there any way to "extract" a scripted value to some on the fly datasource? Or is there a way to declare something like a global variable. The end game here is being able to use this script generated value in a DB tool (like the…
-
Running into BAD_DECL with unknown file name
Dear Insure++ Experts, I am running into a BAD_DECL group of messages I can't interpret correctly They look like: [VNS.c:65] (Thread 0) **BAD_DECL** >> static IF_ERROR_MAP ErrorMap[MAX_RC] = Incompatible global declarations: ErrorMap Arrays have different type and dimension. Actual declaration : array of 3 elements,…
-
* 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…
-
webking not using newest saved version of script file
I have a Method test which uses a javascript file that contains my method. However, WebKing frequently does not use the most recently saved version of the file. The file is saved and closed, yet WebKing still tries to execute the script before the latest revisions - it is still failing at runtime on a line of code that i…
-
WebKing Crashes when running Static Analysis
WebKing 6.0.5 (service pack 9.1) automatically closes when running Static Analysis on an https://{servername}:22267/ type of web application. The analysis runs for a while, but does not complete and application crashes. Has anyone experienced this and what is the resolution. Alex alex.aslan@citi.com
-
Problem finding missing WAI-ARIA attributes using Webking 6.0.5 Servic
Hi, I am trying to find out all JSP pages that require "role, aria-*, ..etc" related attributes in my project. -------------------------- EX: (The following code should have aria-checked missing error..etc) <input id="form1:table1:4:table2:0:radio2" type="checkbox" name="form1:table1:4:table2:0:radio2"…
-
Strange Warning COPY_UNINIT_PTR
Using strerror(errno) in printf gives Warning Hi, we get a COPY_UNINIT_PTR warning for this piece of code: dprintf( ERRORS, "IDM -- Cannot create message queue [%s]. File %s. Key=%d\n", strerror(errno), datafile, msgkey ); The warning says: Copying uninitialized pointer: strerror(*__errno_location()) Stack trace where the…
-
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…
-
Find dynamically generated value in page
Hello, I am newbie in webking, looking help from you in one of case .. below is detail In my application, we have one data-entry page where user need to put the data, once he submit the date, application create on unique ID and display that id in form. I want to store that ID and in search form would like to use that Id,…
-
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…
-
Getting PARSE_ERRORS in BOOST headers
If you are using Insure++ with a Microsoft C++ compiler and getting parse errors in BOOST header files that look like this: BOOST_PP_REPEAT_FROM_TO(1, BOOST_PP_INC(BOOST_BASE_FROM_MEMBER_MAX_ARITY), BOOST_PRIVATE_CTR_DEF, _ ) or anything containing BOOST_FUNCTION_COMMA with or without BOOST_FUNCTION_PARMS Then you are…
-
BTS Importing from Test Director
Hi We have 9509 from the life of our project since 2005. Of this number there are approximately 800 not closed. Basedon the logs, the process read all bugs from Test Director however only translated a handful, around 30+. Is there an internal filter (built into the BTS process) which selects specific bugs to import?
-
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…