-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da502d0
commit 42ec00a
Showing
2 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
*** Settings *** | ||
Documentation Check Veeam Backup Enterprise Manager using Rest API,Check jobs. | ||
Resource ${CURDIR}${/}..${/}..${/}..${/}..${/}..${/}resources/import.resource | ||
|
||
Suite Setup Start Mockoon ${MOCKOON_JSON} | ||
Suite Teardown Stop Mockoon | ||
Test Timeout 120s | ||
|
||
|
||
*** Variables *** | ||
${MOCKOON_JSON} ${CURDIR}${/}restapi.json | ||
|
||
${cmd} ${CENTREON_PLUGINS} | ||
... --plugin=apps::backup::veeam::vbem::restapi::plugin | ||
... --mode=list-jobs | ||
... --hostname=${HOSTNAME} | ||
... --api-username='username' | ||
... --api-password='password' | ||
... --proto='http' | ||
... --port=${APIPORT} | ||
|
||
*** Test Cases *** | ||
list-jobs ${tc} | ||
[Tags] apps backup veeam vbem restapi list-jobs | ||
${command} Catenate | ||
... ${cmd} | ||
... ${extraoptions} | ||
|
||
Ctn Verify Command Output ${command} ${expected_result} | ||
|
||
Examples: tc extraoptions expected_result -- | ||
... 1 --timeframe='' List jobs: [uid: urn:veeam:Job][jobName: Backup client 2 - Tous les jours][jobType: Backup] [uid: urn:veeam:Job:xxxxxxxx-yyyy-zzzz-1111-aaaaaaaaaaaa][jobName: PROD Job 1][jobType: Backup] |