diff --git a/k6/foundations/13.basic.websockets.js b/k6/foundations/13.basic.websockets.js index 70a1a5b..bc7b030 100644 --- a/k6/foundations/13.basic.websockets.js +++ b/k6/foundations/13.basic.websockets.js @@ -1,6 +1,6 @@ import { sleep } from 'k6'; import { WebSocket } from 'k6/experimental/websockets'; -import { setInterval } from 'k6/experimental/timers'; +import { setInterval } from 'k6/timers'; import { Counter } from "k6/metrics"; let BASE_URL = __ENV.BASE_URL || 'http://localhost:3333'; diff --git a/k6/foundations/15.basic.profiling.js b/k6/foundations/15.basic.profiling.js index 6915c21..e5ecfbd 100644 --- a/k6/foundations/15.basic.profiling.js +++ b/k6/foundations/15.basic.profiling.js @@ -1,6 +1,6 @@ import http from "k6/http"; import { check, sleep } from "k6"; -import pyroscope from "https://jslib.k6.io/http-instrumentation-pyroscope/1.0.0/index.js"; +import pyroscope from "https://jslib.k6.io/http-instrumentation-pyroscope/1.0.1/index.js"; const BASE_URL = __ENV.BASE_URL || "http://localhost:3333";