Label: applicationcontext

Content with label applicationcontext in Knowledge Base
Related Labels: memory

Page: Article - Testing for memory usage or getting a process ID with applicationContext
Every application is started in an application context. Application contexts are accessible in test scripts and they offer a number of functions and properties, including {{usedMemory}}: def main(): startApplication("addressbook") # ... ctx = currentApplicationContext() test.log(ctx.usedMemory) test.log(ctx.pid) This will print the memory used ...
Other labels: memory