Forum Discussion
Unhandled
15 years agoContributor
You can instead use Xpath Match assertion to get the value and test it.
If you must use Script assertion, I imagine it would look something like:
If you must use Script assertion, I imagine it would look something like:
def len = context.expand( '${StepName#Response#//data[1]/@contentLength' )
assert len == "119623"