Testing for memory usage or getting a process ID with applicationContext
Last edited on
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:
This will print the memory used by the current application and its process ID to the test log.
The application context functions and properties are documented in the Squish API section under
Application Context
.
We would like to use Google Analytics to get a better understanding of how
you use the website.
By agreeing to this, your usage data will be stored in the USA and processed
by Google LLC. Both Google as well as federal US agencies can access this data
and combine it with any other data about you, such as your search history,
personal accounts or any other data known to Google.