X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fl2switch%2FInventory_Scalability_OF13%2F020__restconf_topology.robot;h=7381f6fe76beb2d27ddbae0e1094fc1ee834a3ee;hb=HEAD;hp=e4d3258c73d345989ad0e8cc418478c0170f2cf2;hpb=7dce90bb0f97bd33340f26190eadf29a22675cfe;p=integration%2Ftest.git diff --git a/csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot b/csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot index e4d3258c73..7381f6fe76 100644 --- a/csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot +++ b/csit/suites/l2switch/Inventory_Scalability_OF13/020__restconf_topology.robot @@ -12,7 +12,7 @@ Suite Teardown Delete All Sessions *** Variables *** -${REST_CONTEXT} /restconf/operational/network-topology:network-topology/topology/flow:1 +${REST_CONTEXT} /rests/data/network-topology:network-topology/topology=flow%3A1?content=nonconfig *** Test Cases *** @@ -35,8 +35,11 @@ Get Links Count *** Keywords *** Verify Element Count [Arguments] ${URI} ${xpath_location} ${expected_count} - ${resp} RequestsLibrary.Get Request session ${REST_CONTEXT} headers=${ACCEPT_XML} + ${resp} RequestsLibrary.GET On Session + ... session + ... url=${REST_CONTEXT} + ... headers=${ACCEPT_XML} + ... expected_status=200 Log ${resp.content} - Should Be Equal As Strings ${resp.status_code} 200 ${count} Get Element Count ${resp.content} xpath=${xpath_location} Should Be Equal As Numbers ${count} ${expected_count}