Sign inSign up

elbaschid/gatling

By elbaschid

Updated over 9 years ago

A Docker image to run gatling tests from

Image
0

253

elbaschid/gatling repository overview

Load testing with Gatling

Run aiohttp server(s)

Export the correct Docker Machine configuration:

.. code:: bash

$ eval $(docker-machine env roadside-services-1)

Run the aiohttp servers

Build the aiohttp base image first:

.. code:: bash

$ docker-compose -f aiohttp/docker-compose.yml build

Now you can run all of them on the cluster:

.. code:: bash

$ docker-compose -f aiohttp/docker-compose.yml up

Run the gatling tests

First build the gatling image that we use locally:

.. code:: bash

$ make simulations

Scenarios

  • aiohttp

    • Simple text response
    • JSON response
    • Validated JSON response
      • using JSL
      • using marshmallow
    • Hitting S3 static file via endpoint
  • aiohttp

    • without gunicorn
    • gunicorn with 1 worker
      • aiohttp event loop
      • uvloop eventloop
    • uwsgi experimental?
  • nginx (for comparison)

    • default settings
      • simple text response
      • proxying to S3 static file
    • optimized setting
      • simple text response
      • proxying to S3 static file

Tag summary

Content type

Image

Digest

Size

353.9 MB

Last updated

over 9 years ago

docker pull elbaschid/gatling