Debug a scenario

Updated at:

After you configure a performance testing scenario, you can debug it to validate the configuration.

Prerequisites

A JMeter performance testing scenario is required. For more information, see Create a JMeter performance test.

Procedure

  1. PTS consolePerformance testingScene list
  2. In the Actions column of the target scenario, click Edit. On the Edit Scenario page, click Debug Scenario at the bottom of the page to debug the entire scenario.
    The debug results show the request logs for all samplers. Click a specific API to view its debug details.
    Note Scenario DebuggingDuring a debug session, click the hjScenario DebuggingScenario debugging icon in the upper-right corner to minimize the dialog box. You can monitor the debug status in the floating window in the lower-right corner. Click the floating window to restore the dialog box.

JMeter scenario debug UI

No.Description
①The name of the sampler. Click the sampler to view its response details on the right.
②The response status. This can be a status code (such as 200, 302, 403, 503, or 500) or an exception message. A 'failed' or 'exception' status indicates that no response was received. This might be due to a request timeout or an error in the sampler, such as an unrecognized function or an invalid URL.
③Request details. This area includes the request headers, a structured view of the request body, and the raw request.
④Response details. This area includes the response header, response body, assertion results, and the raw response.
⑤The Timing tab displays the duration of the sampler's core lifecycle phases.
⑥The Trace View tab displays the upstream and downstream trace details for the API under test.
⑦Engine logs. Click Engine Logs to view logs from the performance testing engine.