Custom Assertion in Jython

ag_sf001ag_sf001 Posts: 1

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:

Comments

  • NHawkNHawk Posts: 6 admin

    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.

Sign In or Register to comment.