That will give you an idea of the stalling torque (if the motor doesn't burn out) which may well not be the maximum. To do the job properly you need to rig up a simple prony brake, but I guess an alternative would be to measure the current consumption at various speeds, assume a figure for efficiency to work out the shaft power and then divide by speed to calculate torque.