Update the list of disabled pluggins
[csit.git] / tests / honeycomb / perf / localhostp1-tcp-netconf1t-crud-read.robot
1 # Copyright (c) 2017 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/honeycomb/performance.robot
16 | ...
17 | Suite Setup | Run Keywords
18 | ... | Configure Honeycomb Netconf threads | ${node} | ${1}
19 | ... | AND | Honeycomb Performance Suite Setup Generic | ${node}
20 | ...
21 | Suite Teardown | Honeycomb Performance Suite Teardown Generic | ${node}
22 | ...
23 | Force Tags | HC_PERF
24 | ...
25 | Documentation | *Base Netconf operational read test suite with one Netconf
26 | ... | thread.*
27 | ...
28 | ... | *[Top] Network Topologies:* DUT1 single-node topology.
29 | ... | *[Enc] Packet Encapsulations:* Eth-IPv4-TCP.
30 | ... | *[Cfg] DUT configuration:* Default
31 | ... | *[Ver] verification:* DUT verifies Honeycomb's response times with zero
32 | ... | error or loss tolerance. Test packets are generated by DUT1 on localhost
33 | ... | loopback interface.
34 | ... | Traffic profile contains flow-groups containing REST requests
35 | ... | for operational reads.
36 | ... | *[Ref] Applicable standard specifications:* RFC6241.
37
38 *** Test Cases ***
39 | TC01: Base operational read with 1 TG thread
40 | | [Documentation]
41 | | ... | [Ver] Measure response time using single trial throughput test
42 | | ... | with 100K requests generated in a single thread.
43 | | ${cycles}= | Set Variable | ${1}
44 | | ${threads}= | Set Variable | ${1}
45 | | ${entries}= | Set Variable | ${100000}
46 | | Run base operational read performance trial
47 | | ... | ${node} | ${cores} | ${cycles} | ${threads} | ${entries}
48
49 | TC02: Base operational read with 2 TG threads
50 | | [Documentation]
51 | | ... | [Ver] Measure response time using single trial throughput test
52 | | ... | with 100K requests generated in two threads.
53 | | ${cycles}= | Set Variable | ${1}
54 | | ${threads}= | Set Variable | ${2}
55 | | ${entries}= | Set Variable | ${50000}
56 | | Run base operational read performance trial
57 | | ... | ${node} | ${cores} | ${cycles} | ${threads} | ${entries}
58
59 | TC03: Base operational read with 4 TG threads
60 | | [Documentation]
61 | | ... | [Ver] Measure response time using single trial throughput test
62 | | ... | with 100K requests generated in four threads.
63 | | ${cycles}= | Set Variable | ${1}
64 | | ${threads}= | Set Variable | ${4}
65 | | ${entries}= | Set Variable | ${25000}
66 | | Run base operational read performance trial
67 | | ... | ${node} | ${cores} | ${cycles} | ${threads} | ${entries}
68
69 | TC04: Base operational read with 8 TG threads
70 | | [Documentation]
71 | | ... | [Ver] Measure response time using single trial throughput test
72 | | ... | with 100K requests generated in eigth threads.
73 | | ${cycles}= | Set Variable | ${1}
74 | | ${threads}= | Set Variable | ${8}
75 | | ${entries}= | Set Variable | ${12500}
76 | | Run base operational read performance trial
77 | | ... | ${node} | ${cores} | ${cycles} | ${threads} | ${entries}
78
79 | TC05: Base operational read with 16 TG threads
80 | | [Documentation]
81 | | ... | [Ver] Measure response time using single trial throughput test
82 | | ... | with 100K requests generated in sixteen threads.
83 | | ${cycles}= | Set Variable | ${1}
84 | | ${threads}= | Set Variable | ${16}
85 | | ${entries}= | Set Variable | ${6250}
86 | | Run base operational read performance trial
87 | | ... | ${node} | ${cores} | ${cycles} | ${threads} | ${entries}