-
Java.lang.OutOfMemory Error
I am getting "Java.lang.OutOfMemory Error" when I am trying to open the .tst file in SOATest 6.2 . My workspace has around 100 projects and inside each project there are 3-4 .tst files . so I feel it might be because of overload in the same workspace .. Please clarify and please suggest the best way to get it done Thanks .
-
Selecting the correct LoadTest executable
I want to do load test for my web service. I could see 3 options available, 1. Load Test 2. Load Test Server 3. Load Test Service I came to know that first option, Load Test , is uesd to create load tests and run teh same. But what are the other options do? When we need to do them? Can someone please explain this? Thanks…
-
Global Data Sources
Hi, I have a test cases structure where all my test cases share at least the 90% of the data sources, like Credentials, dates, and other data. Example - Test Suite -- Scenario A {set of Data sources} --- Test Case 1 --- Test Case 2 --- Test Case 3 -- Scenario B {set of Data sources} --- Test Case 1 --- Test Case 2 --- Test…
-
Easy way to change or set Environment in SOAtest 5.3.3
Hi I use a "standard" environment for all our web services. I reference this environment (.envs) in each service (.tst) and store the single file in source control. The envs file has multiple Environment elements in it for the various development(Dev), test(CERT1,CERT2,STAGE) and production(PROD) systems. I switch between…
-
Using LD_PRELOAD for a Java executable with Insure++
Hi, I am running insure++ for a java application. Because of the java executable that ignites my application isn't instrumented, i have to add to LD_PRELOAD insure specific libraries in order not to take runtime errors. My LD_PRELOAD looks like this:…
-
Info need about Stdout and Stdout
Hi , How can I use the stdout and stderr ? , I did not find any information regarding this in the user guide , pl let me know !. Thanks ..
-
How do I playback a right-click user action in SOAtest?
Hello Everyone, The purpose of this topic is to explain how playback support for a right-click user action can be integrated into web functional scenarios SOAtest. Here are the steps to follow... 1) With SOAtest closed, navigate to the following directories...…
-
gsoap header generation => wsdl mismatch
Hello, Below are 2 links to other people's issues. What they are experiencing is similar to what is going on for me. Especially the one with: error with several namespaces in the same apache server Re: error with several namespaces in the same apache server http://markmail.org/message/m64hid2mhi6c3h...v+state:results Re:…
-
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…
-
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…
-
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…
-
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:…
-
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…
-
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…
-
Test Configuration - Scope Filters for static code analysis
How to filter specific packagesHi Is there a way to filter by package names (full or partial) so that the static analysis may focus on that set of classes?
-
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…
-
BTS
Importing defeatsHi Are there more Test Director columns that can be specified for the defect element other than what was documented in the concerto admin guide? There are many other columns available howevr it appears that BTS settings file has specific element names and wondering if there are more. Is there a schema for…
-
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…
-
Stop LoadTest when reaching max hit count
Hi, I need to run a load test that will run until the hit count reaches 50,000. I need to analyze how long it took to reach that count and the average response time during the duration. I tried looking everywhere in SOAtest, any clues? Also, is there a way to view transaction/hit count real time during testing? Maybe some…
-
Links to test file locations
Following the paragraph "Executing Existing CppUnit Test Cases" from the C++_userguide I added test files into tests subdirectory of my project. The "Test suite file search patterns" is set to "${project_loc}/tests/*". The problem is that files in the tests directory which are linked to somewhere else are not executed.…
-
Running test executable on target device
Hello All, I have created a simple c application and test cases for that. Now i want to build test executable for that and run it on another machine through TCP/IP communication. Can anyone help me out with that as I am not able to generate test executable. Thanks
-
Information on project_loc variable
I am running VS 2008 with the integrated C++Test. Sometime when I run C++Test everything is fine, but other times, I have to remove the ${project_loc} and replace it with a hardcoded path. How and where is project_loc defined within C++Test? Not sure why it is getting overwritten or why C++Test can not recognize the…
-
Code Coverage other than Line Coverage
Is there an option in the parameter file that will allow for the running the code coverage to be something other than "Line Coverage", for example "Modified Condition/Decision Coverage"? If so what is the option? When running the unit tests can you have one pass of the unit tests report on all the types of coverage or do…
-
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…