result.getText().find("文本字符串"),没找到时返回-1
例如:检索HTTP返回值result中是否有sid相关信息,有,则标记为成功
if result.getText().find("sid") != -1: grinder.statistics.forLastTest.success = 1
if result.getText().find("sid") != -1:
grinder.statistics.forLastTest.success = 1