Yandex password error. Tank

  • Starting Yandex. Tank with the following data:


    POST /check_spelling? HTTP/1.0
    User-Agent: yandex-tank/1.1.1
    Host: localhost
    Content-Type: application/x-www-form-urlencoded
    Connection: Close

    text=Test sentence


    rps_schedule=line(1, 100, 1)

    As a result, I have the following error:

    12:43:18 INFO: Setting ammo_type 'uri' because ammo is not started

    with digit and you did not specify ammo format
    12:43:18 INFO: Loading ammo from 'load.ini' using URI format.
    12:43:18 INFO: Using UriReader ammo reader
    12:43:18 INFO: Exception: Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/yandextank/core/", line 263, in perform_test
    File "/usr/local/lib/python2.7/dist-packages/yandextank/core/", line 303, in plugins_prepare_test
    File "/usr/local/lib/python2.7/dist-packages/yandextank/plugins/Phantom/", line 112, in prepare_test
    self.config = self.phantom.compose_config()
    File "/usr/local/lib/python2.7/dist-packages/yandextank/plugins/Phantom/", line 92, in compose_config
    streams_config += stream.compose_config()
    File "/usr/local/lib/python2.7/dist-packages/yandextank/plugins/Phantom/", line 263, in compose_config
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 206, in prepare_stepper
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 296, in __make_stpd_file
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 61, in write
    for missile in self.ammo:
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 15, in <genexpr>
    return ("%s %s %s\n%s\n" % (len(missile), timestamp, marker, missile) for timestamp, marker, missile in
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 48, in <genexpr>
    (timestamp, marker or self.marker(missile), missile)
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 41, in <genexpr>
    ammo_stream = (ammo for ammo in (
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 42, in <genexpr>
    (missile, marker or self.marker(missile))
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 258, in iter
    _parse_header(line.strip('\r\n[]\t ')))
    File "/usr/local/lib/python2.7/dist-packages/yandextank/stepper/", line 235, in _parse_header
    return dict([(h.strip() for h in header.split(':', 1))])
    ValueError: dictionary update sequence element #0 has length 1; 2 is required

    12:43:18 ERROR: dictionary update sequence element #0 has length 1; 2 is required

    It looks like Yandex. Tank can't dissolve. ammo.txt♪ Can you tell me what the problem is?

  • As long as it looks like the tank was launched without a request file.

    After the launch, the tank creates a folder of artifacts, it must have a file. lunapark_*.lock, this is the final shot of the tank launch parameters. What's in it in ammofile?
    If there was ammo.txt, there must be something like that. ammofile = ammo.txt

Log in to reply

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2