record_session function

Record a Session for Load Test