Custom Assertion in Jython
Hello, looking for a sample script that can read environment variable and compare it to the JSON response value.
Also, please point me to the scripting documentation to use with SOATest, if any. Thanks!
Tagged:
0
Hello, looking for a sample script that can read environment variable and compare it to the JSON response value.
Also, please point me to the scripting documentation to use with SOATest, if any. Thanks!
Comments
I have attached a PDF to my comment that contains scripting examples. On page 4 it shows an example of how to pull an environment variables value using a script. Starting at page 79 it goes over request/response message manipulation, which should give you an idea of how to grab a response value.