Thursday, September 15, 2022

Get the current iteration number in neoload | iteration number in neoload using javascript

You can get the current iteration number using the NeoLoad Javascript API.

context.currentVU.getCurrentIteration();

Unless your test is run iteratively, in which case you may predict the final iteration number, you cannot know the last iteration.

Friday, September 2, 2022

How to Clear the Cache and Cookies in Neoload | web_cache_cleanup(); & web_cleanup_cookies() in Neoload

In general for clear cookies and cache in your we use the functions web_cache_cleanup(); & web_cleanup_cookies();. The same we can implement in NeoLoad script with a simple java script. just add these below 2 lines in your java script and run the script.



context.currentVU.clearCache();

context.currentVU.clearCookies();