Combine connector and switch.

Or you could just have your resistors in parallel, instead of series. Again, no need for switching, and you just need to measure the total resistance and calculate the combination of resistors that would come up with that value.