Using playwright with plugin metrics-by-endpoint #2294
Replies: 1 comment 1 reply
-
Hi @biosignature . Apologies, it seems we missed replying to this! The
More or less - you can use aggregate by scenario name to combine the metrics under one name. However, this will mean less granularity in the metrics. Currently we don't have a way to strip query strings, but we will soon be actively working on Playwright improvements, and we'll try to discuss improvements around this experience then. Thanks for reporting it 🙇! |
Beta Was this translation helpful? Give feedback.
-
Hey,
I'm experimenting with Artillery and playwright (The goal is to have a single script, which can do both end to end testing whlie also being usable for performance testing). I'm wondering if it's possible to use the plugin metrics-by-endpoint in conjunction with playwright as the engine?
From what I can find, there's no mention of compatibility nor in-compatibility, but while I can get metrics-by-endpoint to work if I just build a simple test flow without playwright as the engine and base script, it doesn't seem to work together.
My yml file with playwright and attempted metrics-by-endpoint
If it cannnot be done with plugin + playwright, is there a way for me to get a similar output as the "stripQueryString" param for metrics-by-endpoint?
My actual playwright script produces a number of objects on the page and does lookups and edits, and I would like the test to neatly aggrigate the metrics for each page together instead of displaying them seperately due to identifiers etc.
Beta Was this translation helpful? Give feedback.
All reactions