gimler/log-extension

Log extension for Behat

Installs: 124

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:behat-extension

dev-master 2013-10-18 06:20 UTC

This package is not auto-updated.

Last update: 2024-07-15 14:40:09 UTC


README

Provides a simple listener to grab the server access logs splitted for each feature.

Dependency Status

Installation

This extension requires:

  • Behat 2.4+
  • Mink 1.4+
  • Mink extension

Through Composer

The easiest way to keep your suite updated is to use Composer <http://getcomposer.org>_.

You can add log extension as dependancies for your project.

Project dependancy

  1. Define dependencies in your composer.json:
{
  "require": {
    ...
    "gimler/log-extension": "*"
  }
}
  1. Install/update your vendors:
$ curl http://getcomposer.org/installer | php
$ php composer.phar install
  1. Activate extension by specifying its class in your behat.yml:
# behat.yml
default:
  # ...
  extensions:
    Gimler\Behat\LogExtension\Extension: ~

Configuration

  • output_path - the directory where store .jmx files
  • access_log - path to the server access log

JMeter

There is a script tests\jmeter_generator.php it generates jmeter testplan that reads all access logs.

Copyright

Copyright (c) 2013 Gordon Franke (blog.gimler.de). See LICENSE for details.

Contributors