k6-cucumber-steps 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +7 -4
  2. package/package.json +5 -1
  3. package/.env +0 -17
  4. package/reports/load-results.html +0 -50
  5. package/reports/load-results.json +0 -1
  6. package/reports/report.html +0 -1190
  7. package/temp/k6_script.js +0 -27
  8. package/temp/load_script_2a96242d-8924-468d-a0f1-3f9555b4eef1.js +0 -44
  9. package/temp/load_script_e2119cce-eeb0-4b11-82e1-12f6827d6a82.js +0 -44
  10. package/tmp/k6_script_01d24b4b-b76e-45b1-a457-9668fb82d33a.js +0 -32
  11. package/tmp/k6_script_1438a7b8-37a7-4556-8da9-12e588e666da.js +0 -32
  12. package/tmp/k6_script_15971355-7bba-45c2-85a8-81899162beab.js +0 -32
  13. package/tmp/k6_script_32f4609f-8abb-4d48-9454-321bd66409eb.js +0 -32
  14. package/tmp/k6_script_42cd4c8b-dee1-4b23-997b-ca1b0b8aae34.js +0 -32
  15. package/tmp/k6_script_47e2a318-0613-4ef5-a53b-834b50f52790.js +0 -44
  16. package/tmp/k6_script_49e30b01-9631-4b7f-a2e9-f538bfdade19.js +0 -31
  17. package/tmp/k6_script_4b8eec2f-49ea-4f44-bc8b-075a37784d1a.js +0 -44
  18. package/tmp/k6_script_4c01eb2e-b7d2-4597-a146-a6990dd92853.js +0 -32
  19. package/tmp/k6_script_4d779cfb-0c34-472c-b5fe-85ceb25f2422.js +0 -31
  20. package/tmp/k6_script_4f00954e-7f02-4c0c-8a89-df8183266fac.js +0 -32
  21. package/tmp/k6_script_4f166411-c40b-44a9-9561-94ab8d4c97bd.js +0 -32
  22. package/tmp/k6_script_4fba8ca6-c90f-467e-bc49-15f30a8eae81.js +0 -32
  23. package/tmp/k6_script_5054b6db-ae03-453e-ad29-8b79869c17b7.js +0 -32
  24. package/tmp/k6_script_5d64d2e5-7cde-4313-969c-ca14c9178bff.js +0 -32
  25. package/tmp/k6_script_61db2aea-6187-4b51-b450-67f773c8050c.js +0 -32
  26. package/tmp/k6_script_6b6147df-69a8-4ed3-9479-0edd8a3e64cd.js +0 -32
  27. package/tmp/k6_script_6dda7a7d-dd36-4775-87f5-d0365715ae2b.js +0 -32
  28. package/tmp/k6_script_6e8b3778-ef67-417e-a7c5-885a43529b72.js +0 -44
  29. package/tmp/k6_script_6fca496e-f9d3-47e6-b214-8b998b69e9c8.js +0 -32
  30. package/tmp/k6_script_7ca87434-af5c-4ecc-9a7e-0ce7ae5c05c3.js +0 -32
  31. package/tmp/k6_script_7ff302b6-5bfd-440d-a7e4-bf60cf3ec23b.js +0 -31
  32. package/tmp/k6_script_817f7c24-46a8-4c8e-8c8b-7d63ae8c90f9.js +0 -32
  33. package/tmp/k6_script_88b6b615-94b7-4af4-a05b-40439f73c38a.js +0 -32
  34. package/tmp/k6_script_8a9b2d06-fdf9-408b-98e6-4228e039f66b.js +0 -32
  35. package/tmp/k6_script_8b3bbfa7-4fa6-4116-81ff-db61d60bafd3.js +0 -44
  36. package/tmp/k6_script_93acfc41-ce38-4363-8394-faf4568c62a7.js +0 -33
  37. package/tmp/k6_script_9424816a-7712-400d-80b1-235cf298b102.js +0 -32
  38. package/tmp/k6_script_a8ddb599-632f-4a05-9d6f-b99c93e7533f.js +0 -32
  39. package/tmp/k6_script_a9b18f14-bf36-4423-a706-1e132ff3cfda.js +0 -32
  40. package/tmp/k6_script_a9eb065f-d0b9-42b8-b4fa-90d9c67787a4.js +0 -32
  41. package/tmp/k6_script_aac9cc10-b5cd-4fd6-9ba7-ad37b55a5e0c.js +0 -32
  42. package/tmp/k6_script_ac7f2225-f35b-4330-aa95-ea7468d652ed.js +0 -32
  43. package/tmp/k6_script_acb5057c-60cc-47b3-b8aa-718912587694.js +0 -32
  44. package/tmp/k6_script_aecaaf81-a2e9-4342-a90b-3077eba3fdbe.js +0 -32
  45. package/tmp/k6_script_b054781a-fbe3-41ab-8a55-52c7923bb4e3.js +0 -32
  46. package/tmp/k6_script_b210e574-c636-4b1a-9245-f9d9ce9ba731.js +0 -32
  47. package/tmp/k6_script_b4abecc0-91a9-4dc4-8e40-480a31b7954e.js +0 -32
  48. package/tmp/k6_script_b5a61631-afe3-47c4-af92-40213c3afe1a.js +0 -32
  49. package/tmp/k6_script_b6c1de34-edde-4e1d-be3f-504147837617.js +0 -32
  50. package/tmp/k6_script_be52dc14-7325-4ba0-ba2c-125c1dffab0c.js +0 -42
  51. package/tmp/k6_script_c2dbe965-703c-4c8d-83f0-db2eb73b1ab3.js +0 -32
  52. package/tmp/k6_script_c2ecca4f-7a01-4560-9fe0-4a5184497482.js +0 -33
  53. package/tmp/k6_script_cd13c408-4d59-490a-b788-f2e69ab5aeac.js +0 -32
  54. package/tmp/k6_script_cde84f7c-9d97-4c51-a315-005af6463f40.js +0 -33
  55. package/tmp/k6_script_cfbf49b0-d50a-4e00-b0ee-c1f37ae101bc.js +0 -32
  56. package/tmp/k6_script_d0599a1d-7fe5-4a58-b1f7-571a9c586732.js +0 -32
  57. package/tmp/k6_script_d1cd0a14-dc18-4034-a859-cd8b30da7c68.js +0 -32
  58. package/tmp/k6_script_d2365925-9612-48b5-87e9-4ecd81212133.js +0 -32
  59. package/tmp/k6_script_d38531f2-a437-4117-a4d3-076a11f7dfa6.js +0 -32
  60. package/tmp/k6_script_d415abc5-41b3-4445-a8bf-9c13c3208c59.js +0 -32
  61. package/tmp/k6_script_d9a6e7f4-5b88-4fcf-90d8-0183a1b96608.js +0 -32
  62. package/tmp/k6_script_e70b4a0a-1d52-431c-92e1-a53fd6739dfc.js +0 -32
  63. package/tmp/k6_script_e7bc2c96-7603-468b-b4be-d609d3c2f6ce.js +0 -32
  64. package/tmp/k6_script_e9687b8a-7885-48e5-91ad-9dcd21acc401.js +0 -32
  65. package/tmp/k6_script_ee2c199b-643d-4a78-b8df-7319e02783c1.js +0 -32
  66. package/tmp/k6_script_fe495d2f-7943-4151-a7fe-004ad443083d.js +0 -32
