The results are in! See the 2018 Developer Survey results. »
0
votes
0answers
9 views

Simple python palb load-test script throws error

I would like to run an http load-test using palb, dynamically generating the URLs to test against using a python script. On the linked page it shows the following example: % cat test.py def urls(...
1
vote
1answer
24 views

Getting statistics on an individual task from Locust

I have a Locust task that requires many HTTP requests. At the end of the task, I have conditions to check for success or failure. The statistics gathered are very informative in regards to the ...
0
votes
1answer
39 views

Request processing time in python

I'm trying to test a web application using selenium python. I've wrote a script to mimic a user. It logs in to the server, generates some reports and so on. It is working fine. Now, I need to see how ...
0
votes
0answers
23 views

ApacheBench save partial result/response

I was able to save the entire result/response using the following commands in the terminal ab -k -n 2000 -c 10 -g Example.txt http://www.example.com/ >ExampleResult.txt 2>&1 which saves ...
3
votes
0answers
141 views

Locust : ConnectionError(ProtocolError('Connection aborted.', BadStatusLine(“''”,)),)

I am performing Load-tests for some Rest APIs using Locust. Everything is working fine except for the error which has confused me: ConnectionError(ProtocolError('Connection aborted.', BadStatusLine("'...
0
votes
0answers
115 views

Locust - unable to build sequence of tasks & provide dynamic input for each task

I am using locust for load testing my application which involve microservices. i am facing s issues wrt to testing 1) dynamic data for load testing 2) running tasks in sequence. following is my ...
0
votes
1answer
106 views

How to interpret the metrics of Locust?

I found no detail about the Number of users to simulate and Hatch rate in the locust documentation. What is the relation between the two parameters? If I have 20 clients, of each will post 1000 ...
1
vote
0answers
173 views

Python redis-py hget operation slow on high concurrency

I've a redis server hosted on AWS with several Hashes (around 1700000 keys), each having single key value pair. They are in the following format: 127.0.0.1:6379[10]> HGETALL "date:20170420:len:3" ...
0
votes
1answer
85 views

Simulate multiple users in Grinder

I was wondering if this is even possible. I just set up Grinder and ran some base test but what if I want to have each thread be a different user? I see this line of code in the file that is generated ...
0
votes
1answer
376 views

thor websocket load testing - add custom http header in web socket handshake request

I am using thor for load testing my twisted based autobahn websocket server. For authentication purposes my websocket application need a custom http header (Authorization : Bearer token) in websocket ...
-1
votes
3answers
1k views

Web Server load testing

I am suppose to test web server's load, performance and stress testing. There will be over 100 client machines that will be connecting to it. I am using python-selenium webdriver to start a grid. the ...
-2
votes
3answers
388 views

I have created a script in selenium for odoo framework in python , so can I use it for a load testing ? if yes then how?

I have created a script in selenium in odoo framework in python , now I want to test it for load testing then which tool is best ? should I have to make another script for load testing again or I can ...
0
votes
1answer
393 views

Load test websocket server?

IDEA I have a websocket server I'd like to determine: max concurrent connections any errors Testing As far as I know, to get this job done, I need a decent websocket test suite. I've so far only ...
0
votes
1answer
357 views

Should I send synchronous or asynchronous requests when load testing a web app?

When load testing a web app, I can either send synchronous requests in multiple threads, or use an asynchronous client and handle response in callbacks. With the multi-thread approach, requests ...
0
votes
0answers
100 views

Multiprocessing for browser in python

I want to hit a website at a very high frequency like 100 hits/sec. In my code below, i have a sample process to open google.com and find an element and record time and then do some more random ...
1
vote
0answers
209 views

How to load test a python script from Tsung?

I am trying to check the performance of twemproxy tool with memcached servers. For application load test, I have used Tsung to check the RPS of APIs which will fetch data from DB through twemproxy. ...
0
votes
1answer
174 views

Funkload Load Testing Implementation

I am very new to performance testing. I am using funkload pypi package to do that. I can run load tests with that. I want the following scenario to implement. Ability to specify ramp up rate (i.e. 5 ...
1
vote
2answers
839 views

Getting the following error: “EnvironmentError: Unable to find libfuse”

I'm trying to load test my MQTT network on a CentOS7 machine by using this repositorie on github. I executed the following commands to install the python-mosquitto dependency. # yum install python-...
0
votes
3answers
2k views

How to solve syntax errors from hulk.py?

I am running hulk.py script on my local server. I am not able to execute this script successfully. I have downloaded hulk.py from url: "https://github.com/grafov/hulk" Steps I did: Extracted ...
1
vote
0answers
501 views

Web Server load testing errors when > ~300 client threads instantiated

I have created a load generator to test a server, written in Python. The load generator creates a socket, connects to the server socket, requests a file, then disconnects. The load generator runs as ...
0
votes
1answer
246 views

Python/Cassandra: insert vs. CSV import

I am generating load test data in a Python script for Cassandra. Is it better to insert directly into Cassandra from the script, or to write a CSV file and then load that via Cassandra? This is for ...
5
votes
2answers
2k views

Load testing django locustio

Hi I am using a locustio(python) to test load on a webapp(django). The challenge that I am always getting a 403 error when I try to test it. He is the code from locust import HttpLocust, ...
8
votes
4answers
3k views

Locust : How to invoke the test through an API

I would like to invoke Locust load tests through an API to be able to start tests from a CI tool. I dont see much documentation about such a scenario, there is no "Runner" or a similar class in the ...
1
vote
1answer
144 views

How to change the number of users after initial hatch

I am trying to use locust to simulate “normal” traffic behavior pattern. This requires that the number of users (and not only the number of requests) to be none constant, for example, as a factor of ...
11
votes
3answers
5k views

Locust : How to make locust run for a specific amount of time

official locustio documentation tells about how to write simple locust tasks which run indefinitely. Couldn't find out how to run load which lasts for a specific amount of time, so that the test will ...
1
vote
0answers
357 views

Locust master process gets killed due to out of memory

Having a Locust master and slave setup with 8 slaves running om 8 AWS instances with 4 GB RAM and 64bit Ubuntu. ON setting the number of users to 500 and and hatch rate to 200 i see master process ...
0
votes
2answers
708 views

How to create a test script in Python for a registration page?

I have a website made in PHP. To increase number of data sets in my database, I need to create a python script such that I need not add 500 registrations manually. There are several tools available ...
0
votes
1answer
801 views

Locust - Python load testing. No documentation provided; so what do the ramping terms mean?

Locust gives the option to ramp up wherein you need to enter certain input details. I didn't find any documentation explaining the following terms whereas the other ones (not mentioned) seem self-...
1
vote
2answers
490 views

How to reduce the number of front end instances launched by GAE?

I am running two different load tests against my GAE/J application. Loadtest #1 (LT1): Invoke /rest/cheap1 every 2 seconds and /rest/cheap2 every 60 seconds Loadtest #2 (LT2): In addition to the URLs ...
1
vote
2answers
1k views

How to shutdown all dynamic instances in Google App Engine without re-deploying the app?

We are running multiple load tests every day against one of our GAE apps. We use the following pattern: Start a load test and let it run for a few hours. Look at graphs. Optionally deploy a new ...
2
votes
1answer
99 views

Achieving consistent response times in GAE?

When running load tests against my app I am seeing very consistent response times. Once there is a constant level of load on GAE, the mean reponse times get smaller and smaller. But I want to have the ...
3
votes
4answers
2k views

How to send concurrent 10,000 post request using python?

I developed REST server. I hosted that one my virtual machine nginx server. Now i want to do bench marking by sending 10,000 concurrent request per second. So any solution for this ?
0
votes
1answer
470 views

Funkload API testing

So I want to use funkload to stress test an API. I have a set of urls in the test The thing is the authentication is sent via querystring on every request (no cookies involved) so /abc?auth=token1 ...
6
votes
2answers
24k views

Tornado, Nginx, Apache ab - apr_socket_recv: Connection reset by peer (104)

I am running nginx, and tornado on a c1.medium instances. When I run ab the below is my output. Nginx will not work. I have tried to tweak the config file for ninx to no avail. If I run on just one ...
3
votes
0answers
685 views

Performance testing tool for Qt, Pyside desktop application

I am developing a desktop application using Qt (Pyside) and Python. I want to test performance of application, I search for performance testing tool but didn't find any tool. Please suggest any good ...
27
votes
4answers
27k views

Selenium testing without browser

I use Selenium RC for testing. Now to perform a load test, I want to run parallel test cases. Is there any way to run them without opening a browser?
1
vote
2answers
1k views

Funkload and cookies

I have trouble setting up funkload to work well with cookies. I turn on fl-record and perform a series of requests of which each is sending a cookie. If I use the command without supplying a folder ...
1
vote
1answer
581 views

FunkLoad one report for multiple requests

I am using FunkLoad to make some load test on my Django project. One of the page (I will name it /customer/ ) that I am currently try to benchmark "does" an AJAX request on page load to (/customer/...
2
votes
4answers
187 views

How to test my GAE site for performance

I am building a GAE site that uses AJAX/JSON for almost all its tasks including building the UI elements, all interactions and client-server requests. What is a good way to test it for highloads so ...
4
votes
2answers
6k views

Python script load testing web page

I want to do a test load for a web page. I want to do it in python with multiple threads. First POST request would login user (set cookies). Then I need to know how many users doing the same POST ...
0
votes
2answers
2k views

website load testing Python script

I am after a Python script to help me load test my Google App Engine website. I want to give it a set of URLs and a request rate (would need to use threads) and then measure the response times of my ...
12
votes
5answers
8k views

How should I stress test / load test a client server application? [closed]

I develop a client-server style, database based system and I need to devise a way to stress / load test the system. Customers inevitably want to know such things as: • How many clients can a server ...