fazira's avatar
fazira
Occasional Contributor
9 years ago
Status:
Accepted for Discussion

Make possible to test website generating cookies using JavaScript

LoadComplete doesn't support generating cookies using JavaScript for now. 

We need to do test on liferay portal which using some javascript for some variable. 

 

Please let me know if you need more details for this request.

 

Thanks and Regards, 
Fazira

2 Comments

  • Hi,

     

    It is generally possible to set such a cookie value in a LoadComplete scenario. For this purpose, you'll need to learn the logic of the script which sets the cookie, implement a similar logic using a bunch of Set Variable Value operations and set the cookie using a data replacer in the target request.

     

    According to my knowledge of your framework, you have a more specific task - you need to generate epoch time based on current time and pass this value to a cookie. This is not supported at the moment.

     

    Please let me know if my interpretation of your feature request is wrong.