Bundeling / ArtilleryPhp

Artillery.io PHP wrapper.
https://bundeling.github.io/ArtilleryPhp/namespaces/artilleryphp.html
MIT License
4 stars 0 forks source link

Preliminary testing. #3

Closed eslof closed 1 year ago

eslof commented 1 year ago

Using the validate-script.js from the Artillery repo, along with a bash script that will build yaml files for all the ArtilleryPhp-examples, and then with validate.js load the yaml and run the joi validation from the validate-script.js file.

eslof commented 1 year ago

✅ Validation success: ../examples/http-metrics-by-endpoint/endpoint-metrics-php.yml ✅ Validation success: ../examples/table-driven-functional-tests/functional-test-php.yml ✅ Validation success: ../examples/track-custom-metrics/custom-metrics-php.yml ✅ Validation success: ../examples/artillery-plugin-hello-world/test-php.yml ✅ Validation success: ../examples/scenario-weights/scenario-weights-php.yml ✅ Validation success: ../examples/artillery-engine-example/example-php.yml ✅ Validation success: ../examples/using-data-from-csv/website-test-php.yml ✅ Validation success: ../examples/artilleryphp-usage/readme-example.yml ✅ Validation success: ../examples/file-uploads/file-uploads-php.yml ✅ Validation success: ../examples/browser-load-testing-playwright/advanced-custom-metric-for-subflow-php.yml ✅ Validation success: ../examples/browser-load-testing-playwright/browser-smoke-test-php.yml ✅ Validation success: ../examples/browser-load-testing-playwright/browser-load-test-php.yml ✅ Validation success: ../examples/using-cookies/cookies-php.yml ✅ Validation success: ../examples/script-overrides/test-php.yml ✅ Validation success: ../examples/websockets/websockets-php.yml ✅ Validation success: ../examples/functional-testing-with-expect-plugin/functional-load-tests-php.yml ✅ Validation success: ../examples/generating-vu-tokens/auth-with-token-php.yml ✅ Validation success: ../examples/http-set-custom-header/set-header-php.yml ✅ Validation success: ../examples/socket-io/socket-io-php.yml ❌ Validation error: ../examples/multiple-scenario-specs/common-config-php.yml ↳ "scenarios" is required ✅ Validation success: ../examples/multiple-scenario-specs/scenarios/dino-php.yml ✅ Validation success: ../examples/multiple-scenario-specs/scenarios/pony-php.yml ✅ Validation success: ../examples/multiple-scenario-specs/scenarios/armadillo-php.yml ✅ Validation success: ../examples/starter-kit/scenarios/sample_task_03-php.yml ✅ Validation success: ../examples/starter-kit/scenarios/sample_task_02-php.yml ✅ Validation success: ../examples/starter-kit/scenarios/sample_task_01-php.yml