저는 이렇게 쓰고 있어요~
phython에 string find 명령어 사용 하고 있습니다.
https://docs.python.org/2/library/string.htmlstring.find(s, sub[, start[, end]])
Return the lowest index in s where the substring sub is found such that sub is wholly contained in s[start:end]. Return -1 on failure. Defaults for start and end and interpretation of negative values is the same as for slices.
if result.getText().find("welcome~") != -1 :
grinder.statistics.forLastTest.success = 1
else :
err("ERROR is : %s " % result.getText())
grinder.statistics.forLastTest.success = 0
그루비나 다른거 쓰심 거기에 string find쓰시면 될듯 해요~