Skip to content

Test Plan for TCPServer Duplex Support

Samantha Chan edited this page May 20, 2015 · 2 revisions

Regression Tests - TCPServer as source

These tests make sure that TCPServer continues to work as is without enabling duplex support.

  • Single TCP client sending in data
  • 5 TCP clients sending in data
  • 100 TCP clients sending in data

Data format

  • rstring as data
  • blob as data
  • output srcIP and srcPort as output

Test parameters

  • address
  • block size
  • connectionCap
  • format
  • keepAlive
  • threadPoolSize

Duplex Support

  • single TCP client with duplex communication
  • two TCP client with duplex communication - making sure data is sent back to the right client
  • 10 TCP clients with duplex communication
  • 100 TCP clients with duplex communication
  • 200 TCP clients with duplex communication

Data format

  • rstring as data
  • blob as data

Error Handling

  • Sinlge connection - connection drop and re-established
    • operator continue to run
  • 2 connections - one connection drop and re-established
    • operator continues to run. Dropping of a connection does not affect the other connection
  • 3 connections - one connection stall
    • other two connection continues to run
  • Unable to open port initially - error should be logged

Longevity

  • Running for at least 24 hours without crashing

Performance

  • performance analysis of
    • number of connections
    • size of tuple