alibaba82
17 years agoSuper Contributor
Trimming empty spaces in assertions.
Hello Ole,
I have a assertion of type content where the expected value is specified in a database datasource filed.
The problem is that the database is the return a value but has some whitespaces. For example the resonse returns 'abcd' whereas in the database it is 'abcd '.
How can i create an content assertion such that it will ignore the whitespaces.
i guess something like
${DataSource#Name}.ignorewhitespace
THanks
ALi
I have a assertion of type content where the expected value is specified in a database datasource filed.
The problem is that the database is the return a value but has some whitespaces. For example the resonse returns 'abcd' whereas in the database it is 'abcd '.
How can i create an content assertion such that it will ignore the whitespaces.
i guess something like
${DataSource#Name}.ignorewhitespace
THanks
ALi