Forum Discussion
groovyguy
7 years agoCommunity Hero
You can try something like this snippet of code, that asserts that the repsonse is not null, is not an empty collection, and is not an empty string:
def response = context.expand( '${TestStepName#Response}' ) assert (response != null) && (response != "") && (response != []);
Related Content
- 6 years ago