[In internal-docs](obsidian://open?vault=internal-docs&file=company%2Fdevrel%2FProjects%2FOffice%20Hours%2FkOH%2035%20-%20Robin%20and%20Tom) <iframe width="560" height="315" src="https://www.youtube.com/embed/Y4qDAaJgxV0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> ## Guests - [[Tom Miseur]] - [[Robin Gustafsson]] ## Thumbnail ![[kOH35 - Robin and Tom.png]] ## Topics - Intros all around - The argument for front-end testing vs back-end testing (show graphic) - Why focus on back-end testing? - However, testing the front-end is still necessary - In fact, Steve Souders says that 80% of performance issues is in the front-end - So why haven't we done it until now? - browser tests are expensive to run (compared to protocol-level tests) - there are many browser testing tools-- but maintaining two test suites is not ideal - The big announcement: xk6-browser - Why? - Front-end + back-end - Protocol + browsers - Support for SPAs and apps that are complicated to script on the protocol level - What? - rough API compatibility with Playwright - based on Chrome DevTools protocol - Written in Go, but scripts are written in JavaScript - Demo (Robin) - How to get started - Create a custom version of k6 using xk6 - Eventually we'll build it into k6 core, but for now it's separate - Features - What works? - Playwright-esque API - What doesn't work (limitations) - No async - Lots of features, but it's still in beta - Goals with xk6-browser - Stability - k6 feature compatibility - Expanded test coverage - Check out our sessions at ObservabilityCON - keynote (Nicole) - Intro to using k6 load testing with the Grafana observability stack (Robin, Olha, Nicole) - Building performance tests into your CI pipeline with k6 and Grafana (Matthew Churcher from Vonage) - GitHub Actions - No Office Hours next week because Nicole is on vacation! But the week after that, we will have Simon Legander, who heads our front-end development team, to talk about recent features in k6 Cloud. ## Timestamps ## References Catch the announcement here: https://grafana.com/go/observabilitycon/2021/k6-load-testing/ Learn more about the xk6 extension system: https://k6.io/blog/extending-k6-with-xk6/ Try the xk6-browser extension: https://github.com/grafana/xk6-browser