You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sources/next/testing-guides/injecting-faults-with-xk6-disruptor/expose-your-application.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
title: 'Expose your application'
3
3
excerpt: 'How to make your applications accessible from the test scripts.'
4
4
weight: 04
5
+
aliases:
6
+
- ./expose--your-application/
5
7
---
6
8
7
9
# Expose your application
@@ -31,7 +33,7 @@ Until this issue is solved in `kubectl`, tests using port forwarding to access a
31
33
32
34
The simplest way to accomplish this is to ensure the scenario that executes the load (#2) starts after the scenario that injects the faults (#1):
33
35
34
-
```javascript
36
+
```js
35
37
scenarios: {
36
38
disrupt: { // #1 inject faults
37
39
executor:'shared-iterations',
@@ -62,25 +64,29 @@ If your cluster is deployed in a public cloud, check your cloud provider documen
62
64
If the service that you want your tests to access is not defined as a load balancer, you can change the service type with the following command. The service will then receive an external IP.
| Has enough VUs | the extra VUs are "idle," ready to be used when needed. |
71
71
| Has insufficient VUs. | k6 emits a [`dropped_iterations` metric](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/scenarios/concepts/dropped-iterations) for each iteration that it can't run. |
72
72
73
73
## Iteration duration affects the necessary allocation
@@ -96,7 +96,7 @@ As dropped iterations can also indicate that the system performance is degrading
96
96
In cloud tests, the number of `maxVUs` counts against your subscription,
97
97
**overriding the number set by `preAllocatedVUs`**.
98
98
99
-
{{% /admonition %}}
99
+
{{% /admonition %}}
100
100
101
101
The arrival-rate executors also have a `maxVUs` property.
Copy file name to clipboardExpand all lines: docs/sources/next/using-k6/scenarios/concepts/graceful-stop.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: 'Graceful stop'
3
3
excerpt: 'This option is available for all executors except externally-controlled and allows the user to specify a duration to wait before forcefully interrupting them.'
Copy file name to clipboardExpand all lines: docs/sources/v0.47.x/testing-guides/injecting-faults-with-xk6-disruptor/expose-your-application.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
title: 'Expose your application'
3
3
excerpt: 'How to make your applications accessible from the test scripts.'
4
4
weight: 04
5
+
aliases:
6
+
- ./expose--your-application/
5
7
---
6
8
7
9
# Expose your application
@@ -31,7 +33,7 @@ Until this issue is solved in `kubectl`, tests using port forwarding to access a
31
33
32
34
The simplest way to accomplish this is to ensure the scenario that executes the load (#2) starts after the scenario that injects the faults (#1):
33
35
34
-
```javascript
36
+
```js
35
37
scenarios: {
36
38
disrupt: { // #1 inject faults
37
39
executor:'shared-iterations',
@@ -62,25 +64,29 @@ If your cluster is deployed in a public cloud, check your cloud provider documen
62
64
If the service that you want your tests to access is not defined as a load balancer, you can change the service type with the following command. The service will then receive an external IP.
0 commit comments