There are cable testers out there where both plugs are inserted and it can determine the maximum speed supported. They cost anywhere from $20 to $15,000.
This one does it all for $15,000.
Advanced Cable Tester v2
$15,000
Part Number: TP800210
Availability: In-Stock
The Total Phase Advanced Cable Tester v2 is the quickest and most convenient way to comprehensively test USB, HDMI, and DisplayPort cables. Combining blazing fast performance with a low cost per test and a rugged design, the Advanced Cable Tester v2 enables rapid spot-checking of cables with easy-to-understand reports for 100% test coverage in lab and production environments at a fraction of the price, time, and labor versus other solutions.
Whether your application is full quality control in a factory or statistical process control in a laboratory, the Advanced Cable Tester v2 will provide high precision and accuracy with thorough test coverage, without expensive scopes, custom fixtures, or highly trained personnel, saving hundreds of thousands of dollars.
It is modular with several different interfaces that are popped in as needed. It connects via a web interface, but needs a computer to connect to it via ethernet or USB for that access.