This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Simple behat script to smoke test your Drupal site by using sitemap.xml

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 3

Open Issues: 2


1.0.0-beta1 2017-05-23 13:01 UTC

This package is auto-updated.

Last update: 2021-11-26 02:43:49 UTC



Behat Sitemap Extension provides a way to smoke/sanity test all site pages by getting the URLs from /sitemap.xml and visiting them to see if we get 200 response.


  • Provide a simple way to start with behat
  • With minimal effort, sanity check all pages.


Quick start

Clone this repository and then run:

export BEHAT_PARAMS='{"extensions":{"Behat\\MinkExtension":{"base_url":"http://localhost"}}}'; bin/behat

Note: Replace http://localhost with your site URL.

Run for multiple sites

Add a CSV file of site URLs and tags to run with (Only available tag with this extension is "@smoke") and run:



Feel free to open an issue or pull request to improve, add new features and bug fixes.


This project is distributed under the terms of the GNU General Public License version 2