Skip to content

docs: clarify CLI mode result logging and Listener filenames - #6907

Open
QAInsights wants to merge 1 commit into
apache:masterfrom
QAInsights:docs/clarify-listeners-cli-results
Open

QAInsights wants to merge 1 commit into
apache:masterfrom
QAInsights:docs/clarify-listeners-cli-results

Conversation

@QAInsights

Copy link
Copy Markdown
Contributor

Description

Updates xdocs/usermanual/listeners.xml to clarify how result files work in CLI (Non-GUI) mode versus GUI Listeners:

  • Added a note in Section 12 clarifying that CLI mode (-l <filename>) records sample results directly without requiring any Listener element in the Test Plan.
  • Warned against reusing the same output filename for -l and an enabled Listener in the Test Plan to avoid write conflicts.
  • Pointed to jmeter.save.saveservice.* properties in user.properties (linking to #defaults and properties_reference.html#results_file_config) for configuring which fields are written to the -l result file in CLI mode.
  • Updated #jmeter.save.saveservice.url=false to #jmeter.save.saveservice.url=true in the sample configuration block to match SampleSaveConfiguration.java and bin/jmeter.properties, and fixed minor typos (multiple samplers to multiple listeners, like:. to like:).

Motivation and Context

Fixes #5378. Users reading the Listeners documentation were unsure whether a Listener is required in CLI mode, whether -l can share a filename with a Listener, and how to configure logged fields in CLI mode.

How Has This Been Tested?

  • Verified the results_file_config anchor in xdocs/usermanual/properties_reference.xml and SAVE_URL_PROP default in SampleSaveConfiguration.java.
  • Ran ./gradlew --quiet :src:dist:previewSite -x :src:dist:javadocAggregate autostyleCheck rat on Windows (all passed with exit code 0).
  • Verified the rendered src/dist/build/site/usermanual/listeners.html output and links.

Screenshots (if appropriate):

N/A (documentation-only changes)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve documentation of listener

1 participant