Previous Topic: Edit the Response MetadataNext Topic: Find the Transactions that Match a Request


Change the Think Time of a Response

Each response for a specific transaction includes a field named Think time spec. This field specifies how long to wait before sending the response. If the service image was created from recording, the initial value is based on the response behavior that was observed during the recording.

To simulate faster performance, decrease the value.

To simulate slower performance, increase the value.

By default, the value is in milliseconds. To specify the unit of time, add a suffix to the number. Case does not matter. The following suffixes are allowed:

You can specify a number range. The think time is randomly selected from the range. For example, the value 100-1000 specifies a random think time from 100 to 1000 milliseconds.

If the think time is 10 milliseconds and it takes 5 milliseconds to process the request and find the response, you only incur an extra 5 milliseconds of delay.

If the think time is 0, or is less than the time that it took to process the request, VSE sends the response as fast as it can.

The unknown responses in a virtual service have the same field.

When you deploy a virtual service, you can configure a related field named Think time scale. This field specifies the percentage by which to multiply all of the Think time spec fields in a service image.

Follow these steps:

  1. Open a virtual service.
  2. Locate the response for the specific transaction or unknown response.
  3. Change the value of the Think time spec field.