Giter VIP home page Giter VIP logo

locust_influx's People

Contributors

lucrib avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

locust_influx's Issues

Create Test endpoint

http://gateway-service.localhost/test/create

Body:

{"project_name":"Test Project 1",
"test_script":"Test Script","test_name":"Test Name","branch":"Test Branch","concurrent_users":"3","ramp_up":"4","test_duration":"2","locust_stop_timeout":"3","test_tool":"Locust","load_generator":"Local","test_notes":"Test"}

Problems with locust 1.0.x

Hi,

with locust.io 1.0 somethings break, i managed to change the setup.py with:
install_requires=[
'locust>=1.0',
'influxdb>=5.2.2',
],

but loucst gives me:
File "/home/ubuntu/locust/venv/lib/python3.6/site-packages/locust_influx-0.2.4-py3.6.egg/locust_influx/init.py", line 168, in expose_metrics
TypeError: unsupported operand type(s) for +=: 'EventHook' and 'function'

Locust changed the event.py to "Eventook" from "EventHook()", which might explain the error, but why was that done?

Improvement | Would be nice to have the user_count when hatching event is fired

When I am running a step load I would like to see the amount of users that I am hatching on each step so that I can keep a better monitoring.

From locustIO docs:

hatch_complete= <locust.events.EventHook object>
hatch_complete is fired when all locust users has been spawned.

Event is fire with the following arguments:

user_count: Number of users that was hatched 

Can't install throught pip with locust 1.1.1

Enviroment:
OS: Windows 7
Python: 3.8.3
locust==1.1.1

This error happened when I was trying to install with pip install locust-influx

ERROR: Command errored out with exit status 1:
command: 'c:\users\usodv\pycharmprojects\load_se\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"'; file='"'"'C:\Users\usodv\AppData\L
ocal\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\usodv\AppData\Local\Te
mp\pip-record-539zlfny\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\usodv\pycharmprojects\load_se\venv\include\site\python3.8\locustio'
cwd: C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio
Complete output (4 lines):
running install

**** Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your version to 0.14.6 if you dont want to update to 1.0) ****

----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\users\usodv\pycharmprojects\load_se\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"'; file=
'"'"'C:\Users\usodv\AppData\Local\Temp\pip-install-4wbku0p0\locustio\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record
'C:\Users\usodv\AppData\Local\Temp\pip-record-539zlfny\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\usodv\pycharmprojects\load_se\venv\include\site\python3.8\locustio' Check the logs for full command output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.