When validating JSON files by path, it would be good to check the size of an array or if an object is null or not based on JSON path.

First one, size of array, can be implemented with .hasSize(int n) attribute from JsonPath.

Second one, check whether an object is null, can be implemented within doesNotExists() method.

For my scenario, I have a request that contains N elements and response that should contain <= N responses. I would like to check if response array is not null and if it contains X elements based on request count.

I have the need to increment a global variable to use in testing. For example, I send a variable in my uri that my device reads to set an internal setting. I want to make sure that the device accepts the whole range of numbers allowed by the devices internal variable type. Is there a way to do this currently?

Often tests require dynamically generated data like a random value that could provide the ability to generate unique test input (like unique user names). One way is to generate random strings/numbers. Another options is to take the current date and time from the system.Aside from randomness, it might be useful to be able to access environment variables related to the operating system.Any comments with other use-cases are appreciated.