Skip to content

Commit

Permalink
Cloud: create Manage Section and migrate content
Browse files Browse the repository at this point in the history
  • Loading branch information
ppcano authored and Pepe Cano committed Aug 24, 2021
1 parent 991cedd commit f3f5a72
Show file tree
Hide file tree
Showing 77 changed files with 37 additions and 27 deletions.
21 changes: 21 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,27 @@ const createRedirects = ({ actions }) => {
isPermanent: true,
});

createRedirect({
fromPath: '/cloud/project-and-team-management/usage-reports/',
toPath: '/cloud/manage/usage-reports/',
isPermanent: true,
});
createRedirect({
fromPath: '/cloud/integrations/notifications/',
toPath: '/cloud/manage/notifications/',
isPermanent: true,
});
createRedirect({
fromPath: '/cloud/project-and-team-management/thresholds/',
toPath: '/cloud/manage/thresholds/',
isPermanent: true,
});
createRedirect({
fromPath: '/cloud/creating-and-running-a-test/scheduling-tests/',
toPath: '/cloud/manage/scheduled-tests/',
isPermanent: true,
});

const redirects = {
'/javascript-api/k6-http/cookiejar-k6-http':
'/javascript-api/k6-http/cookiejar/',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can easily find the tests with failing thresholds, which project they belong

The Thresholds page can be found in the **Manage** section of the left menu.

![Full UI](images/06-Thresholds/full-ui.png)
![Full UI](images/Thresholds/full-ui.png)

It can be broken down into:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 'Scheduling tests'
title: 'Scheduled tests'
excerpt: 'A guide on how to schedule your load tests to run in the future or on a schedule within the k6 Cloud Web UI.'
---

Expand All @@ -19,7 +19,6 @@ Schedules can be set up from two different places:
### 1. Schedules overview page

Located in the left menu under **Manage section** you will find **Scheduled tests** option.
![Schedules page link](./images/Scheduling-a-test/schedules-page-link.png)

On this page you can quickly find and edit all test schedules that have been created in your organization.<br/>
You are also able to create a new schedule for any of your projects and cloud tests directly from this page.
Expand Down Expand Up @@ -57,4 +56,4 @@ In both cases, you are presented with the following options.

![Schedule configuration](./images/Scheduling-a-test/schedule-configuration.png)

Finally - we do recommend setting up [notifications](/cloud/integrations/notifications) and [thresholds](/using-k6/thresholds) to complete an automated loop. Schedule your test to run and get notified if the test has passed or failed.
Finally - we do recommend setting up [notifications](/cloud/manage/notifications) and [thresholds](/using-k6/thresholds) to complete an automated loop. Schedule your test to run and get notified if the test has passed or failed.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ k6 supports four different integration options: _Slack_, _Microsoft Teams_ and
your own _Custom Webhook_ or _Custom Email_. Each option can also be customized freely
if our default is not exactly what you need.

![k6 Notifications](./images/03-Notifications/notification-type-selection.png)
![k6 Notifications](./images/Notifications/notification-type-selection.png)

## Adding a Slack notification

Expand All @@ -37,7 +37,7 @@ if our default is not exactly what you need.
7. Press `Save`. If you now go back to `Configure` the notification you just created, you'll see a
`Send test event` button. Use that to send a dummy message and to make sure it works.

![Slack Setup example](./images/03-Notifications/slack-setup.png)
![Slack Setup example](./images/Notifications/slack-setup.png)

> By pressing the _toggle advanced mode_ button you can view and customize exactly what will be
> sent to Slack. Read more about it in the [Custom webhook](#adding-a-custom-webhook) section below.
Expand All @@ -59,7 +59,7 @@ collaboration in office 365.
6. Press `Save`. If you now go back to `Configure` the notification you just created, you'll see a
`Send test event` button. Use that to send a dummy message and make sure it works.

![MSTeams Setup example](./images/03-Notifications/ms-teams-setup.png)
![MSTeams Setup example](./images/Notifications/ms-teams-setup.png)

> By pressing the _toggle advanced mode_ button you can view and customize
> exactly what will be sent to Microsoft Teams. Read more about it in the
Expand Down Expand Up @@ -97,7 +97,7 @@ customized directly in the k6 app.
receiving end (if there was a typo in the variable-name some may just be
left empty without giving an explicit error).

![MSTeams Setup example](./images/03-Notifications/custom-webhook-setup.png)
![MSTeams Setup example](./images/Notifications/custom-webhook-setup.png)

## Adding a Custom Email notification

Expand Down Expand Up @@ -126,7 +126,7 @@ Instead of using webhooks you can have k6.io send you an email.
receiving end (if there was a typo in the variable-name some may just be
left empty without giving an explicit error).

![Email Setup example](./images/03-Notifications/email-setup.png)
![Email Setup example](./images/Notifications/email-setup.png)

## Supported Notification events

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ Usage report helps you keep track of everything happening in your team’s proje
The page can be found in the left menu under the **Manage** section.

![Full UI](images/05-Usage-Reports/menu.png)

On this page you will be presented with both organization and project statistics, lets break down what we are looking at.

**Section highlighted in green**<br/>
Expand All @@ -23,7 +21,7 @@ This section presents overview statistics for your organization.
**Section highlighted in yellow**<br/>
Here are statistics for each individual project.

![Full UI](images/05-Usage-Reports/full-ui.jpg)
![Full UI](images/Usage-Reports/full-ui.jpg)

| Column | Description |
| ---------------------------- | ------------------------------------------------------------------------------------- |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Generalized, our recommendation is as follows, broken down by VU iteration durat

Besides triggering tests based on commit events, we also often see users and customers use [cron](https://k6.io/blog/performance-monitoring-with-cron-and-k6) or CI tool equivalent mechanisms for running tests on off-hours or at a particular cadence.

If you're using k6 Cloud you can use the built in [scheduling feature](/cloud/creating-and-running-a-test/scheduling-tests) to trigger tests at a frequency of your choosing.
If you're using k6 Cloud you can use the built in [scheduling feature](/cloud/manage/scheduled-tests) to trigger tests at a frequency of your choosing.

**Load test suite**

Expand Down Expand Up @@ -290,7 +290,7 @@ export function teardown(data) {

### For k6 cloud

If you are running cloud tests you can also configure custom email- and webhook [notifications in the k6.io cloud GUI](/cloud/integrations/notifications). It includes several pre-made templates, such as for Slack and Microsoft Teams.
If you are running cloud tests you can also configure custom email- and webhook [notifications in the k6.io cloud GUI](/cloud/manage/notifications). It includes several pre-made templates, such as for Slack and Microsoft Teams.


## See also
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ De forma general, nuestra recomendación es la siguiente, desglosada por la dura

Además de desencadenar pruebas basadas en eventos de commit, también vemos a menudo que los usuarios y clientes utilizan mecanismos equivalentes a las herramientas de [cron](https://k6.io/blog/performance-monitoring-with-cron-and-k6) o CI para ejecutar pruebas en horas no laborables o con una frecuencia determinada.

Si utiliza k6 Cloud, puede utilizar la [función de scheduling](/cloud/creating-and-running-a-test/scheduling-tests) para configurar la ejecución de las pruebas con la frecuencia que desee.
Si utiliza k6 Cloud, puede utilizar la [función de scheduling](/cloud/manage/scheduled-tests) para configurar la ejecución de las pruebas con la frecuencia que desee.

**Conjunto de pruebas de carga**

Expand Down Expand Up @@ -270,7 +270,7 @@ export function teardown(data) {

### Para k6 cloud

Si está ejecutando sus pruebas en la nube, en la aplicación web, puede configurar estas [notificaciones](/cloud/integrations/notifications): Slack, Webhook y Microsoft Teams.
Si está ejecutando sus pruebas en la nube, en la aplicación web, puede configurar estas [notificaciones](/cloud/manage/notifications): Slack, Webhook y Microsoft Teams.

## Véase también

Expand Down
14 changes: 3 additions & 11 deletions src/templates/docs/cloud.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,11 @@ export default function Cloud({ pageContext: { sidebarTree, navLinks } }) {
.
</Trait>
<Trait>
<Link
to={
'/cloud/creating-and-running-a-test/scheduling-tests/'
}
>
<Link to={'/cloud/manage/scheduled-tests/'}>
Scheduling
</Link>{' '}
and{' '}
<Link to={'/cloud/integrations/notifications/'}>
<Link to={'/cloud/manage/notifications/'}>
Notifications
</Link>
.
Expand All @@ -163,11 +159,7 @@ export default function Cloud({ pageContext: { sidebarTree, navLinks } }) {
</Trait>
<Trait>
See team and testing activity with{' '}
<Link
to={
'/cloud/project-and-team-management/usage-reports/'
}
>
<Link to={'/cloud/manage/usage-reports/'}>
Usage reports
</Link>
.
Expand Down

0 comments on commit f3f5a72

Please sign in to comment.