-
Jtest bitness error during VM Initialization
Description: When the user tries to load Jtest they get an error message about initializing the VM. This error points to eclipse files, dll's of one bitness, and an OS of another bitness. This reveals that the problem is a bitness conflict between the various resources. The solution is to make sure that all applications…
-
Importing/ exporting Data in TDM using a script
TDM allows us to manage and manipulate data in CTP. There are many cases where we would want to store snapshots of our data in source control. The following scripts utilize the TDM apis to accomplish this.
-
How to create an Insure++ log file
This post will provide instructions for creating an Insure++ log file when debugging issues with Insure++. When you run into an issue with Insure++, whether it is displaying an Insure++ Violation or if the instrumentation failed for some reason, it is beneficial to create an Insure++ log file from the run to determine the…
-
Updating CTP with a Windows Batch script
This is a simple script that will allow us to update the Continuous Testing Platform when a new WAR is released SET CTP_LOCATION=C:\parasoft\CTPSET UPDATE_FOLDER=c:\parasoft\update\CTPbackupsSET NEW_CTP_WAR=C:\Downloads\em.warREM Adjust path to 7Zip program as needed belowset THE_ZIP="c:\program files\7-zip\7z.exe"echo…
-
Forum Etiquette
These recommendations for conduct are provided to complement the Terms of Use for the Parasoft Community Forum. Violating these guidelines should not get your message cancelled, but may decrease the likelihood that you will receive a reply from other members of the community. Stay on topic. When you post a reply to a…
-
Forum Terms of Use
The following are terms of a legal agreement between you and PARASOFT. By accessing, browsing and/or using this web site, you acknowledge that you have read, understood, and agree to be bound by these terms and to comply with all applicable laws and regulations, including export and re-export control laws and regulations.…
-
Setup Calculator demo (Jtest 10.2.2) with Weblogic (10.3.6)
Pre-reqs: Maven, Java JDK 7, Weblogic 10.3.6, Jtest Engine 10.2.2 * Make sure you configure Maven to be able to use Jtest. See Jtest plugins manual for details. This can be found under: ”\manuals\plugins-manual.html”. * Set up a domain in Weblogic with an Admin server. * Copy the ”\examples\calculator\” folder to a new…
-
How do I change the maximum heap size of the JVM?
In some cases, the default amount of memory allocated to the JVM in which SOAtest runs may need to be increased when dealing with large test suites or complex scenarios. SOAtest 9.x and 6.x: 32-bit versions use 896MB by default. 64-bit versions use 1792MB by default - 896MB if using SOAtest <9.4 To increase the maximum…
-
Parasoft Community Forum Terms of
The following are terms of a legal agreement between you and PARASOFT. By accessing, browsing and/or using this web site, you acknowledge that you have read, understood, and agree to be bound by these terms and to comply with all applicable laws and regulations, including export and re-export control laws and regulations.…
-
Script instead of Diff to test return code
if i have a response that has CODE <responseCode>1436</responseCode> how can i do a diff that says the test PASSES as long as i don't get a responseCode of 1436? also, what if i want to do: the test PASSES as long as the responseCode is less than zero?
-
WSDL diff or WSDL Regression versus Diff with XML or Text mode
---------- Test 4: WSDL Regression ---------- Test 4: WSDL Regression: 1 test to process... Did not run XML Diff, there are too many differences. Performing text mode diffing instead. Test failed My question is how many difference are too many? Does the diff tool have a different look for the case when there aren't too…
-
Global Search and Replace
It would be nice to have a global search and replace in All fields of the test suite in one step, instead of repeating that for each field category. You can add a sub menu as: Search and Replace -> Fields Within -> All Occurence Thanks.
-
Using RMI in SOAtest
How to use a RMI URL in SOATestI am wanting to use a the RMI URL(t3//, rmi//) to call a remote method that will start our workflow. I can create a test using method(a test option), and put in the class that will make the remote method call, but I cannot figure out a way to get SOATest to recognize:…
-
Scripting - Dynamic Input for Concurrent Testing
Dynamic Input for Concurrent TestingHello, I have such an issue, i should create a test suite with 100 tests which should run concurrently. In fact all 100 tests are the same , but i want to set an input parameter in the test between data range 2X0X and 3X0X ( X is the any number). So what i want is that : for all the…
-
Documentation on cli -testName option?
Trying to use -testName match:(SOAtest V6.1) I'd like to find out what types of patterns I can use with the -testName match: CLI option. I know that I can do a -testName match: foo and that this will run all tests with foo in their titles. What are the details of valid patterns? I can't seem to run foo*bar for example. We…
-
XPath syntax - ways to get/test XPath
Hello. I have setup some stubs and am mocking up some responses by using the XPath Function matching. However, I can not seem to find much documentation or examples on syntax for this. I can get a basic text="sometext" function to work properly but, I would like to find out how to properly syntax looking for blank text,…
-
Jenkins/Hudson support for SOAtest
Hi, We are trying to get over Development group interested in using SOA test. One question that they would like to know - We are looking at using the same tool that QA uses (SOATest) for our automated services tests. Can Hudson run SOATest scripts the same way we're running Soap UI tests today? They wanted to also know if…
-
Exporting DB Tool Table Traffic Results
Hi, Is there a way to export the traffic results from the Table view when running the DB Tool? This is exactly what I want to export into .csv but when I use the Write File, I get the Literal View and not the table view. I also looked at http://forums.parasoft.com/index.php?showt...hl=writetoexcel but I only got 1 row…
-
How do I create Mock Services
Hi I have a wsdl file. It has no ednpoints defined. But i want to invoke the service by creating mock response for the wsdl file. How do i achive the same in parasoft soa test.? Thanks Aadith
-
Javaw.exe does not release from memory
After closing SOAtest, "javaw.exe" still exist in the processlist of Windows consuming 200 upto 500 MB memory. Restarting SOAtest will start another "javaw.exe" process. The scripts running with this new started SOAtest, have an unpredictable results. After killing all "javaw.exe" processes and restarting SOAtest, SOAtest…
-
Can one test script use two separate data sources?
Hi, Is is possible to use 2 data sources in 1 test script? Issue: I am comparing an excel workbook with 7 worksheets using the DBTool. Each worksheet represents a test case. The issue is the SQL that is being used to generate the excel workbook is using &Date and &SSN which are referenced on the first worksheet of the…
-
Unable to uninstall Parasoft Test 9.5 after uninstalling C++Test 9.5
uninstall issueI've had Parasoft test 9.5, C++Test 9.5 and dotTest C++ 9.5 installed and using them from VS 2013. We are upgrading to version 9.6 so I uninstalled dotTest, then C++Test. But when I try to uninstall Parasoft Test I get an error message "Cannot unregister Parasoft Test from Visual Studio 2013 because other…
-
Generating PDFs and Email for Reports in SOAtest
Reporting in SOATestHi All, I have following queries on soatest reporting. Really appreciate any response in this regard. Q1 : Is it possible to get pdf report (not html) in CLI mode (using soatestclie.exe), if yes how. Q2 : In order to get test results for a run on email (as email attachment), is it must to have concerto…
-
Using Jenkins to execute Command line interface from another machine
I know it's a long shot, having seen the results in Google, but does anyone have a simple solution for this? We have a Jenkins install and a Parasoft SOAtest (with CLI) install, on seperate machines. How can we let Jenkins execute the command line commands on the other machine? All Parasoft manuals are assuming the SOAtest…
-
Missing Insure++ symbols during linking?
Some versions of GCC and some distributions of linux, (Ubuntu has been observed but there may be others), have added a new linking heuristic, which causes insure++ linking to fail. The symptom will be something like this: insure gcc -g -o freenull freenull.c ** Insure messages will be written to insra **…
-
Installing 32-bit Insure++ on 64-bit Linux
The easiest, cleanest and best way to do this is: 1/ Download the Insure++ distribution package 2/ Change directories to where you want the installation to live 3/ Move the Insure++ distribution package there 4/ enter the command: "setarch i686" -- this will start a new shell, which will convince the installer that this is…
-
Windows Vista support
Does anyone have any experience trying to run Insure++ under Vista with VS2005 SP1? We are preparing for a major release for Vista and would like to know if Insure++ is non-function, semi-functional, or mostly-functional under Vista. Thank you!
-
make -j for simultaneous builds
Just checking if there is any reason the "make jobs" for simultaneous builds would not work when compiling under linux (2.6.9). It appears to build and run fine but I wanted to verify that we are not missing something. This greatly increases our rebuild times, increasing the usefulness of insure++. Thank You
-
Window 7 support
Just checking if there is any indication as to when Windows 7 will be officially supported? (following the official release of windows 7 I suppose!) Also checking if anyone has any experience running the latest version under Windows 7? Thank You
-
Windows 8 support
Is anyone running insure++ under windows 8, or know when this might be (un)officially supported? thank you
-
Using Insure++ as a non-Administrator on Windows
Using Insure++ as a non-AdministratorAs a member of the Administrators group, do the following: * Install Insure++ * Run Insure++ on one of the examples in C:\Program Files\Parasoft\Insure++\examples (e.g. editor_demo). This "warms up" a few files and directories. * Optionally enable user-specific options in the General…
-
Parasoft Virtualize
Can you start posting the Q & A sessions for Virtualize product of parasoft.
-
Passing arguments to a Python script
I have a Python script which is run as an output to an External Tool (note that this External Tool is run multiple times within a test scenario so this same type of script also appears multiple times). The only lines of code that change are for the Environment variable, assignmentSQL, and the file to read, ASSIGNMENT.txt;…
-
Load Test Integration with HP Quality Center?
Running Load Tests from Quality CenterWe currently run SOATest scripts from HP ALM Quality Center and it works great. Does anyone know of it is possible to run Load Test scripts from Quality Center as well? We would love to schedule them from QC to run overnight and have the results available in the morning. Thanks, Andy
-
Automating test execution / report generation
I am looking the following solution using SOAtest 1.. Automating test execution / report generation A> I am using nightly batch process which executes all my test cases and will generate report. B> I am looking for an option to generate an email which includes the test results files (html)- can you please let me know is…
-
Detailed Report Generation
Detailed Report Generation in PASS/FAIL conditionHi, SOAtest is generating very simple report when the test cases passed like below Name Failed Tests Successful Tests Total Tests Success % Example.tst 0 2249 2249 100% But when test cases fail it generates detailed report of what test cased executed and where it failed so…
-
How to perform assertion on XML response having CDATA
Performing asserions on CDATA Block.Hello, I have an XML response as below: <soap-env:Body> <SabreCommandLLSRS AltLangID="en-us" EchoToken="String" PrimaryLangID="en-us" SequenceNmbr="1" Target="Production" TimeStamp="2012-04-03T04:07:08" Version="2003A.TsabreXML1.6.1" xmlns="http://webservices.sabre.com/sabreXML/2003/07">…
-
Unable to add a assertion by custom scripting
I am trying to check if a number if positive or not by using XML asserter. After I have written the code I should get the function name in the Method drop down. But I am not able to see that. The drop down is empty. I have attached a screen shot for the same. Can someone please help me in resolving this? Regards Archana
-
Has Content Assertion
Has Content AssertionI have a question on one of the assertor set ups. I have an operation that uses 20 inputs and I am checking for empty response with a 'has content' assertor. The very purpose of using assertion is to avoid the manual verification of traffic to see if the responses are coming or not, without any errors.…
-
Verify multiple siblings in a list
Verifying a list entry is presentI have looked at XML Assertors and XML Transformers in order to verify that an element appears in a list containing a particular description AND a particular id and a particular event. Value Occurrence XML Assertors let you validate a particular value is present one or more times, or not…
-
Minimum node occurance in the response
Is there any way to assert minimum occurrence count of a node in the response? I only want to check if certain element is present at least once in a sequence. Also, is there any way to change the order of the outputs in a given test? Thanks
-
Extracting Optional elements from response
Hi, I am testing a service which returns some optional elements in response traffic. I want to extract them in a method and kick off other tests based on the extracted values. Any suggestions on how can I achieve that?
-
Concatenating Xpath values
Hey guys is there a way to take the xpath values given from a xml-databank (say Test 1:z0 & Test 1: z1) and concatenate or join them together for later use. Or possibly as a script? I looked through the scriptingAPI for a join or concat function, but I didn't look too hard . Thanks in advance, LeapTester
-
How to Transform Expected Value to Regular Expression
Hello! I'm using a test that after execution, provides an element with the following value (used for a posterior test assertion): "VALUE1 VALUE2 VALUE3" Then, I'm asserting a set of fields that contains: "VALUE1", "VALUE2", "VALUE3" , respectively. I would like to transform the first value (stored as a DataTable Parameter)…
-
XPath and Regular Expressions
XPATHHello board members, I need your help once more. I have an XML tag in my result structures that represents the "Date". The value of this tag changes every time a new request comes to my server process. I added the Xpath to my global properties. In particular my Xpath contains /Envelope/Body/SomeWhere/In/Time/Date/,…
-
(Jython) How to read the contents of a file into a String
using JythonTo read the contents of a file into a String using a Jython script you can use the following method: CODEfrom java.lang import * from java.io import * from soaptest.api import * def getContents(input, context): contents = StringBuffer() reader = BufferedReader(FileReader(File("c:\Documents and…
-
New Test Suite Is Greyed Out
i tried to create a new project and a new .tst file. No problem with that but the Test Suite is greyed out. Why is that ? Project-1 \ \____ Tst-1.tst \ \______ Test Suite <=========== This is greyed out !!! \ \____ Environments
-
XML Assertor - String Comparison
Hi, I want to test saving data and then verify that the saved data is returned in the xml reponse from a REST service call. The response xml looks something like this (except there is much more data than presented here): <?xml version="1.0" encoding="UTF-8"?> <response> <DataDictionary> <complexType state="3" uid="341"…
-
File scope test with symbols in 2 .cpp files
I have the following: IWidget.h: class IWidget { virtual ~IWidget(); }; IWidget.cpp: #include "IWidget.h" IWidget::~IWidget {} Widget.h: #include "IWidget.h" class Widget : public IWidget { virtual ~Widget(); }; Widget.cpp: #include "Widget.h" Widget::~Widget() {} When I try to write a test for the Widget class, I get…
-
Visual Studio 2010 Support
anticipated official supportIs there currently a timeline for official support of visual studio 2010 sp1? Thank you