AnsweredAssumed Answered

assertions, testing for empty body (rest)

Question asked by sdetweil2 on Jun 19, 2015
Latest reply on Jun 20, 2015 by sdetweil2

how do I use assertions to test for empty properties?


I can't find anything in the standard methods, so fall back to scripted..


how do you manipulate an empty string?


String v = {{lisa_vse_http_current_transaction_body}};


fails trying to evaluate ''


can't do new String({{lisa_vse_http_current_transaction_body}});

v = "{{lisa_vse_http_current_transaction_body}}"; produces a string literal of the property syntax.


my vsm needs to skip a step of the body is empty.


the doc has no examples.. it say s' {{ property}} will be replaced by the property value,  but doesn't articulate the selected contexts where this happens

(inside double quotes is not one of them )