chaingun

Web server load testing tool

MIT License

Stars
2
Committers
2

Bot releases are hidden (Show)

chaingun - Support for Elasticsearch Latest Release

Published by majeinfo about 1 year ago

This version has a basic support for Elasticsearch testing. If support is too basic, remember you can test Elasticsearch as a standard HTTP server !

chaingun - Support for post-actions and Kafka

Published by majeinfo about 1 year ago

The new version fixes several bugs (in batch mode, daemon mode).
It has a better error handling in distributed mode.
It supports post_actions in the Playbook (for exemple to clean up a database table at the end of a script).
It adds the command "deletemany" for MongoDB actions.
It adds a first support for Kafka testing : you can create or delete topic and you can write and read messages.

chaingun - Support for PostgreSQL

Published by majeinfo about 1 year ago

The "sql" action now supports PostgreSQL !

chaingun - Variables can be scalar or array

Published by majeinfo over 2 years ago

Variables defined in the "variables" section can be scalar or array. In case of array, values are taken cyclicly at each iteration of the same virtual user.

variables:
scalar_var: 1234
array_var:
- alice
- bob

chaingun - Bug and vulnerability fixes

Published by majeinfo about 3 years ago

No new functionnality here.
Some typos and some messages fixed.
Also upgrade mongodb-driver from 1.5.0 to 1.5.1

chaingun - CI/CD pipeline integration with JSON output

Published by majeinfo over 3 years ago

If you want to integrate the "player" in a CI/CD pipeline, just use it as usual to inject your script. This will create the resultst in the directory given by the --output-dir option. Then re-run the player in "graph" mode to produce a JSON document on STDOUT.
Example:

$ player inject --script /path/to/script.yml --output-dir ./results
$ player graph --script /path/to/script.yml --output-dir ./results --output-type json

Two new actions have also been added : start_timer and end_timer that make possible the measurement of a set of requests.

chaingun - New Command line

Published by majeinfo over 3 years ago

This release adds no new functionnality. The command-line syntax has been refactored to mimick "docker" or "kubectl" tools.

chaingun - Proxy Mode

Published by majeinfo over 3 years ago

This a new version which embeds a "proxy mode" that helps creating the Playbook : it acts as a HTTP/S web proxy that can dump the Playbook matching the visited URL. In case of HTTPS use, do not forget to download and store the certificate in the CA certificate store of your brower.
Once the proxy mode is executed, just configure your browser and navigate. Then enter in the console where the proxy runs and a menu appears...

This version needs go v1.16+ because we replaced the "statik" module by the new "embed" module and so it is simpler to build the binary.

The code organization has also been refactored to be compatible with the new version of "Go Modules".

chaingun - Add new parameters for the Playbook

Published by majeinfo over 3 years ago

Playbooks :

  • add "persistent_http_connections" boolean that allows the reuse of the same session during the iterations of a VU
  • parameter "persistent_connections" has been renamed to "persistent_db_connections"
  • expressions can use then "random(start, end)" function which generates random integers

Graphs :

  • displays the average size (in bytes) of each response
  • page titles are alphabetically sorted in the last array of stats

Bug fixes :

  • bad handling of default_value in regexp matching
  • bad handling of " and , in the full request of CSV file, so graph and results could not be generated
  • convert default_value into string if they can be consider as number without double-quotes
chaingun - gRPC support and new Histogram stats

Published by majeinfo almost 4 years ago

This is the first release that supports unary gRPC calls.
It also adds the generation of histogram with deciles to show the requests latency.

chaingun - Designer mode

Published by majeinfo about 4 years ago

This is the first release of chaingun which embeds a Web Server that allows you to create the playbook files with using a simple HTTP Interface. To use it, just run an instance of chaingun with the "--mode designer" option.

chaingun - Supports MongoDB protocol

Published by majeinfo over 4 years ago

This release is the first that allows direct testing of MongoDB servers using the BSON protocol.
Few commands are implemented, but this is a start.
You can drop a collection, insert and find documents.

chaingun - Optimize file transfer using MD5 sums - Handle pre-actions in "manager" mode

Published by majeinfo over 4 years ago

This release avoids file transfers to the Injectors if the files have not been changed since the last time (the computation is based on a MD5 sum).
The embedded web interface (the "manager" mode) now handles correctly the pre_actions : they are played by the first selected injector.

chaingun - Support Basic Authentication & HTTP/2

Published by majeinfo over 4 years ago

This version supports the Basic Authentication mechanism.
Support the upload_file directive (for uploading files with the PUT method).
The files are sent to the injectors in chunk mode, so big files can now be handled.
Some typos and bugs when the playbook was syntactically wrong have been fixed.

Also supports HTTP/2.

chaingun - Implements pre-actions

Published by majeinfo over 4 years ago

The playbook can now contain pre-actions that will be executed by the player in standalone mode or by only one injector, before the loop on VU start.
This allows some cleaning and init to make tests easily repeatable.

chaingun - ce528f0cdd7ef92430afcdb9b204fe37c8d51fb3

Published by majeinfo about 5 years ago

Fix small bugs in graph display.

Package Rankings
Top 8.57% on Proxy.golang.org
Related Projects