6858c16497a49284f9fcba5fa12093b121306ca6gary.williams<?xml version="1.0" encoding="UTF-8" standalone="no"?>
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! CDDL HEADER START
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! The contents of this file are subject to the terms of the
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! Common Development and Distribution License, Version 1.0 only
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! (the "License"). You may not use this file except in compliance
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! with the License.
3437829f938dbb44527d91fbbc5f430a1243c5a5JnRouvignac ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! or http://forgerock.org/license/CDDLv1.0.html.
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! See the License for the specific language governing permissions
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! and limitations under the License.
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! 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:
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! Portions Copyright [yyyy] [name of copyright owner]
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams ! CDDL HEADER END
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ! Copyright 2011-2013 ForgeRock AS.
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <defaultcall function="main_operations_basic"/>
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <function name="main_operations_basic" scope="local">
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams CurrentTestPath['group']='operations'
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams CurrentTestPath['suite']='basic'
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams __group=CurrentTestPath['group']
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams __groupdir='%s/testcases/%s' % (TESTS_DIR,__group)
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!--- Test Suite information
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams #@TestSuiteName Basic operations suite
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams #@TestSuitePurpose Verify basic operations
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams #@TestSuiteID Suite
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams #@TestSuiteGroup Basic
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams #@TestGroup Basic
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams 'quickStart' : False ,
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant 'startServer' : False
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!-- List of Import of Test Functions -->
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams importList=[]
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams importList.append('basic/operations_basic_tests')
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!-- Import the files for this test suite -->
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams file="'%s/%s.xml' % (__groupdir,__import)"/>
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!-- Specific to basic operations tests -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant timerDuration = '2h'
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant numberOfEntries = 100000
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant addTemplate = '%s/operations/add_template.ldif' % remote.data
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant ldifFile = '%s/import_Entries_100k.ldif' % remote.temp
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!-- List of Test Cases -->
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant testsList.append('basic_operations_000')
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams testsList.append('basic_operations_001')
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams testsList.append('basic_operations_002')
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams testsList.append('basic_operations_003')
eef18571250bbe04cbeb42b8ff6d47753b14af7fcsovant testsList.append('basic_operations_004')
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!-- Execute the Tests -->
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <catch exception="'STAFException.TestSuite.SetupException'">
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams 'Setup of test suite failed.'
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <!-- Test Suite Cleanup -->
6858c16497a49284f9fcba5fa12093b121306ca6gary.williams <message log="1" level="'fatal'">'Cleanup of test suite failed.'</message>