Skip to main content
Manage, view, and upload test results.

upload

Upload test results to Momentic Cloud.
npx momentic results upload <folder>
  • <folder>: The path to the folder containing test results generated by a momentic run invocation or by the momentic results merge command. momentic run saves local results to the folder specified by the --output-dir option, which defaults to test-results.

merge

npx momentic results merge [options] <parent folder>
  • <parent folder>: The parent folder for the results to merge. This folder must contain only valid Momentic test outputs. For example, if you pass --output-dir test-results/results-1 to thee run command, your parent folder is test-results.

Options

--output-dir <outputDir>

The directory to output the merged results to. The folder will be overwritten if it already exists on disk.
npx momentic results merge --output-dir merged-output test-results/invocation1 test-results/invocation2

view

Launch the run viewer to inspect test results locally. Starts a local server, opens it in your browser, and opens the specified run in the run viewer UI.
npx momentic results view <results> [runId]
  • <results>: Path to the folder containing a runs/ subfolder with test results. Defaults to test-results. momentic run saves local results to the folder specified by the --output-dir option.
  • [runId]: The run ID to open, correlates to a zip file in the runs/ subfolder of your results directory. For example, for runs/eed92602-7355-43dc-8d79-1c43029bec26.zip use runId eed92602-7355-43dc-8d79-1c43029bec26. If not provided, the run viewer opens to a table with all runs in the run group within the results directory.

Options

--port <port>

Port for the run viewer server. Defaults to 58889.
npx momentic results view --port 59999 my-results eed92602-7355-43dc-8d79-1c43029bec26