-
How do I get rid of the error
Error occured during initial. of VMThis VM failure sometimes happens on machines with large amounts of memory, usually over 3 gigs. To fix this, we will need to pass an argument to SOAPtest to change the amount of memory allocated to the JVM in which SOAPtest runs. You will need to find out how much memory is available on…
-
How do I automatically decode Base 64 encoded
attachments in SOAPtest?To automatically decode Base 64 encoded MIME attachments received by the SOAP Client tool, you will need to use the Attachment Handler Tool. To chain an Attachment Handler Tool to one of your SOAP Client tests and use the automatic Base 64 decoding support you can perform the following steps: 1.…
-
How do I download and use the Unlimited Strength JCE
Java Cryptography ExtensionSOAtest uses a new key store provider, which supports more key stores. However, in many cases it requires the JCE unlimited strength Jurisdiction Policy Files to be installed. We cannot bundle it with SOAtest because US export laws restrict exporting cryptography technology to certain countries…
-
Extracting a particular row from DataSource
Hi, Is there a way i can specify/extract a particular ROW/s from Excel sheet or Table that was specified as a data source (Not all the rows in a specific column as it consideres by default) and assign it to a particular Test? This will help me in maintaining most of my seed data for different tests in a particular data…
-
Multiple DataSources
Is it possible to use multiple datasources in a SOAP Client test? I want to use a Database Data Source for one value in a test and a Generated Data Source for a second value in the test. However, the dropdown in the upper right for Data Source only allows one. Is there anyway around this restriction? Perry Hoekstra
-
Using regular expressions in jython methods
I would like to use python/jython regular expressions in a method. However, when I try to import re I get an errror ImportError: no module named re Here's a toy example: [CODE] import re def parseXMLElement(input): pre = re.search("<*?>", input) print pre Am I mistaken about the module to import? All the online examples of…
-
rounding in Python
rounding a returned value in PythonHi SoapTest, I have the nice little script written that will return a value that I will be using to compare to one of my results. I am having a problem, however, with length of the value. I need it to be only two digits after the decimal point. I can't seem to find a way to truncate in…
-
Path persistence for Import Test By Reference
I've been using import tests by reference. None of the tests I import are in the same directory as the test I am working on (or a subdirectory). I would prefer not to have to make hard links (or soft links) to these tests but here's what happens: 1. Take an existing test (#1) 2. Remove some set of tests and recreate them…
-
Python api documentation
Is there any documentation for the python libraries soaptest.api and com.parasoft.api?
-
Converting time stamp recived to different format
converting time stampsHi Parasoft, I have a method that when called returns date/time stamps as follows: 2004-06-26T12:21:11.0000000-04:00 I would like to use that date/time in an XML Databank but the format is not allowed by my system. Do you guys have a way that I can convert it to the following format:…
-
How do I add additional CLASSPATH's to SOAtest?
If you would like to use custom Java classes with SOAtest the following method. 1) Click the Customize Preferences button in the SOAtest toolbar (Alt+F2). Click the "System Properties" tab and add any required class folders or Jar files.
-
SSL Handshake
I had a new issue with the Soap test now. I am trying to execute the soap seervice which is internally protected by a SSL Certificate. That SSL certificate is not public, When I try to access this service through soapTest I am getting SSLHandShakeException. Please let me know are there any workaround to uncheck this…
-
How to extract data from a test and use it later
Hi there. I'm a newbie and i need some help with Soaptest: I need to perform a lot of tests, many of which need as input some data from the previous test. In my first test i send some information for authentication (user, password), and i receive many xml elements, one of which is 'sessionNumber'. Then, i need to use this…
-
XML Encryption using 3DES
can anybody tell me how to use encryption tool to send a secure soap request through the soap client I want to use 3DES to encrypt the whole message... I tried it by using the external key option but by any way it was not able to send a encrypted data.... what is the exact method....to send a encryption request thanks…
-
How do I use scripts to send random numeric values
as part of the SOAP request? Select the SOAP Client node you would like to configure. In the Parameters section of the right GUI panel, select Method from the Value drop-down menu. Click the User Method Properties button. The User Method Properties dialog box displays. Enter the following script in the Text box. # Creates…
-
How can I use a parameter from the SOAP response
as a parameter in a SOAP request? For example, Test 1 logs in to a service with a UserId and receives a sessionId. You can configure Test 2 to use the sessionId to perform transactions. To configure these tests: Clear the Deserialize Response checkbox in the SOAP Client panel of Test 1. Right-click the Test 1 node from the…
-
How do I perform basic authentication
in a SOAP Client? Select the SOAP Client node you would like to authenticate. Click the Transport Properties button in the SOAP Client panel. The Edit HTTP Properties dialog box displays. Click the Perform Authentication check box and make sure the Authentication Type is set to Basic. Enter the Username and Password and…
-
Can I still parameterize the Diff tool after I
create multiple regression controls?Yes, you can still parameterize the Diff tool. Just click on the Diff node and select Form XML from the Mode drop-down menu.
-
How do I diff an incoming SOAP response?
Ensure that the Deserialize Response check box is not selected in the SOAP Client. Right-click the SOAP Client node and select Add Output> Response> SOAP Envelope> New Output> Diff from the shortcut menu. An XML Response> Diff node displays in the test suite tree. Select the Response SOAP Envelope> Diff node in the test…
-
What if I have more than one Excel File?
I would like to use in a SOAP Client? Add the extra Excel files into SOAPtest as data sources. Add an Aggregate data source by completing the following: * Right-click the root Project tree node. * Choose Add New Data Source from the shortcut menu. * (Optional) Change the data source label in the Name field of the Data…
-
How do I use a data source in a SOAP Client?
Select the desired SOAP Client node from the test suite tree. Choose the appropriate data source from the Data Source drop-down menu in the right GUI panel. Note: The Data Source combo box will not display unless a data source was previously added to the test suite. If there is only one data source available, the SOAP…
-
How do I use an Excel Spreadsheet as a data source
Right-click the root Project tree node. Choose Add Data Source from the shortcut menu. (Optional) Change the data source label in the Name field of the Data Source panel. Choose Excel Spreadsheet from the Type box. (Optional) Use the Rows controls to indicate the range of rows you want to use and whether the rows can be…