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
While I can see there is output occurring due to circleCI artifacts tab having the following contents (I have broken the link on purpose for security reasons):
When I click on that artifact, it is not json, it is typical output you get in CLI, such as this:
execution: local
script: loadtests/performance-test.js
output: json (full.json)
scenarios: (100.00%) 1 scenario, 1 max VUs, 40s max duration (incl. graceful stop):
* protocol: 1 looping VUs for 10s (exec: protocol, gracefulStop: 30s)
There is no JSON file on the filesystem
Expected behavior:
I would expect the JSON file to be available on the filesystem. I see the uploading artifacts step occur but I cannot see that JSON file anywhere. Perhaps I'm missing something?
Uploading /tmp/artifacts to tmp/artifacts
Uploading /tmp/artifacts (3.1 kB): DONE
Total size uploaded: 3.1 KiB
Orb version: grafana/[email protected]
What happened:
I am using a near copy of the guidance from the tutorial document I shared below:
version: 2.1
orbs:
grafana: grafana/[email protected]
workflows:
load_test:
jobs:
script: loadtests/performance-test.js --out json=full.json > /tmp/artifacts
While I can see there is output occurring due to circleCI artifacts tab having the following contents (I have broken the link on purpose for security reasons):
tmp/artifacts
When I click on that artifact, it is not json, it is typical output you get in CLI, such as this:
execution: local
script: loadtests/performance-test.js
output: json (full.json)
scenarios: (100.00%) 1 scenario, 1 max VUs, 40s max duration (incl. graceful stop):
* protocol: 1 looping VUs for 10s (exec: protocol, gracefulStop: 30s)
There is no JSON file on the filesystem
Expected behavior:
I would expect the JSON file to be available on the filesystem. I see the uploading artifacts step occur but I cannot see that JSON file anywhere. Perhaps I'm missing something?
Uploading /tmp/artifacts to tmp/artifacts
Uploading /tmp/artifacts (3.1 kB): DONE
Total size uploaded: 3.1 KiB
Additional Information:
Hello,
I'm attempting to use the k6 orb to run k6 tests via circleCI. I am able to achieve this by following the guidance here: https://grafana.com/blog/2022/03/06/load-testing-with-circleci/
The text was updated successfully, but these errors were encountered: