I'd like to have an assertion check a context variable for white spaces only. Currently, I am not able to find an assertion that can let me know if a context variable contains just white spaces.
I thought maybe a Compare Variable assertion with a regular expression rule would work, but I am not able to come up with the correct regex to use for checking for just white spaces.
I am thinking something equivalent to the following in Java: String.trim().length() == 0
I am thinking this should be simple and I am just missing something, but I've tried many different Compare Variable combinations and just can't come up with one that works. Can anyone help?
Thanks in advance.