load-testing

locust is not installing on my windows 10 for load testing

本小妞迷上赌 提交于 2020-07-10 07:43:52
问题 I tried installing this pip but getting some error, I want this package module for load testing This is the output i am getting: Collecting locustio Collecting geventhttpclient-wheels==1.3.1.dev2 (from locustio) Using cached https://files.pythonhosted.org/packages/bc/7f/42f8b4ac6c7ddf606fa69769cef2229a159d4af45a294053198f52586095/geventhttpclient-wheels-1.3.1.dev2.tar.gz Requirement already satisfied: six in c:\users\saurabh\appdata\local\programs\python\python38\lib\site-packages (from

Same response data for all iterations even though cookie is cleared

孤街醉人 提交于 2020-06-29 03:59:46
问题 My Test structure in Jmeter Thread group (2 users) Http request Listener For each iteration same form_key values are getting in response which should not be. How to get unique form_key in response for each iteration Jmeter Test result screenshot 回答1: I cannot reproduce your issue using one of the online Magento demo instances, in particular this one: http://demo-acm-2.bird.eu/customer/account/login/ As you can see, each time form_key is different for each user for each iteration. If you're

How to test performance / load of a modern angular application

余生长醉 提交于 2020-05-12 11:32:18
问题 I want to load / performance test a web application which uses angular 6+ as the frontend-framework. The application is quite big and uses lots of wizards / modals etc. I want to do some "real" e2e-frontend-tests (not just testing API-calls, but also js-rendering etc.) What are the current state-of-the-art approaches and tools to test applications like this? To clearify, i want to do some real e2e performance test like e.g. open a browser in headless mode, open a wizard and get the time it

JMeter : java.net.NoRouteToHostException: Cannot assign requested address (Address not available)

99封情书 提交于 2020-03-18 11:38:06
问题 I have created a simple Spring boot Application having a HelloController. Get API: http://localhost:8080/hello Response: Hello World Now I have created a JMeter Script having 0.1 million concurrent users hitting the above get API. When I run the JMeter Script, after 30k count, I start getting the error: java.net.NoRouteToHostException: Cannot assign requested address (Address not available) What is the reason for this? How can I resolve this issue? I'm using UBUNTU 18.04 with 8gb RAM. While

JMeter 3.1: different results in GUI mode and non-GUI mode

為{幸葍}努か 提交于 2020-02-08 03:36:10
问题 I know load tests should be run in non-GUI mode. But when I run the tests with the following command: jmeter -n -t server_load_test.jmx -l log_100u_5s_01.jtl In non-GUI mode : I get an average response time between 3 or 4 seconds which of course is not acceptable. In GUI mode : I get an average response time of 100ms. The test is really simple, it is just an HTTP request (GET) with 100 users in 5 seconds. I would not have said anything if it was the other way around. Which one should I trust?

Injecting 0 users in scenario message during rampup users in gatling

余生长醉 提交于 2020-01-16 06:21:07
问题 I am using a simple setup to ramp up the users but getting the following error and the run is going on infinite loop code in my Scenario: setUp( scenarioBuilder.inject( rampUsers(numUser).during(duration minutes) ) ).protocols(protocolBuilder) Error message which goes infinite loop: 09:35:46.495 [GatlingSystem-akka.actor.default-dispatcher-2] DEBUG io.gatling.core.controller.inject.open.OpenWorkload - Injecting 0 users in scenario xxSimulation, continue=true 09:35:47.494 [GatlingSystem-akka

jmeter: NoHttpResponseException: The target server failed to respond

一曲冷凌霜 提交于 2020-01-16 04:05:05
问题 I have an application in nodejs, which I am testing against thousands of users. For 1000 users (when server is deployed at local), Jmeter fails for most test cases providing this: org.apache.http.NoHttpResponseException: The target server failed to respond at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:95) at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:61) at org.apache.http.impl.io

VisualStudio cloud-based load test socket exception 100% of requests - webtest alone works OK

纵然是瞬间 提交于 2020-01-14 03:16:25
问题 I am taking my first steps with visual studio enterprise load tests. I have created a webtest following this tutorial: https://www.visualstudio.com/en-us/docs/test/performance-testing/run-performance-tests-app-before-release The webtest works OK, hits my page properly and succeeds. However when I have created a load test with this webtest, each request fails (regardless of the number of users, even with 2 users) The error is A connection attempt failed because the connected party did not

Running multiple Thread Groups sequentially in JMeter

回眸只為那壹抹淺笑 提交于 2020-01-09 09:38:32
问题 I have a Test plan in which there are multiple Thread Groups. I want to run all of the Thread Groups sequentially. Thread Groups are as below: Thread Group1 Thread Group2 Thread Group3 . . . Thread GroupN I've read in different blogs and articles on the internet, people claiming that the thread groups will run in the order they are defined but apparently they are not in my case. Thread Group4 runs before Thread Group1. Thread Group4 is generating a report which is wrong because it runs before

How to add external jar files to grinder project

谁说胖子不能爱 提交于 2020-01-07 03:12:22
问题 I am new to Grinder load testing framework. I recorded a grinder script using tcpproxy. And then I made some modifications which includes use of external jar files. In eclipse using grinder plugin I added a dependency for those jar files. But how do I setup similar stuff using command line - assuming I dont have eclipse available to me.. Do I have to add anything in grinder.properties ? Thanks 回答1: you can add external jar file using properties file. You have to use grinder.jvm.classpath