Skip to content

Commit f596cb8

Browse files
committed
chore: update example api urls
1 parent 6aa1935 commit f596cb8

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# k6 Typescript Framework
22
A starter framework for k6 load tests written in TypeScript.
33

4-
We'll be using the [LoadImpact Test API](https://test-api.loadimpact.com/) as the website we'll be testing. This is a dummy application/api for crocodiles owners to use who want to keep track of their crocodiles. In the test we will **create a user**, **query** some crocodiles, and **create**, **update** and **delete** a crocodile.
4+
We'll be using the [k6 Test API](https://test-api.k6.io) as the website we'll be testing. This is a dummy application/api for crocodiles owners to use who want to keep track of their crocodiles. In the test we will **create a user**, **query** some crocodiles, and **create**, **update** and **delete** a crocodile.
55

66
## Quick Start :zap:
77

@@ -58,7 +58,7 @@ This is just an example script and not needed for the test.
5858

5959
The test is based on the following sample script and API provided by k6:
6060

61-
https://test-api.loadimpact.com/
61+
https://test-api.k6.io/
6262

6363
This is a dummy api for people who own crocodiles to keep track of their crocodiles.
6464

@@ -120,7 +120,7 @@ It's easy to debug `k6` scripts. See the [k6 documentation](https://docs.k6.io/d
120120

121121
## Running in CI/CD Pipelines
122122

123-
`k6` has been designed to work with your `CI/CD` pipeline whatever tool you're using. There are examples for [GitHub Actions](https://blog.loadimpact.com/load-testing-using-github-actions), [GitLab](https://blog.loadimpact.com/integrating-load-testing-with-gitlab), [CircleCI](https://github.com/loadimpact/k6-circleci-example), [Jenkins](https://github.com/loadimpact/k6-jenkins-example) and many others.
123+
`k6` has been designed to work with your `CI/CD` pipeline whatever tool you're using. There are examples for [GitHub Actions](https://k6.io/blog/load-testing-using-github-actions), [GitLab](https://k6.io/blog/integrating-load-testing-with-gitlab), [CircleCI](https://github.com/loadimpact/k6-circleci-example), [Jenkins](https://github.com/loadimpact/k6-jenkins-example) and many others.
124124

125125

126126
## Problems with this Framework

src/tests/create-crocs.seed.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Counter } from 'k6/metrics';
1616
* This is a SEEDING script. Do not run as a performance test.
1717
*
1818
* It creates crocodiles on the following app:
19-
* https://test-api.loadimpact.com/
19+
* https://test-api.k6.io/
2020
* for use by the performance tests (a Soak test in this case).
2121
*/
2222

@@ -35,7 +35,7 @@ const CROCODILE_OWNER: User = {
3535
password: 'superCroc2019'
3636
}
3737

38-
const BASE_URL = 'https://test-api.loadimpact.com';
38+
const BASE_URL = 'https://test-api.k6.io';
3939

4040
// The Setup Function is run once before the Load Test https://docs.k6.io/docs/test-life-cycle
4141
export function setup() {
@@ -71,4 +71,4 @@ export default (_authToken: string) => {
7171

7272
export function teardown() {
7373
// you can add functionality here to save the crocodile IDs to a JSON file for use by the performance tests.
74-
}
74+
}

src/tests/soak.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Counter } from 'k6/metrics';
1616
/**
1717
* A soak test that runs through some common user actions
1818
* for the Crocodile App:
19-
* https://test-api.loadimpact.com/
19+
* https://test-api.k6.io/
2020
*
2121
* P.s. the k6 Types can be found here for reference:
2222
* https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6
@@ -62,7 +62,7 @@ const CROCODILE_OWNER: User = {
6262
password: 'superCroc2019'
6363
}
6464

65-
const BASE_URL = 'https://test-api.loadimpact.com';
65+
const BASE_URL = 'https://test-api.k6.io';
6666

6767
// The Setup Function is run once before the Load Test https://docs.k6.io/docs/test-life-cycle
6868
export function setup() {
@@ -107,4 +107,4 @@ export default (_authToken:string) => {
107107

108108
// sleeps help keep your script realistic https://docs.k6.io/docs/sleep-t-1
109109
setSleep();
110-
}
110+
}

0 commit comments

Comments
 (0)