Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.2

...

...

  • Through variables: Variables can used to parameterize all or parts of text field values in tool editors. For example, a text field could reference environment variables, a data source column, a data bank column, or a variable defined for the current suite. For details, see Parameterizing Tools with Variables 変数によるツールのパラメータライズ.
  • Through scripting: This is primarily used when you need to pass an object of a type other than a String. You can only access these values through scripting. This is done using com.parasoft.api.Context get(String) and put(String, Object).  For details, see Extensibility or Scripting Basics.

...

For details on writable data sources, see Configuring a Writable Data Source.

For example, if you wanted to parameterize one of test 3’s request value with the id value from test 1’s response, you would set that field to Parameterized....

...

  • Through variables: Variables can used to parameterize all or parts of text field values in tool editors. For example, a text field could reference environment variables, a data source column, a data bank column, or a variable defined for the current suite. For details, see Parameterizing Tools with Variables.
  • Through scripting: This is primarily used when you need to pass an object of a type other than a String. You can only access these values through scripting. This is done using com.parasoft.api.Context get(String) and put(String, Object). For details, see Extensibility or Scripting Basics.

General

...

Guideline

A general rule of thumb guideline is:

  • To extract content from a message only once as part of a scenario, then use a Data Bank by itself.
  • To extract a list of values then have another test iterate over them and use them one by one, use an XML Data Bank with a writable data source.

...