P4G_TEST_APPLICATION#

# set
<module-index>/<port-index> P4G_TEST_APPLICATION [<group_index>] <behavior>

# get
<module-index>/<port-index> P4G_TEST_APPLICATION [<group_index>] ?

Description#

Configure the application layer mode. This command affects whether TCP payload is generated.
  • NONE means that TCP connections are created according to the client and server ranges, and ramped up/down as specified in the load profile. But no payload is transmitted.

  • RAW differs from NONE in that it transmits payload when the TCP connection is established.

  • REPLAY refers to PCAP replay.

Actions#

set, get

Parameters#

behavior: byte, the application layer mode
  • NONE = 0

  • RAW = 1

  • REPLAY = 2

Example#

# set
input:  0/1 P4G_TEST_APPLICATION [0] NONE
output: <OK>

# get
input:  0/1 P4G_TEST_APPLICATION [0] ?
output: 0/1 P4G_TEST_APPLICATION [0] NONE