Measuring Data Rate of USB Cable(type C) using Arduino and Raspberry- pi

I have to measure/Test the data rate of USB cable.
One end of USB is connected to Arduino (using Convertor-) and other to Raspberry-pi.
Now I will begin to send the data from one side(like from Arduino) to another(pi).

Is this Possible???

If yes, how can I get the data rate of USB cable??

Is there is another way to calculate the data rate of USB Cable??

Is this Possible???

No. If the cable is not complete crap, at least the Arduino will reach it's limits before the cable stops working.

A type C cable is usually USB 3 conforming so it's data rate will not be reached with current of-the-shelf hardware. You probably have to use professional testing hardware to do real test on this item.