Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
189 B
1
Indexable
Never
def text = prev.getResponseDataAsString();
if(text.contains("Auth_token: ")) {
	log.info(text.substring(13, text.length()-2));
	vars.put("token" ,text.substring(13, text.length()-2));
}