Service Image Tab

The following fields are available on the Service Image tab of the Service Image Editor:
dts91
The following fields are available on the
Service Image
tab of the
Service Image Editor
:
  • Image name
    Identifies the name of the current service image.
  • Created on
    Identifies the date and time when the service image was created.
  • Last modified
    Identifies the date and time when the service image was last modified.
  • Notes
    Displays documentation about the service image.
  • Approximate memory usage
    Identifies the estimated memory that the service image requires.
  • Response for Unknown Conversational Request
    Displays the body, metadata, and think time for a response to an unknown conversational request in playback.
  • Response for Unknown Stateless Request
    Displays the body, metadata, and think time for a response to an unknown stateless request in playback.
Edit Responses for Unknown Requests
Use the arrow Arrow icon.png to zoom the panels to their largest size. To return to the original size, use the same icon.
Complete the following
Response
panel fields as appropriate:
  • Body
    Contains the response to be returned for unknown stateless requests during playback.
  • Response Meta Data
    Displays a toolbar from which you can add, move, or delete key/value pairs as necessary.
  • Think time spec
    Defines the amount of think time that is required, in milliseconds. The
    think time
    is the time that is taken before sending the response to a request.
    Values:
    A number or number range, in milliseconds.
    If you enter a range, the application selects the think time randomly selected from that range.
    You can specify time measurements by adding a suffix to the numbers. Case does not matter. The valid suffixes include:
    • t:
      milliseconds
    • s:
      seconds
    • m:
      minutes
    • h:
      hours
    Default:
    0
    Examples:
    • 100 specifies a think time of 100 milliseconds.
    • 100s specifies a think time of 100 seconds.
    • 100-1000 specifies a random think time from 100 to 1000 milliseconds.
    • 10t-5s indicates a random think time between 10 milliseconds and 5 seconds.
  A step subtracts its own processing time from the think time to have consistent pacing of test executions.
Customize the Response Editor
To customize the response editor, click Gear icon.png at the lower right corner of the panel.
Response editor body tab
Options on the response editor menu include:
  • Set reference protocol to
    No Specific Protocol
    or
    JDBC (Driver based)
    .
The title bar on the
Body
tab of the Response Editor shows what category of response has been returned. In the previous graphic, it indicates a Text response. Other categories of response payloads are:
  • XML
  • JSON
  • String
  • Large String
  • Huge String
  • Graphic Image
  • Raw Bytes
To use a different editor or to change the type of payload, click the gear icon on the upper right corner of the panel. The menu builds dynamically to only show other potentially valid editors, based on the editor you currently have selected.
When the text body editor is set to
Text
, right-click the Response Body XML to format the response text.
Screenshot of text body editor set to text
If the response payload is detected to be EDI data, it is converted to XML on the
XML
tab.
Response editor Body tab, Raw EDI subtab