Microcapillary magnetorheometer