Comments (9)
Hi @DimsumPanda,
I don't think you can run this on Windows due to signal
here:
https://github.com/FutureSharks/invokust/blob/master/invokust/loadtest.py#L26
But I would expect a different error from this?
from invokust.
We're working around this for now with
settings = invokust.create_settings(...)
settings.no_reset_stats = True
loadtest = invokust.LocustLoadTest(settings)
from invokust.
Doh, sorry, misread the error. I thought this was a problem with the no_reset_stats attribute being missing, which is something we've hit.
from invokust.
Wow, thank you for the quick response.
Would I be able to test on Linux or do I just go straight to Lambda and test?
from invokust.
Cool.
There's 2 parts to this project:
- Running locust load test in python
- Running locust load test in python, on AWS Lambda
They are separate. You can totally do 1 on Linux (or docker on Windows) without AWS Lambda 🙂
from invokust.
Thank you, I will try that then!
from invokust.
I tried this in a Centos Linux instance and ran the file. I still get 'module' object has no attribute 'create_settings'
, any idea what I might be doing wrong?
from invokust.
Can you paste your complete code with output from your terminal?
from invokust.
Sorry it seems there's some trouble with running Python 3 on that Linux instance, so that might be the problem.
from invokust.
Related Issues (20)
- Error invoking lambda following quickstart HOT 3
- Semantic versioning HOT 2
- version 0.75 missing for Pypi HOT 3
- AWS deployment fails HOT 8
- Handle environment variables with `LambdaLoadTest` on Locust HOT 4
- Ability to deploy Lambda through AWS-CDK instead of using local script HOT 1
- Locust exception ImportError("cannot import name 'User'",) HOT 6
- Unable to use invokust. locust version == 1.3.0, locustio==0.13.5, invokust==0.73 HOT 6
- gevent error when attempting to invoke lambda HOT 3
- Does add_listener work? HOT 3
- No results when using LambdaLoadTest HOT 2
- segmentation fault (core dumped) HOT 4
- Can you output CSV or HTML reports?
- AWS Lambda deployment with function layer
- Negative execution time
- Use invokust with odoo HOT 3
- no option to save the load test report HOT 1
- Logging Configuration HOT 3
- LoadTestShape HOT 3
- AttributeError: 'StatsError' object has no attribute 'to_dict' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invokust.