Can we capture requests which are comming to a pod and reply it whenever we want using istio?

Is there any way to do this?

Are you looking for HTTPRedirect.

No, I want to mirror the traffics of production to test pods. Not in real time, capture the requests and store them in a file and send those traffic to test pods. Is it possible?

If i am not wrong this would lead to compliance issues.