Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Custom Assertion in Jython

Options
ag_sf001
ag_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

  • NHawk
    NHawk Posts: 9 admin
    Options

    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.

Tagged