Skip to content

innoteq/yatank-online

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yatank-online

Yandex.Tank OnlineReport plugin. Shows you some charts while you're shooting and saves a report in the end.

How to enable

Install with pip install yatank-online and specify these lines in your Tank configuration:

[tank]
plugin_web=yatank_OnlineReport

Then start your shooting and go to http://localhost:8001/

WebSockets and Nginx configuration

If you want to run online interface behind nginx, then this would be useful:

http {

    <...>

    map $http_upgrade $connection_upgrade {
        default upgrade;
        '' close;
    }

    upstream backend {
      server 127.0.0.1:8001;
    }

    server {

        <...>

        location / {

            proxy_pass http://backend;

            proxy_http_version 1.1;

            proxy_set_header Host $host;
            proxy_set_header Origin $upstream_addr;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;

        }

        <...>

    }
}

About

Yandex.Tank OnlineReport plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 47.3%
  • Python 21.1%
  • CoffeeScript 15.8%
  • CSS 15.8%