Created
January 23, 2017 15:41
-
-
Save smarigowda/50cf3854d5d5dcbc9aaa3d6a5b529d1a to your computer and use it in GitHub Desktop.
SOASTA CloudTest Validation Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var message = $context.currentItem; | |
var statusCode = message.getResponse(message.RESPONSE_HTTP_STATUSCODE); | |
//$context.result.postMessage($context.result.LEVEL_INFO, 'Output.... ' + statusCode); | |
if ( statusCode != '200' ) { | |
result = false; | |
} else { | |
result = true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment