{"library":"artillery-plugin-expect","type":"library","category":null,"description":"Artillery-plugin-expect is an official plugin for Artillery, a powerful open-source load and functional testing tool built with Node.js. This plugin extends Artillery's capabilities by adding support for declarative checks and assertions on HTTP requests directly within YAML test scripts. It enables users to perform functional or acceptance testing alongside performance testing, verifying response status codes, content types, headers, body properties (via JSONPath or JMESPath), and regex matches. The current stable version is 2.24.0, and its development and release cadence are now tightly integrated with the main Artillery project since its codebase was moved into the core repository in December 2022. This plugin is a key differentiator for Artillery, allowing comprehensive API testing (both load and functional) from a single, YAML-driven test definition, making it suitable for CI/CD pipelines to run post-deployment smoke tests.","language":"javascript","status":"active","version":"2.24.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install artillery-plugin-expect","imports":["config:\n  plugins:\n    expect: {}","scenarios:\n  - name: My Scenario\n    flow:\n      - get:\n          url: '/api/data'\n          expect:\n            - statusCode: 200\n            - contentType: json\n            - hasProperty: 'items'\n            - equals:\n                - 'expectedValue'\n                - '{{ jsonProp }}'"]},{"cmd":"yarn add artillery-plugin-expect","imports":[]},{"cmd":"pnpm add artillery-plugin-expect","imports":[]}],"homepage":"https://artillery.io","github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/artillery-plugin-expect","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/artillery-plugin-expect/compatibility"}}