<commit_before>Step-by-step tutorial
=====================

Load testing a service with Molotov is done by creating a Python
script that contains **scenarii**. A scenario is a somewhat
realistic interaction with the service a client can have.

Before you can do anything, make sure you have Python 3.5+ and
virtualenv.

Let's use **molostart** to get started::

.. code-block:: bash

    $ bin/molostart
    **** Molotov Quickstart ****

    Answer to a few questions to get started...
    > Target directory [.]: /tmp/mytest
    > Create Makefile [y]:
    Generating Molotov test...
    …copying 'Makefile' in '/tmp/mytest'
    …copying 'loadtest.py' in '/tmp/mytest'
    …copying 'molotov.json' in '/tmp/mytest'

    All done. Happy Breaking!
    Go in '/tmp/mytest'<commit_msg>fixed syntax<commit_after>Step-by-step tutorial
=====================

Load testing a service with Molotov is done by creating a Python
script that contains **scenarii**. A scenario is a somewhat
realistic interaction with the service a client can have.

Before you can do anything, make sure you have Python 3.5+ and
virtualenv.

Let's use **molostart** to get started:

.. code-block:: bash

    $ bin/molostart
    **** Molotov Quickstart ****

    Answer to a few questions to get started...
    > Target directory [.]: /tmp/mytest
    > Create Makefile [y]:
    Generating Molotov test...
    …copying 'Makefile' in '/tmp/mytest'
    …copying 'loadtest.py' in '/tmp/mytest'
    …copying 'molotov.json' in '/tmp/mytest'

    All done. Happy Breaking!
    Go in '/tmp/mytest'
{'fraction_non_alphanumeric': 0.13286264441591783, 'fraction_numerical': 0.0025673940949935813, 'mean_word_length': 3.3066298342541436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2325538', 'n_tokens_mistral': 494, 'n_tokens_neox': 477, 'n_words': 184}