Commit f3191b52 authored by Eisha Ayaz's avatar Eisha Ayaz
Browse files

[test-new][SOL002][VNF-PM][v5.3.1][6.3.3.x.x Test-IDs][NFVSOL(26)000093] New...

[test-new][SOL002][VNF-PM][v5.3.1][6.3.3.x.x Test-IDs][NFVSOL(26)000093] New tests for 401/404 gaps identified by tacker
parent fc40ea08
Loading
Loading
Loading
Loading
+85 −2
Original line number Diff line number Diff line
@@ -152,6 +152,55 @@ DELETE Individual VNF Performance Job with NOT permitted authorization scope
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is   ProblemDetails

GET individual VNF Performance Job - Unauthorized
    [Documentation]    Test ID: 6.3.3.2.12
    ...    Test title: Get individual VNF Performance Job - Unauthorized
    ...    Test objective: The objective is to test the retrieval of an individual VNF performance monitoring job and perform a JSON schema and content validation of the collected job data structure without authorization.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
    ...    Reference: Clause 6.4.3.3.2 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    GET individual VNF Performance Job - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails
PATCH Individual VNF Performance Job - Unauthorized
    [Documentation]    Test ID: 6.3.3.2.13
    ...    Test title: PATCH Individual VNF Performance Job - Unauthorized
    ...    Test objective: The objective is to test that PATCH method allows to modify an exsisting individual PM job resource without authorization.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
    ...    Reference: Clause 6.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Patch request for individual VNF Performance Job - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is    ProblemDetails
PATCH Individual VNF Performance Job - Not Found
    [Documentation]    Test ID: 6.3.3.2.14
    ...    Test title: PATCH Individual VNF Performance Job - Not Found
    ...    Test objective: The objective is to test that PATCH method fails to modify a non-existent individual PM job resource.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
    ...    Reference: Clause 6.4.3.3.4 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Patch request for individual VNF Performance Job - Not Found
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is    ProblemDetails
DELETE Individual VNF Performance Job - Unauthorized
    [Documentation]    Test ID: 6.3.3.2.15
    ...    Test title: Delete Individual VNF Performance Job - Unauthorized
    ...    Test objective: The objective is to test the deletion of an individual VNF performance monitoring job without authorization.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNFM.
    ...    Reference: Clause 6.4.3.3.5 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none  
    Send Delete request for individual VNF Performance Job - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails

*** Keywords ***
GET individual VNF Performance Job
    Log    Trying to get a Pm Job present in the NFVO Catalogue
@@ -162,6 +211,13 @@ GET individual VNF Performance Job
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

GET individual VNF Performance Job - Unauthorized
    Log    Trying to get a Pm Job present in the NFVO Catalogue without authorization
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
GET individual VNF Performance Job with invalid resource identifier  
    Log    Trying to perform a negative get, using erroneous PM Job identifier
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
@@ -179,7 +235,13 @@ Send Delete request for individual VNF Performance Job
    DELETE    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
    
Send Delete request for individual VNF Performance Job - Unauthorized
    Log    Trying to delete an existing PM Job without authorization
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    DELETE    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Send Delete request for individual VNF Performance Job with invalid resource identifier
    Log    Trying to perform a negative delete, using erroneous PM Job identifier
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
@@ -199,7 +261,7 @@ Send Post request for individual VNF Performance Job
    Set Suite Variable    ${response}    ${output}
    
Send Put request for individual VNF Performance Job    
    Log    Trying to perform a POST (method should not be implemented)
    Log    Trying to perform a PUT (method should not be implemented)
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
@@ -222,6 +284,27 @@ Send Patch request for individual VNF Performance Job
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

Send Patch request for individual VNF Performance Job - Unauthorized    
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Set Headers    {"Version": "${API_VERSION}"} 
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"} 
    ${template}=    Get File    jsons/PMJobModification.json
    ${body}=        Format String   ${template}     callback_uri=${new_callback_uri}:${callback_port}
    PATCH    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId}     ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Send Patch request for individual VNF Performance Job - Not Found 
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Set Headers    {"Version": "${API_VERSION}"} 
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"} 
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    ${template}=    Get File    jsons/PMJobModification.json
    ${body}=        Format String   ${template}     callback_uri=${new_callback_uri}:${callback_port}
    PATCH    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${not_existing_pmJobId}     ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Send Patch request for individual VNF Performance Job with Unreachable Callback URI    
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
+19 −2
Original line number Diff line number Diff line
@@ -103,7 +103,18 @@ Get Individual Performance Report with NOT permitted authorization scope
    Get Individual Performance Report with not permitted authorization scope
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is   ProblemDetails

Get Individual Performance Report - Unauthorized
    [Documentation]    Test ID: 6.3.3.3.9
    ...    Test title: Get Individual Performance Report - Unauthorized
    ...    Test objective: The objective is to test the retrieval of an individual VNF performance report associated to a monitoring job and perform a JSON schema validation of the collected report data structure without providing authorization.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance reports are set for a monitoring job in the VNFM.
    ...    Reference: Clause 6.4.4.3.2 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Get Individual Performance Report - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails
