S
S
santaux2014-03-13 11:11:00
stress testing
santaux, 2014-03-13 11:11:00

How to run Yandex Tank under Mac OS?

Good afternoon!
I'm trying to run yandex tank under mac os. I am guided by this article: habrahabr.ru/company/yandex/blog/202446
It says:

If you do not have Ubuntu (for example, I want to try it on MacOS), you can try downloading .deb and making .rpm out of it, but the most versatile way is to download the sources from github.
git clone https://github.com/yandex-load/yandex-tank.git

Then next:
After creating the file, we simply launch the tank with the yandex-tank command. By default, it looks for a config named load.ini in the current directory.

But firstly, there is no "yandex-tank" command (because we only downloaded the source code).
And secondly, when I try to run it directly, it gives an error:
Mac-mini-Expert:yandex-tank Konstantin$ python tank.py 
Traceback (most recent call last):
  File "tank.py", line 2, in <module>
    from Tank.ConsoleWorker import ConsoleTank, CompletionHelperOptionParser
  File "/Users/Konstantin/Projects/YandexTank/yandex-tank/Tank/ConsoleWorker.py", line 12, in <module>
    from Tank.Plugins.ConsoleOnline import RealConsoleMarkup
  File "/Users/Konstantin/Projects/YandexTank/yandex-tank/Tank/Plugins/ConsoleOnline.py", line 6, in <module>
    from Tank.Plugins.Aggregator import AggregatorPlugin, AggregateResultListener
  File "/Users/Konstantin/Projects/YandexTank/yandex-tank/Tank/Plugins/Aggregator.py", line 2, in <module>
    from tankcore import AbstractPlugin
  File "/Users/Konstantin/Projects/YandexTank/yandex-tank/tankcore.py", line 19, in <module>
    import psutil
ImportError: No module named psutil

Although I installed psutils via pip. Any ideas? Has anyone ever run yandex-tank under macos?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
doctornkz, 2014-03-14
@doctornkz

Most likely it will not work under Mac, at least you will not be able to build phantom. Sorry.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question