Rheology of wormlike micellar fluids from Brownian and molecular dynamics simulations