Purchase a photo transistor
https://www.mouser.com/ProductDetail/Vishay-Semiconductors/TEPT4400?qs=sGAEpiMZZMs50KUSuyRkpqZUFgTLpDQJco7jy2yAnhc= , twin lead hookup wire and a 1/8 mono plug.
Connect the emitter of the transistor to the center lead of the plug and the collector to the shield/outer connector of the plug. Mount the transistor centered in a piece of 1/4 foam core (black preferred) cut to fit the film plane of the camera to be tested with the side facing the lens covering all but the center half of the transistor's diameter. An alternative is to mount the transistor in one piece of wood or foam core then put a second piece with a cutout to fit the lens/leaf shutter mount placed on top so that the transistor is center of the shutter.
Download Audacity
https://www.audacityteam.org/ or similar audio recording program, install it, plug the plug into the microphone jack on your computer and start the audio recording program. When light reaches the transistor the recording line will go up or down from the center line in a near straight line then continue flat until light is cut off when it will go back to the center line. The speed is in milliseconds and the time line can be expanded for easier reading of fast times. The shutter time is from when the line first deflects from the center line until it starts to return.
Start Audacity, press pause then record, place the shutter on the test pad, cock the shutter, position a light source over the shutter, turn the light on, press pause to start the recording, trip the shutter, press pause or stop, turn the light off, set the next speed and repeat the procedure. Use waveform db for the pattern (its default) and right clicking the 0 at the left of the record graph increases the height of the recorded line.
Use the site search or internet search for shutter speed tester. There are cell phone apps and more complex designs available.
The sites I used for the diagram no longer exists and the supplier (radio shack) no longer offers them. If the transistor is for IR then put a piece of deep red filter material over the transistor to use regular incandescent, fluorescent, or LED light sources.