Accessing global variables when running collection using Newman

Hi, @dcarva! Welcome.

Globals can be passed as a command line parameter, either as a JSON file path/URL (via --globals) or individually (via --global-var). See here: https://github.com/postmanlabs/newman/#newman-run-collection-file-source-options.

1 Like