Rules - Test for Replay

1 posts, 0 answers
  1. K.W.
    K.W. avatar
    6 posts
    Member since:
    Mar 2015

    Posted 06 Nov 2017 Link to this post

    Is there a test that can be used to determine if the current Session is currently under Replay? 

    I want to rePOST some POSTs but I want to change a value each time, so, I'd like to do something along the lines of:

    static function OnBeforeRequest(oSession: Session) {

    If (oSession.Replay) {

         oSession.utilReplaceInRequest("cookieMonster:1234567","cookieMonster:987654");

    }

    ....

    }

Back to Top