I am working on Rational Robot conducting performance testing when i play back the vu script it fails bcou'z session id dynamically changes i have tried using mathch command its not working can anybody help me out
result = match("SessionId=([A-Za-z0-9]+)$0", _response, &str1);
}</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">In the example above, result would be equal to true if 'SessionId=' followed by any characters up to a space would be found in _response. The actual session id would be stored in str1 (without 'SessionId=')
It also helps if you can write your own web based test harness which grabs the current session id, for example a PHP page as a resultsURL which the server can redirect to. Alternatively, you can write your own script to pull the current session id from the cookie cache directly and re-assign it to the virtual user.
There are 3 types of engineers: Those who can count, and those who can't.