Forum Discussion

rmays's avatar
11 years ago

[LoadUIWeb] Cookies and Javascript for WebLoadUI Test

I have an application that adds a cookie variable using javascript.  The javascript function that does this is executed in a callback from a button click.  



When we play the scenario, the javascript is not getting executed, so the cookie variable is not being added.  This is causing a server side error in a page later on in the test.



Is there a way we can execute a javascript after a request is sent during playback?  If not, is there a way we can add the cookie variable after a request without using javascript?



Thanks,

Richard

2 Replies

  • dpedersen's avatar
    dpedersen
    New Contributor
    I am also experiencing the same problem any ideas would be welcomed.



    Thanks
  • dpedersen's avatar
    dpedersen
    New Contributor
    This problem has been resolved for me with version 2.9 with the addition of the cookie replacer functionality they have added.