Setting config.defaults.capture
has no effect as it's not a recognized configuration option for Artillery. (It looks like it was possibly suggested by an AI copilot?)
You're not seeing http.
-prefixed metrics you've defined in that block because Playwright-based tests don't capture those metrics. You can see the list of metrics reported by those tests in the official docs here: https://www.artillery.io/docs/reference/engines/playwright#metrics-reported-by-the-engine