Name Last Update
org Loading commit data...
src Loading commit data...
LICENSE Loading commit data... Loading commit data...
pom.xml Loading commit data...


  • Copyright (C) 2005-2016 Alfresco Software Limited. *
  • This file is part of Alfresco *
  • Alfresco is free software: you can redistribute it and/or modify
  • it under the terms of the GNU Lesser General Public License as published by
  • the Free Software Foundation, either version 3 of the License, or
  • (at your option) any later version. *
  • Alfresco is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • GNU Lesser General Public License for more details. *
  • You should have received a copy of the GNU Lesser General Public License
  • along with Alfresco. If not, see */

    <!-- MarkdownTOC -->

  • ReadMe

  • Prerequisits


The project is designed to work on one or more instances of Alfresco (Enterprise / Cloud / Hybrid). More than one instances can be tested in parallel / at a time.


A running instance of Alfresco repo is required. Edit the following files in the resources for each Alfresco Instance / node you wish to test.

1> .properties file with properties for Alfresco Instance such as:

Alfresco properties = api.port = 443 api.version = MyAlfresco

Layer7 Enabled on Cloud Environment?

hybrid.layer7Enabled = false hybrid.apiKey = hybrid.apiSecretKey =

Comma separated List of users with a special password (different than username)

users = user1@freenet.test,admin passwords = abcdef

2> test-context.xml to read these properties.

A ApiClient object then can be instantiated by providing the right context filename. This will then need to be used to get access to all Cmis and PublicApi utilities.

Maven dependencies

Use the following maven dependencies org.alfresco.test alfresco-api-test-utils ${alfresco.api.utils.version}

To use these utilities: Following Spring beans that can be added to your spring context files:

<bean id="httpClientProvider"
    <constructor-arg name="alfrescoUrl" value="${}" />
    <constructor-arg name="maxNumberOfConnections" value="2" />
<bean id="api" class="org.alfresco.test.utils.api.AlfrescoApiProperties">
    <constructor-arg name="apiUrl" value="${api.url}" />
    <constructor-arg name="apiPort" value="${api.port}" />
    <constructor-arg name="apiVersion" value="${api.version}" />