Skip to content

Instantly share code, notes, and snippets.

@ko2ic
Last active August 29, 2015 14:05
Show Gist options
  • Save ko2ic/4d0077db13d37add119f to your computer and use it in GitHub Desktop.
Save ko2ic/4d0077db13d37add119f to your computer and use it in GitHub Desktop.
jmeterのgroovyでのpost processorのサンプル
def response = prev.getResponseDataAsString()
def isLoggedin = false
if(response.contains("ログインしています")){
isLoggedin = true
}
vars.put('script.isLoggedin', isLoggedin.toString())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment