X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance.robot;h=a3cb2e53afcbb5fe09ae0860d4cda83c30cea131;hp=ca7ce3028611b18f800f4353398f197d62514de1;hb=1739f04bbed020135f2bbf0ffcedf961fc1b5474;hpb=8f77a1ac982b07802f0fb209f589708c27f3e9c5 diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index ca7ce30286..a3cb2e53af 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -102,6 +102,30 @@ | | ${result_rate}= | Verify Search Result | | Set Test Message | FINAL_RATE: ${result_rate} pps +| Find NDR using binary search and pps +| | [Arguments] | ${framesize} | ${binary_min} | ${binary_max} +| | ... | ${topology_type} | ${min_rate} | ${max_rate} | ${threshold} +| | Set Duration | 60 +| | Set Search Rate Boundaries | ${max_rate} | ${min_rate} +| | Set Search Rate Type pps +| | Set Binary Convergence Threshold | ${threshold} +| | Binary Search | ${binary_min} | ${binary_max} | ${topology_type} +| | ${result_rate}= | Verify Search Result +| | Set Test Message | FINAL_RATE: ${result_rate} pps + +| Find NDR using combined search and pps +| | [Arguments] | ${framesize} | ${start_rate} | ${step_rate} +| | ... | ${topology_type} | ${min_rate} | ${max_rate} | ${threshold} +| | Set Duration | 60 +| | Set Search Rate Boundaries | ${max_rate} | ${min_rate} +| | Set Search Linear Step | ${step_rate} +| | Set Search Frame Size | ${framesize} +| | Set Search Rate Type pps +| | Set Binary Convergence Threshold | ${threshold} +| | Combined Search | ${start_rate} | ${topology_type} +| | ${result_rate}= | Verify Search Result +| | Set Test Message | FINAL_RATE: ${result_rate} pps + | Traffic should pass with no loss | | [Arguments] | ${duration} | ${rate} | ${framesize} | ${topology_type} | | Send traffic on | ${tg} | ${duration}