replication_operations_basic.xml revision 3437829f938dbb44527d91fbbc5f430a1243c5a5
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant<?xml version="1.0" encoding="UTF-8" standalone="no"?>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! CDDL HEADER START
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! The contents of this file are subject to the terms of the
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! Common Development and Distribution License, Version 1.0 only
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! (the "License"). You may not use this file except in compliance
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! with the License.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! See the License for the specific language governing permissions
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! and limitations under the License.
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! When distributing Covered Code, include this CDDL HEADER in each
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! file and include the License file at legal-notices/CDDLv1_0.txt.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! If applicable, add the following below this CDDL HEADER, with the
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! fields enclosed by brackets "[]" replaced with your own identifying
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! information:
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! Portions Copyright [yyyy] [name of copyright owner]
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! CDDL HEADER END
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! Copyright 2013 ForgeRock AS.
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <defaultcall function="main_replication_operations_basic"/>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <function name="main_replication_operations_basic" scope="local">
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant CurrentTestPath['group']='replication_operations'
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant CurrentTestPath['suite']='basic'
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant __group=CurrentTestPath['group']
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!--- Test Suite information
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant #@TestSuiteName Basic replication operations suite
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant #@TestSuitePurpose Verify basic replication operations
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant #@TestSuiteID Suite
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant #@TestSuiteGroup Basic
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant #@TestGroup Basic
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant file="'%/functional-tests/testcases/replication/replication_setup.xml' % (TESTS_DIR)"/>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!-- List of Import of Test Functions -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant importList=[]
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant importList.append('basic/replication_operations_basic_tests')
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!-- Import the files for this test suite -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant file="'%s/%s.xml' % (__groupdir,__import)"/>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!-- Specific to basic operations tests -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant timerDuration = '2h'
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant numberOfEntries = 100000
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant addTemplate = '%s/replication_operations/add_template.ldif' % remote.data
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ldifFile = '%s/import_Entries_100k.ldif' % remote.temp
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!-- List of Test Cases -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant testsList=[]
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant testsList.append('basic_replication_operations_000')
d041b296b7aeca3bba103e2f6942c47f39378a0ccsovant testsList.append('basic_replication_operations_001')
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant testsList.append('basic_replication_operations_002')
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant testsList.append('basic_replication_operations_003')
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!-- Execute the Tests -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <catch exception="'STAFException.TestSuite.SetupException'">
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant 'Setup of test suite failed.'
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <!-- Test Suite Cleanup -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant file="'%/functional-tests/testcases/replication/replication_cleanup.xml' % (TESTS_DIR)"/>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant <message log="1" level="'fatal'">'Cleanup of test suite failed.'</message>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </sequence>
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant </function>