I want to write jave code to clear the browser cache and cleare the browser cooke data.
Some some guide me how to write the basic jave code?
There's different ways to clear user context like cache and cookies in NeoLoad. In the Actions container, you have an option to simulate a new browser on each iteration.
When enabled, it will remove all the user context between each iteration. That includes variables content that were extracted in the previous iteration.
For more information, you can look at the NeoLoad documentation here