ATS : Release Notes 4.0.4

1 March 2018

New Features

  Amazon S3 Some extensions and optimizations

  • Add region support for all operations
  • Delete all objects with keys having some specified prefix
    See the deleteAll( String prefixName ) method in S3Operaions class
  • Optimize operations which list or delete multiple objects at once

Here is the S3 operations dedicated page


  File Transfer Client Support for multifactor authentication over HTTPS, FTPS and SFTP

Use the setKeystore , setTruststore and setTrustedServerSSLCertificate methods found in FileTransferClient class which itself is presented here


File System Operations Support replacing more than one text in file at once

In case you need to make many changes to some configuration file(or similar), you needed to make a call for each change. That is possible by using:

replaceTextInFile( String filePath, String searchText, String newText, boolean isRegex )

Now there is another variation:

replaceTextInFile( String filePath, Map<String, String> searchTokens, boolean isRegex )

which allows to provide a map containing all the tokens to be replaced and the new values to use.


Framework Allow hostname, domain or subdomain to accept digit as first character

Many times it is needed to specify some remote target and we often do verification on the passed values. Now you can use a digit as a first character.


REST Client Support serializing received body as object by using a generic type parameter

Each REST call returns a REST response which provides several methods for use of the body. Now a new method was added to the list:

public <T> T getBodyAsObject( GenericType<T> theType )


REST Client Allow null body for putObject and putForm methods


Logging system Allow specifying the testcase to attach a file to

You can attach some file to the currently running test. In case you need to do so after a test is over, now we provide an additional parameter which specifies the testcase we are attaching to.

See the "Attaching a file to a specific testcase" section here

Bug Fixes

  File Transfer Client Failure when uploading/downloading file with non UTF-8 compliant name


  File System Operations Failure when copying directories with wrong trailing

Changes in third party dependencies

none



Go to parent page

Go to Table of Contents