Posted: 9 Aug 2019 16:45 EDT Last activity: 16 Aug 2019 13:59 EDT
Refresh the harness periodically when it is an active thread
Is there any other way we can refresh the harness periodically when it is active (Displayed in UI) and not refresh it if it is not active thread?
Thank you for the response. I am able to get the active thread in UI. For comparing the thread names, I need to store the threadname of harness in a requestor level page (so that it can be accessible by different threads.) For now, I am using operator id page and my function is executing properly. Do you know of any other alternatives to pass the data between the threads and store the thread name temporarily on a requestor level page.
Hi, My code is failing in one scenario. As the java code is in scriptlet, it looks like the code in else loop is executing as well when the setinterval is loaded. I can see the pylabel value as "Hello" in clipboard. Any other way to write jsp code to use java for comparison
Here is my sample code:
var HarnessThreadName = "<%= tools.findPage("OperatorID").getProperty(".pyLabel").getStringValue() %>"; //Checking if my requestor page has a value