Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Correlation and Dynamic Data'
slug: '/correlation-and-dynamic-data'
description: |
Scripting examples on how to correlate dynamic data in your test script. Correlation is
often required when using the Chrome Extension or HAR converter to generate your test script.
often required when using the HAR converter to generate your test script.
This is due to the fact that those tools will capture session IDs, CSRF tokens, VIEWSTATE,
wpnonce, and other dynamic values from your specific session.
weight: 04
Expand All @@ -12,7 +12,7 @@ weight: 04
# Correlation and Dynamic Data

Scripting examples on how to correlate dynamic data in your test script. Correlation is often
required when using the Chrome Extension or HAR converter to generate your test script. This
required when using the HAR converter to generate your test script. This
is because those tools will capture session IDs, CSRF tokens, VIEWSTATE, wpnonce, and other
dynamic values from your specific session. These tokens typically expire very quickly. This
is one of the most common things that users will script for when testing user journeys across
Expand Down
1 change: 0 additions & 1 deletion docs/sources/k6/next/get-started/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ If you want to run tests with high loads, you can deploy and host them on your i

- [Kubernetes Operator](https://k6.io/blog/running-distributed-tests-on-k8s/). Distribute test execution across a Kubernetes cluster.
- [xk6 extensions](https://grafana.com/docs/k6/<K6_VERSION>/extensions). Custom k6 binaries to support the tool you need.
- [The browser recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder). Make test scripts from browser sessions.
- [Use TypeScript in k6 scripts](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/javascript-typescript-compatibility-mode/)
- [Integrations](https://grafana.com/docs/k6/<K6_VERSION>/misc/integrations)
1 change: 0 additions & 1 deletion docs/sources/k6/next/reference/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ weight: 01
Codeless tools to speed up the test creation.

- [Test Builder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/test-builder) - Inspired by the Postman API Builder. Codeless UI tool to generate a k6 test quickly.
- [Browser Recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder) - Record a user journey to create your k6 test.

## IDE extensions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ You can use this recording to auto-generate your test logic.
Testers commonly use recordings to avoid writing complex tests from scratch.
For example, testing advanced scenarios on websites or mobile applications, such as end-to-end (E2E) tests with dozens or hundreds of requests.

k6 provides three tools that can directly convert a recording into k6 script:
k6 provides two tools that can convert a recording into a k6 script:

- [Grafana k6 Studio](https://grafana.com/docs/k6/<K6_VERSION>/k6-studio) is an open-source desktop application designed to help you record browser interactions and generate k6 test scripts.

- [Browser recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder) generates a k6 script from a browser session.
- [HAR converter](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter) generates a k6 script from the requests included in a HAR file.

## Steps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
title: 'Using the browser recorder'
description: 'The browser recorder allows generating a k6 script based on a web session. It is available as extensions for Chrome and Firefox.'
description: 'The browser recorder allows generating a k6 script based on a web session.'
weight: 01
---

# Using the browser recorder

{{< admonition type="caution" >}}

The Grafana k6 Browser Recorder extension is deprecated and will be removed in a future release. Use [k6 Studio](https://grafana.com/docs/k6-studio) to record network traffic.
The Grafana k6 Browser Recorder extension is deprecated. Use [k6 Studio](https://grafana.com/docs/k6-studio) to record network traffic.

{{< /admonition >}}

The browser recorder lets you generate a k6 script based on a browser session.
It's available as an extension for [Chrome](https://chrome.google.com/webstore/detail/grafana-k6-browser-record/fbanjfonbcedhifbgikmjelkkckhhidl) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/grafana-k6-browser-recorder/).

## Before you start

Before you start, consider the following:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ weight: 02
# Using the HAR converter

The [har-to-k6 converter](https://github.com/k6io/har-to-k6) is a NodeJS tool that generates a k6 script based on the HTTP requests included in a [HAR file](<https://en.wikipedia.org/wiki/HAR_(file_format)>).
It is an alternative to the [Browser recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder).

{{< admonition type="note" >}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Correlation and Dynamic Data'
slug: '/correlation-and-dynamic-data'
description: |
Scripting examples on how to correlate dynamic data in your test script. Correlation is
often required when using the Chrome Extension or HAR converter to generate your test script.
often required when using the HAR converter to generate your test script.
This is due to the fact that those tools will capture session IDs, CSRF tokens, VIEWSTATE,
wpnonce, and other dynamic values from your specific session.
weight: 04
Expand All @@ -12,7 +12,7 @@ weight: 04
# Correlation and Dynamic Data

Scripting examples on how to correlate dynamic data in your test script. Correlation is often
required when using the Chrome Extension or HAR converter to generate your test script. This
required when using the HAR converter to generate your test script. This
is because those tools will capture session IDs, CSRF tokens, VIEWSTATE, wpnonce, and other
dynamic values from your specific session. These tokens typically expire very quickly. This
is one of the most common things that users will script for when testing user journeys across
Expand Down
1 change: 0 additions & 1 deletion docs/sources/k6/v1.3.x/get-started/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ If you want to run tests with high loads, you can deploy and host them on your i

- [Kubernetes Operator](https://k6.io/blog/running-distributed-tests-on-k8s/). Distribute test execution across a Kubernetes cluster.
- [xk6 extensions](https://grafana.com/docs/k6/<K6_VERSION>/extensions). Custom k6 binaries to support the tool you need.
- [The browser recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder). Make test scripts from browser sessions.
- [Use TypeScript in k6 scripts](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/javascript-typescript-compatibility-mode/)
- [Integrations](https://grafana.com/docs/k6/<K6_VERSION>/misc/integrations)
1 change: 0 additions & 1 deletion docs/sources/k6/v1.3.x/reference/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ weight: 01
Codeless tools to speed up the test creation.

- [Test Builder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/test-builder) - Inspired by the Postman API Builder. Codeless UI tool to generate a k6 test quickly.
- [Browser Recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder) - Record a user journey to create your k6 test.

## IDE extensions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,6 @@ export function Homepage() {
}
```

[Recording browser traffic](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder) helps you prototype to test websites on the protocol level.

### Browser-based load testing

Browser-based load testing verifies the frontend performance of an application by simulating real users using a browser to access your website.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ You can use this recording to auto-generate your test logic.
Testers commonly use recordings to avoid writing complex tests from scratch.
For example, testing advanced scenarios on websites or mobile applications, such as end-to-end (E2E) tests with dozens or hundreds of requests.

k6 provides three tools that can directly convert a recording into k6 script:
k6 provides two tools that can convert a recording into a k6 script:

- [Grafana k6 Studio](https://grafana.com/docs/k6/<K6_VERSION>/k6-studio) is an open-source desktop application designed to help you record browser interactions and generate k6 test scripts.

- [Browser recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder) generates a k6 script from a browser session.
- [HAR converter](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter) generates a k6 script from the requests included in a HAR file.

## Steps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
title: 'Using the browser recorder'
description: 'The browser recorder allows generating a k6 script based on a web session. It is available as extensions for Chrome and Firefox.'
description: 'The browser recorder allows generating a k6 script based on a web session.'
weight: 01
---

# Using the browser recorder

{{< admonition type="caution" >}}

The Grafana k6 Browser Recorder extension is deprecated and will be removed in a future release. Use [k6 Studio](https://grafana.com/docs/k6-studio) to record network traffic.
The Grafana k6 Browser Recorder extension is deprecated. Use [k6 Studio](https://grafana.com/docs/k6-studio) to record network traffic.

{{< /admonition >}}

The browser recorder lets you generate a k6 script based on a browser session.
It's available as an extension for [Chrome](https://chrome.google.com/webstore/detail/grafana-k6-browser-record/fbanjfonbcedhifbgikmjelkkckhhidl) and [Firefox](https://addons.mozilla.org/en-US/firefox/addon/grafana-k6-browser-recorder/).

## Before you start

Before you start, consider the following:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ weight: 02
# Using the HAR converter

The [har-to-k6 converter](https://github.com/k6io/har-to-k6) is a NodeJS tool that generates a k6 script based on the HTTP requests included in a [HAR file](<https://en.wikipedia.org/wiki/HAR_(file_format)>).
It is an alternative to the [Browser recorder](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/test-authoring/create-tests-from-recordings/using-the-browser-recorder).

{{< admonition type="note" >}}

Expand Down
Loading