-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqos.feature
40 lines (34 loc) · 1.9 KB
/
qos.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Feature: QoS
Scenario: Using QoS with response mode No
Given a requester
And a responder, listening for foreground packets
And an interface configuration with QoS response mode is no
And a command, forwarded to this interface, which does not require response data
When the requester starts a session for this command
Then the responder should receive an unsolicited response
And the requester should not receive a response
And the requester's session should complete successfully
#Scenario: Using QoS with response mode No with response data
# Given a requester
# And a responder, listening for foreground packets
# And an interface configuration with QoS response mode is no
# And a command, forwarded to this interface, which does require response data
# When the requester starts a session for this command
# TODO this should return an error and the packet should not be transmitted. Stack currently asserts on this
Scenario: Using QoS with response mode Any without response data
Given a requester
And a responder, listening for foreground packets
And an interface configuration with QoS response mode is any
And a command, forwarded to this interface, which does not require response data
When the requester starts a session for this command
Then the responder should receive an unsolicited response
And the requester should receive a response
And the requester's session should complete successfully
Scenario: Using QoS with response mode Any with response data
Given a requester
And a responder, listening for foreground packets
And an interface configuration with QoS response mode is any
And a command, forwarded to this interface, which does require response data
When the requester starts a session for this command
Then the requester should receive a response
And the requester's session should complete successfully