Force and fluctuations in polymer ensembles