*** Keywords ***
Get Individual Performance Report
    Log    Trying to get a performance report present in the VNFM
@@ -113,7 +124,13 @@ Get Individual Performance Report
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId}/reports/${reportId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

Get Individual Performance Report - Unauthorized
    Log    Trying to get a performance report present in the VNFM without providing authorization.
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId}/reports/${reportId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Get Individual Performance Report with invalid resource endpoint
    Log    Trying to get a performance report with invalid resource endpoint
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
+86 −0
Original line number Diff line number Diff line
@@ -153,6 +153,54 @@ GET Individual Threshold with NOT permitted authorization scope
    GET Individual VNF Performance Threshold with not permitted authorization scope
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is   ProblemDetails
GET Individual Threshold - Unauthorized
    [Documentation]    Test ID: 6.3.3.5.12
    ...    Test title: GET Individual Threshold - Unauthorized
    ...    Test objective: The objective is to test the retrieval of an individual VNF performance threshold and perform a JSON schema and content validation of the collected threshold data structure without authorization
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
    ...    Reference: Clause 6.4.6.3.2 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    GET individual VNF Performance Threshold - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails
PATCH Individual Threshold - Unauthorized
    [Documentation]    Test ID: 6.3.3.5.13
    ...    Test title: PATCH Individual Threshold - Unauthorized
    ...    Test objective: The objective is to test that PATCH method does not allow to modify an Individual threshold resource without authorization.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
    ...    Reference: Clause 6.4.6.3.4 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Patch request for individual VNF Performance Threshold - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails
PATCH Individual Threshold - Not Found
    [Documentation]    Test ID: 6.3.3.5.14
    ...    Test title: PATCH Individual Threshold - Not Found
    ...    Test objective: The objective is to test that PATCH method does not allow to modify a not existing Individual threshold.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
    ...    Reference: Clause 6.4.6.3.4 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Patch request for individual VNF Performance Threshold - Not Found
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is   ProblemDetails
DELETE Individual Threshold - Unauthorized
    [Documentation]    Test ID: 6.3.3.5.15
    ...    Test title: DELETE Individual Threshold - Unauthorized
    ...    Test objective: The objective is to test the deletion of an individual VNF performance threshold without authorization
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance thresholds are set in the VNFM.
    ...    Reference: Clause 6.4.6.3.5 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none   
    Send Delete request for individual VNF Performance Threshold - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails

*** Keywords ***
GET Individual VNF Performance Threshold
@@ -164,6 +212,13 @@ GET Individual VNF Performance Threshold
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

GET Individual VNF Performance Threshold - Unauthorized
    Log    Trying to get a Threhsold present in the VNFM without authorization
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
GET individual VNF Performance Threshold with invalid resource identifier
    Log    Trying to get a Threhsold with invalid resource endpoint
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
@@ -180,6 +235,12 @@ Send Delete request for individual VNF Performance Threshold
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

Send Delete request for individual VNF Performance Threshold - Unauthorized
    Log    Trying to delete a Threhsold in the VNFM without authorization
    DELETE    ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

Send Delete request for individual VNF Performance Threshold with invalid resource identifier
    Log    Trying to delete a Threhsold in the VNFM with invalid id
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
@@ -217,6 +278,31 @@ Send Patch request for individual VNF Performance Threshold
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

Send Patch request for individual VNF Performance Threshold - Unauthorized
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"} 
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId}
    ${origOutput}=    Output    response
    Set Suite Variable    ${origResponse}    ${origOutput}
    ${template}=    Get File    jsons/ThresholdModification.json
    ${body}=        Format String   ${template}     callback_uri=${new_callback_uri}:${callback_port}
    PATCH    ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId}     ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Send Patch request for individual VNF Performance Threshold - Not Found
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE_PATCH}"} 
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId}
    ${origOutput}=    Output    response
    Set Suite Variable    ${origResponse}    ${origOutput}
    ${template}=    Get File    jsons/ThresholdModification.json
    ${body}=        Format String   ${template}     callback_uri=${new_callback_uri}:${callback_port}
    PATCH    ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${not_existant_thresholdId}     ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Send Patch request for individual VNF Performance Threshold with Unreachable Callback URI    
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
+46 −2
Original line number Diff line number Diff line
@@ -76,7 +76,42 @@ DELETE Notification endpoint - Method Not Implemented
    ...    Post-Conditions: none
    DELETE notification endpoint
    Check HTTP Response Status Code Is    405
    
Test the Notification Endpoint - Unauthorized
    [Documentation]    Test ID: 6.3.3.10.7
    ...    Test title: Test the Notification Endpoint - Unauthorized
    ...    Test objective: The objective is to test the Notification Endpoint provided by the notification consumer without authorization.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 6.4.9.3.2 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
    GET reach the notification endpoint - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is    ProblemDetails
