Process request and response log to generate a mapping for replay