
Explore performance testing with k6, compare it to JMeter and LoadRunner, learn JavaScript scripting, microservices and API testing, and integrate Grafana and InfluxDB for end-user insights.
Install k6 and VS Code, configure extensions, and create a sample script from a recording. Run tests locally or in k6 cloud and explore InfluxDB and Grafana.
Learn to build k6 API tests from swagger post and get calls by structuring imports, scenarios, and data declarations, then parameterize with CSV or JSON for robust testing.
Parameterize inputs in k6 by loading CSV or JSON into a shared array in the init stage. Drive script actions with randomized data for realistic load testing.
Learn how to parameterize k6 load tests with csv and json data, using a shared array to ensure a one-to-one mapping and scenario.iteration for unique per-iteration data.
Explore how to vary data in k6 tests using CSV files, balancing per-iteration and per-request value changes for fields like project IDs, with options for random or unique data.
Explore k6 parameterization by reading a csv and logging values. Illustrate correlation using json path to extract dynamic ids and reuse them in subsequent requests, with swagger examples.
Learn how to parameterize tests and correlate dynamic json data in k6, using json path to capture post-created pet ids and reuse them in subsequent get requests, with swagger examples.
Master correlation in k6 for ui based applications by extracting product ids from html with left and right boundaries, and capturing emails, addresses, and confirmation numbers across responses.
Explore error handling and validation in k6 tests, including checks for http status and json path, plus file writing workarounds using go addons.
Publish k6 test results via csv export, an html report, or console logs, and define checks, thresholds, and sla using 95th percentile and response times for grafana with influxdb.
configure live monitoring by exporting k6 data to InfluxDB and Grafana, visualize results with dashboards, and run cloud tests using the CLI and Case Cloud integration.
In this comprehensive course, you will delve into the world of performance testing using K6, a modern and powerful open-source tool. Whether you're a seasoned software tester, a developer, or a DevOps engineer, this course equips you with the knowledge and skills needed to conduct efficient and insightful performance tests.
The course begins with an introduction to K6, highlighting its advantages over traditional performance testing tools and guiding you through the installation and configuration process. You'll learn how to develop scripts for testing APIs and microservices, mastering essential techniques such as parametrization, correlation, error handling, and managing authorization headers.
Next, you'll explore UI testing with K6, utilizing browser recorder extensions to record and customize scripts for testing user interfaces. From parameterization to correlation and error handling, you'll learn how to ensure robust and comprehensive UI tests.
Throughout the course, you'll harness the power of K6 utilities and functions, leveraging random item selection, string manipulation, and exception handling to create efficient and resilient test scripts. You'll also gain insight into end-user experience and client-side performance, learning to evaluate UI elements, browser performance, and more.
Hands-on exercises and real-world scenarios will guide you through the execution of tests, both locally and in cloud environments. You'll learn to analyze test results and generate insightful reports, enabling you to make informed decisions about performance optimization and scalability.
Additionally, the course covers advanced topics such as integrating K6 with InfluxDB and Grafana for visualization, converting Swagger specifications into API scripts, and reinforcing JavaScript basics for script development.
By the end of this course, you'll be equipped with the knowledge and practical skills to conduct performance testing effectively using K6, empowering you to ensure the performance, scalability, and reliability of your software applications and systems.