Test the Notification Endpoint - Not Found
    [Documentation]    Test ID: 6.3.3.10.8
    ...    Test title: Test the Notification Endpoint - Not Found
    ...    Test objective: The objective is to test the not existing Notification Endpoint.
    ...    Pre-conditions: A notification endpoint is provided by the API consumer upon subscription.
    ...    Reference: Clause 6.4.9.3.2 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
    GET reach the notification endpoint - Not found
    Check HTTP Response Status Code Is    404
    Check HTTP Response Body Json Schema Is    ProblemDetails
VNF Performance Information Availability Notification - Unauthorized
    [Documentation]    Test ID: 6.3.3.10.9
    ...    Test title: VNF Performance Information Availability Notification - Unauthorized
    ...    Test objective: The objective is to test that VNF Performance Information Availability Notification is not delivered to the notification consumer without authorization.
    ...    Pre-conditions: A VNF performance job is created, and a subscription for information availability notifications is available in the VNFM.
    ...    Reference: Clause 6.4.9.3.1 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_Notif_Endpoint
    ...    Applicability: none
    ...    Post-Conditions: none 
    Post VNF Performance Information Availability Notification - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is    ProblemDetails  
*** Keywords ***
Check resource existence and get CallbackUri
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
@@ -105,7 +140,16 @@ Post VNF Performance Information Availability Notification
    Post    ${callbackResp}    ${body}
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}	

Post VNF Performance Information Availability Notification - Unauthorized
    log    Trying to perform a POST to get notification without authorization
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Set Headers  {"Content-Type": "${CONTENT_TYPE_JSON}"}
    ${template} =    Get File    jsons/PerformanceInformationAvaliableNotification.json
    ${body}=        Format String   ${template}    objectInstanceId=${objectInstanceId} 
    Post    ${callbackResp}    ${body}
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse}	
Post VNF Threshold Crossed Notification
    log    Trying to perform a POST to get notification
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
+42 −0
Original line number Diff line number Diff line
@@ -245,6 +245,31 @@ GET all VNF Performance Monitoring Jobs with NOT permitted authorization scope
    Check HTTP Response Status Code Is    403
    Check HTTP Response Body Json Schema Is   ProblemDetails

GET all VNF Performance Monitoring Jobs - Unauthorized
    [Documentation]    Test ID: 6.3.3.1.19
    ...    Test title: GET all VNF Performance Monitoring Jobs - Unauthorized
    ...    Test objective: The objective is to test the retrieval of all the available VNF performance monitoring jobs and perform a JSON schema and content validation of the collected jobs data structure without authorization.
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
    ...    Reference: Clause 6.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    GET all VNF Performance Monitoring Jobs - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails
POST Create new VNF Performance Monitoring Job - Unauthorized
    [Documentation]    Test ID: 6.3.3.1.20
    ...    Test title:  POST Create a new VNF Performance Monitoring Job - Unauthorized
    ...    Test objective: The objective is to test that the POST method fails without authorization
    ...    Pre-conditions: A VNF instance is instantiated. One or more VNF performance jobs are set in the VNF.
    ...    Reference: Clause 6.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v5.3.1
    ...    Config ID: Config_prod_VNFM
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Post Request Create new VNF Performance Monitoring Job - Unauthorized
    Check HTTP Response Status Code Is    401
    Check HTTP Response Body Json Schema Is   ProblemDetails

*** Keywords ***
GET all VNF Performance Monitoring Jobs
    Log    Trying to get all PM Jobs present in the VNFM
@@ -255,6 +280,13 @@ GET all VNF Performance Monitoring Jobs
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

GET all VNF Performance Monitoring Jobs - Unauthorized
    Log    Trying to get all PM Jobs present in the VNFM without authorization
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    GET    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
GET VNF Performance Monitoring Jobs with attribute-based filter
    Log    Trying to get all PM Jobs present in the VNFM, using filter params
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
@@ -341,6 +373,16 @@ Send Post Request Create new VNF Performance Monitoring Job
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}

Send Post Request Create new VNF Performance Monitoring Job - Unauthorized
    Log    Creating a new PM Job without authorization
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
    Set Headers    {"Version": "${API_VERSION}"}
    Set Headers    {"Content-Type": "${CONTENT_TYPE_JSON}"}
    ${template}=    Get File    jsons/CreatePmJobRequest.json
    ${body}=        Format String   ${template}     objectInstanceIds=${objectInstanceIds}    callback_uri=${callback_uri}:${callback_port}
    POST    ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs    ${body}
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
Send Post Request Create new VNF Performance Monitoring Job with Unreachable Callback URI
    Log    Creating a new PM Job
    Set Headers    {"Accept": "${ACCEPT_JSON}"}
Loading