Commit 3f64a93f authored by M. Rehan Abbasi's avatar M. Rehan Abbasi Committed by Giacomo Bernini
Browse files

consolidate all variables in variables.txt file

parent 487fc057
Loading
Loading
Loading
Loading
+3 −9
Original line number Original line Diff line number Diff line
@@ -2,12 +2,6 @@
Library     String
Library     String
Library     JSONSchemaLibrary    schemas/
Library     JSONSchemaLibrary    schemas/
Resource    environment/variables.txt
Resource    environment/variables.txt
Resource    environment/pmJobs.txt
Resource    environment/IndividualPmJob.txt
Resource    environment/thresholds.txt
Resource    environment/individualThresholds.txt
Resource    environment/notifications.txt
Resource    environment/reports.txt
Library     DependencyLibrary
Library     DependencyLibrary
Library     JSONLibrary
Library     JSONLibrary
Library     OperatingSystem
Library     OperatingSystem
@@ -27,7 +21,7 @@ GET Performance Monitoring Jobs with malformed authorization token
    Pass Execution If    ${AUTH_USAGE} == 0    Skipping test as NFVO is not supporting authentication
    Pass Execution If    ${AUTH_USAGE} == 0    Skipping test as NFVO is not supporting authentication
    Log    The GET method queries using invalid token
    Log    The GET method queries using invalid token
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Authorization": "${BAD_AUTHORIZATION}"}
    Set Headers    {"${AUTHORIZATION_HEADER}": "${BAD_AUTHORIZATION}"}
    Log    Execute Query and validate response
    Log    Execute Query and validate response
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs
    ${output}=    Output    response
    ${output}=    Output    response
@@ -46,7 +40,7 @@ GET Performance Monitoring Jobs with expired or revoked authorization token
    Pass Execution If    ${AUTH_USAGE} == 0    Skipping test as it is not supporting authentication
    Pass Execution If    ${AUTH_USAGE} == 0    Skipping test as it is not supporting authentication
    Log    The GET method queries  using invalid token
    Log    The GET method queries  using invalid token
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Authorization": "${NEG_AUTHORIZATION}"}
    Set Headers    {"${AUTHORIZATION_HEADER}": "${NEG_AUTHORIZATION_TOKEN}"}
    Log    Execute Query and validate response
    Log    Execute Query and validate response
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs
    ${output}=    Output    response
    ${output}=    Output    response
+0 −7
Original line number Original line Diff line number Diff line
*** Variables ***
${pmJobId}        29f4ff6a-be91-4ec8-856e-fcf1e2479e4e
${erroneousPmJobId}    erroneousPmJobId
${newPmJobId}    newPmJobId
${response}=    httpresponse
${OrigResponse}=    httpresponse
${invalid_etag}    invalid etag
 No newline at end of file
+0 −6
Original line number Original line Diff line number Diff line
*** Variables ***
${thresholdId}    1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${erroneousThresholdId}    erroneousThresholdId
${newThresholdId}    newThresholdId
${response}=    httpresponse
${origResponse}=    httpresponse
 No newline at end of file
+0 −12
Original line number Original line Diff line number Diff line
*** Variables ***
${callback_uri}    http://localhost
${callback_port}    9091
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /endpoint/check
${callback_endpoint_error}    /endpoint_404
${sleep_interval}    20s
${total_polling_time}   2 min
${polling_interval}     10 sec

${notification_request}    []
${notification_response}    []
 No newline at end of file
+0 −5
Original line number Original line Diff line number Diff line
*** Variables ***
${POS_FILTER}     objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a
${NEG_FILTER}     criteriaPmJob=erroneousAttributeName
${fields}         criteria,objectInstanceIds
${response}       httpresponse         
Loading