Probing the dark universe with gravitational lensing