0

We are using a server (closed sourced) written by a vendor that claims it supports up to a maximum of 100 concurrent TCP connections.

We want to test this claim.

We can certainly write a script to automate it, but before that, are there any handy tools we can use to rapidly open 100 TCP connections? Something like apachebench to open the TCP connection and close it.

w5m
  • 151
  • 8
Ryan
  • 5,341
  • 21
  • 71
  • 87

2 Answers2

2

You can do it with NMAP. See the documentation of parallel connections at: NMAP Documentation

Gabor Vincze
  • 554
  • 1
  • 4
  • 11
  • 2
    Without an example, that's not a very helpful reference: nmap has a headsplitting number of options available. Figuring out how to construct a viable command for this purpose is something that even those familiar with nmap may struggle with. – Everett Jan 11 '18 at 18:58
0

Whip something up using nc(1) (part of nmap, that package is probably part of any reputable (and is in all disreputable) Linux distribution.

vonbrand
  • 1,153
  • 2
  • 8
  • 16