This topic covers literal view options, which allow you to directly specify the message or request body. The Literal view contains the following options:
Use this option if you want to type or copy a message into the UI. Select the appropriate MIME type, then enter the message in the text field below the Text radio button.
{$}
syntax. If parameterizing with a column from a repository data source, be sure to reference a primitive column or a primitive list column, not a record list column.${books:publisher}
to reference the publisher column from the books sheet of an Excel data source. Use ${title}
to reference the title column from a data source or the data bank tool. ${}
format variables such as ${value}
, those variables will be resolved before processing. To prevent variables from being processed, escape ${}
variables using a backslash. For example, the value "\${HOST}"
will be interpreted as "${HOST}";
the variable will not be resolved. You can parameterize complex XML and JSON elements from a Parasoft Data Repository data source column, which may reference zero, one, or multiple hierarchical record values.
Add a Parasoft Repository Data source. See Creating a Repository Data Source.
Use "ParasoftColumn" to specify which Data Repository column should be used to parameterize that level in the hierarchy of the message. See Hierarchical Parameterization with Literal View.
If you already have a file that specifies the message, use this option to indicate the location of that file.
If you already have a file containing the various messages you want to use:
Setup a File data source for that file
(as described in Adding a Data Source at the Test Suite, Project, or Global Level). |