Service Image Tab
The following fields are available on the Service Image tab of the Service Image Editor:
The following fields are available on the
Service Imagetab of the
Service Image Editor:
- Image nameIdentifies the name of the current service image.
- Created onIdentifies the date and time when the service image was created.
- Last modifiedIdentifies the date and time when the service image was last modified.
- NotesDisplays documentation about the service image.
- Approximate memory usageIdentifies the estimated memory that the service image requires.
- Response for Unknown Conversational RequestDisplays the body, metadata, and think time for a response to an unknown conversational request in playback.
- Response for Unknown Stateless RequestDisplays the body, metadata, and think time for a response to an unknown stateless request in playback.
Edit Responses for Unknown Requests
Use the arrow to zoom the panels to their largest size. To return to the original size, use the same icon.
Complete the following
Responsepanel fields as appropriate:
- BodyContains the response to be returned for unknown stateless requests during playback.
- Response Meta DataDisplays a toolbar from which you can add, move, or delete key/value pairs as necessary.
- Think time specDefines the amount of think time that is required, in milliseconds. Thethink timeis 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:
- 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 at the lower right corner of the panel.
Options on the response editor menu include:
- Set reference protocol toNo Specific ProtocolorJDBC (Driver based).
The title bar on the
Bodytab 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:
- 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.
If the response payload is detected to be EDI data, it is converted to XML on the