Known issues- Custom API testing activities
Relevant for: API testing only
This topic describes known issues when working with custom API testing activities.
General
This section describes general issues to be aware of when running API tests.
Running custom activities from earlier versions
OpenText Functional Testing use a version of log4net.dll that is newer than the one used before.
If the custom activities were created by earlier Activity Wizard versions, you must recompile those activities before you can use them in your API tests.
Recompile the activities with the log4net.dll from the <Installdir>/bin folder. You can use Activity Wizard installed with the current OpenText Functional Testing version to recompile them.
Web services
Naming conventions |
You cannot import WSDL files with names that are restricted by the Windows operating system. This list includes: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Workaround: Rename the WSDL file before the import. |
Unsupported WSDLs |
The following WSDLs are not supported:
|
Multiple tests using the same Web services |
When opening many tests in the same solution using one or more of the same Web services, OpenText Functional Testing may develop a memory leak. Workaround: Move the Web service to the file system or ALM repository:
|
Web services imported as a server response |
For a Web service imported as a server response:
|
Web service security
Web services imported from UDDI | Authentication and proxy security are not supported for web services imported from a UDDI. |
WCF-type Web services |
OpenText Functional Testing has the following known issues when working with WCF type Web services:
|
Message level security |
When testing Web Services that require message-level security, the Web Service security scenario only supports SOAP version 1.1. For SOAP 1.2 use a WCF type scenario. |
SAML security tokens |
OpenText Functional Testing has the following known issues when working with SAML security tokens:
|
SOAP 1.2 |
OpenText Functional Testing has the following known issues when working with SOAP 1.2:
|
Updating Web Services
When comparing a REST step to its prototype - a difference in the request/response body contents is not considered a conflict.
Therefore, when resolving a REST step whose contents do not match the body contents of the prototype, the body contents will not be affected.
Asynchronous Web service testing
For a Web service imported as a server response:
-
When enabling the SSL option, OpenText Functional Testing temporarily binds the SSL certificate to the specified port on a system, http.sys, level. If you end the OpenText Functional Testing.exe process from the Task Manager during the listening stage after the binding was added, the binding will not be automatically removed from the system.
Workaround: Remove the binding manually using a utility such as httpcfg.exe or netsh.exe.
-
When working with SSL, certificates from a file are not supported. If you move the test to another machine, the certificate will not be available.
Workaround: Add the certificate to the local machine store before running the test. If desired, remove it after you finish working with the test.
REST services
Importing schemas |
Importing a schema to a REST, HTTP, or SOAP checkpoint may remove the links of the input properties. |
Linking between properties |
If you link between input and output properties in the same REST method and then delete the input property without removing the link, the link expression still remains in the output property. If you save the test in this state, you may be unable to reopen it. Workaround: Delete the link explicitly either before or immediately after deleting its source property. |
REST method prototypes |
When defining a REST method prototype in the Add/Edit REST Service dialog box - in order to use the Trim, Ignore, or Stop test options, select the checkbox in the Validate column, in the Checkpoints pane. |
Checkpoints |
OpenText Functional Testing has the following known issues when working with checkpoints and REST services:
|
Data types in JSON content |
When building JSON content and loading it in the XML Grid Model for OData and Swagger, all data types other than String are included as values in the JSON content. |
Upgrades from earlier versions of OpenText Functional Testing |
If you have upgraded to OpenText Functional Testing 14.03 or higher, and are working with a test created in an earlier version of OpenText Functional Testing, you may see the Update Swagger Service options in the context menu for a local REST activity, even if you are not working with a Swagger service. In such cases, you can ignore this option. |
Resolving conflicts |
If the URL or source file for your REST service has had changes in operation names or relative URLs, you cannot resolve these conflicts using the Resolve Conflicts wizard. Instead, import the source from scratch and update the step manually. |
Web Application Services
The following elements are not supported when importing your WADL. OpenText Functional Testing does not import these elements into the WADL hierarchy inside your test:
-
Grammars element
-
Resource_type element
-
Link element
Any child elements of these elements are also ignored by OpenText Functional Testing and not added to your WADL inside the test.
In addition, if you use the href attribute to link to other elements, you must refer to an element in the same WADL file. Linking between WADL files is not supported.
Network Capture Activities
Steps added to your test from a network capture file do not include:
-
Security settings for Web service calls and SOAP requests
-
Web authentication information for any type of step
-
Cookies data for HTTP request
-
Attachments sent as part of the Web Service call
.NET Assembly Activities
Importing or adding references to 64-bit .NET assemblies is not supported.
Custom activities created with API Testing Extensibility
OpenText Functional Testing has the following known issues when working with custom activities and API Testing Extensibility.
Visual Studio version |
You must have Visual Studio 2012 installed on the same machine as OpenText Functional Testing to create custom activities using the Activity Wizard. |
Signature file location |
The following error may occur if you place the signature file beneath a sub-folder of the addin folder. ServiceTest was unable to drag and drop the activity: Type 'http://hp.vtd.schemas/types/v1.0:GeneralPropertiesType' is not declared. Workaround: Modify the relative path of the Types schema. For example: .schemaLocation="../../dat/schemas/Types.xsd". |
Signature file modifications |
If you modify the activity structure in the signature file, you will be unable to open tests using that activity. To modify an activity structure:
|
Upgrades from earlier versions of OpenText Functional Testing |
Custom Java activities created in versions of OpenText Functional Testing prior to 12.00 will fail when you run your test. Workaround:
|