Questions tagged [xk6-browser]

6 questions
0
votes
1 answer

xk6 Prometheus remote write fails with go error

I am trying to use xk6 prometheus remote write to send k6 data. In GitLab pipeline trying to install xk6 on golang image but it fail with go error with some version issue. GitLab job run:k6: stage: run environment: DEV variables: …
Ravat Tailor
  • 1,193
  • 3
  • 20
  • 44
0
votes
1 answer

K6 - Url redirection issue

I am having trouble with the redirection page during a browser test. Despite the sleep(10) and all the page.waitForNavigation() when I finally ask for page.title() the output is not the final page’s title but one of the previous pages. Also, if I…
0
votes
0 answers

Does k6 browser support url matching patterns for thresholds?

Im currently trying to write some tests for web app within k6 experimental browser. While I can create a threshold like this, that works just fine: thresholds:…
ArturS
  • 723
  • 1
  • 6
  • 19
0
votes
0 answers

Xk6 Brower in Headless Mode

Im using k6/x/browser and while running in headed mode my interactions with the browser has no issues However when I want to use headless mode (because I want to run multiple concurrent vus) then i run in to issues and that interactions with the…
0
votes
1 answer

xk6-browser client-side test result for single user one iteration is not correct

I have just started using xk6-browser, and executed following test script. import { chromium } from 'k6/x/browser'; export default function () { const browser = chromium.launch({ headless: false }); const page = browser.newPage(); page …
Janesh Kodikara
  • 1,670
  • 1
  • 12
  • 23
-1
votes
0 answers

K6 Browser - cant click on location preference "Block" on URL

URL similar to Lowes that requires location “Block” or “Allow” pop up. I am new to K6 and need to click on those window popup button somehow. Did anyone get this working? Tried changing Chrome settings not to ask for Location, tried…