package/README.md CHANGED
@@ -9,6 +9,7 @@
9
9
  [![license](https://img.shields.io/npm/l/k6-cucumber-steps)](https://github.com/qaPaschalE/k6-cucumber-steps/blob/main/LICENSE)
10
10
  [![Cucumber](https://img.shields.io/badge/built%20with-Cucumber-3178c6.svg)](https://cucumber.io/)
11
11
  [![Node.js](https://img.shields.io/badge/node-%3E=18-green.svg)](https://nodejs.org/)
12
+ [![Sponsor](https://img.shields.io/github/sponsors/qaPaschalE?style=social)](https://github.com/sponsors/qaPaschalE)
12
13
 
13
14
  Run [k6](https://k6.io/) performance/load tests using [Cucumber](https://cucumber.io/) BDD syntax with ease.
14
15
 
@@ -65,8 +66,8 @@ Here's a step-by-step guide to using `k6-cucumber-steps` in your project:
65
66
 
66
67
  1. **Node.js and npm (or yarn):** Ensure you have Node.js and npm (or yarn) installed.
67
68
  2. **k6:** Install k6 on your system following the instructions at [k6.io/docs/getting-started/installation/](https://www.google.com/search?q=https://k6.io/docs/getting-started/installation/).
68
- 3. **@cucumber/cucumber:** This package is required for using Cucumber.
69
- 4. **cucumber-html-reporter:** This package is needed if you intend to generate detailed HTML reports
69
+ 3. **@cucumber/cucumber:(optional)** This package is required for using Cucumber.
70
+ 4. **cucumber-html-reporter:(optional)** This package is needed if you intend to generate detailed HTML reports
70
71
 
71
72
  **Setup:**
72
73
 
@@ -105,9 +106,7 @@ Here's a step-by-step guide to using `k6-cucumber-steps` in your project:
105
106
  require("dotenv").config();
106
107
 
107
108
  module.exports = {
108
- requireModule: ["@babel/register"], // If your features or local steps need transpilation
109
109
  require: [
110
- "./node_modules/k6-cucumber-steps/step_definitions/**/*.js", // Path to k6-cucumber-steps' step definitions
111
110
  // You can add paths to your local step definitions here if needed
112
111
  ],
113
112
  format: [
@@ -246,6 +245,10 @@ All generated k6 scripts and artifacts are cleaned automatically after test exec
246
245
 
247
246
  ---
248
247
 
248
+ ## 💖 Support
249
+
250
+ If you find this package useful, consider [sponsoring me on GitHub](https://github.com/sponsors/qaPaschalE). Your support helps me maintain and improve this project!
251
+
249
252
  ## 📄 License
250
253
 
251
254
  MIT License - [@qaPaschalE](https://github.com/qaPaschalE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k6-cucumber-steps",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -10,6 +10,10 @@
10
10
  "bugs": {
11
11
  "url": "https://github.com/qaPaschalE/k6-cucumber-steps/issues"
12
12
  },
13
+ "funding": {
14
+ "type": "github",
15
+ "url": "https://github.com/sponsors/qaPaschalE"
16
+ },
13
17
  "homepage": "https://github.com/qaPaschalE/k6-cucumber-steps#readme",
14
18
  "scripts": {
15
19
  "stress": "npx cucumber-js --format json:stress-results.json --tags @stress",
package/.env DELETED
@@ -1,17 +0,0 @@
1
- # .env
2
- TEST_ENVIRONMENT=STAGING
3
- APP_VERSION=1.0.0
4
- BROWSER=Chrome 100.0.4896.88
5
- PLATFORM=Windows 10
6
- PARALLEL=Scenarios
7
- EXECUTED=Remote
8
- TAGS=@loadTest
9
-
10
- # Base URLs
11
- # API_URL=https://unstable-performance.seamlesshrms.com
12
- # BASE_URL=https://unstable-performance.seamlesshrms.com
13
- BASE_URL=https://postman-echo.com
14
-
15
- # Secret Parameters
16
- API_KEY=Ta344
17
- BEARER_TOKEN=efhIbOE4Ft4bo8u1JKw