Hot answers tagged

12

It is very likely you will get differing results. Especially in response times. This is mainly due to latency caused by the Geographical distribution. This will become important if response times is one of the metrics you are using to understand the website's ability to cope/scale under load. A simple reflection of this is; go to http://amazon.co.uk/ ...


8

Open you test plan in the Jmeter GUI and check the HTTP Response Timeout limit. For this, in Jmeter, Open the TEST Plan Got to the HTTP Request Sampler under Threads In the Timeouts section set the Response Timeout limit and Save the Test Plan. Now try to run your test from the command line. It will stop the test after the timeout limit is reached!


7

After a lot of Googling and trial and error I found out that a tag in the JMX file that Blazemeter's Chrome Extension generates was creating a problem. The JMX file included a <hashTree/> in several places and this tag was causing the JMX file to not being read by Jmeter in non GUI mode. So I removed this tag and tried to run the test and got a hell ...


4

'Also JMeter concurrent threads are not "concurrent users" as real-life people do pauses between actions on web pages. If you don't set any pauses in your tests then 20 concurrent threads will stand for something like 200-250 concurrent users.' Yes, I am in an argument with a client about this fact. They are thinking 50 Threads = 50 Users. But there are no ...


4

'10000 users' using jmeter is pretty tough on single machine considering given configuration, the maximum number of threads supported by jmeter will be 300 to 400 depending on your script, eventually jmeter will get stuck with 'OutOfMemoryError' and it will create a very large dump file. it would be best to use distributed jmeter and simulate distributed ...


4

You are running the JMeter on your local machine. The load on your local machine comes from creating the requests to be sent to the server and handling the responses from the server. You may want to check for example this blog post for performance tuning tips, such as running real load tests in non-gui mode.


4

Answering the comments above, Well I had Java and Jmeter installed correctly with ClassPath and everything. I also tried running Command Prompt as Administrator but got the same result. There was no problem in that. That is why the GUI version was working properly in first place. After a lot of R&D and Googling I found out that the problem was with the ...


3

First use the xpath extractor and extract the string from title the xpath would be //title Give the reference name say "t" and default as "Not Found" Next use in the if controller give condition as "${t}" == "Google" add a sampler in it which hits yahoo.com.(Make sure you use https in protocol inside sampler) Add a View Results Tree in the Thread Group ...


3

Out of box JMeter provides the following scripting languages for BSF: JavaScript via Mozilla Rhino Beanshell via Beanshell Given var statement it looks like JavaScript is being used. By the way, the language needs to be selected in the "Language" dropdown, otherwise BSF PreProcessor will fail with the "unsupported language" exception, take a look ...


3

Can you please elaborate your question, i.e. which common listeners you are talking about like:- Aggregate Report View Results in tree View Results in table and which fields explanations you need like:- Number of Samples (# Samples) Average 90% line Because JMeter has lots of listeners and a performance tester needs to summarize his/her report in a ...


3

You would need 2 Thread Groups (TG). Make sure that "Run Thread Groups consecutively" under your test plan is UNCHECKED else you'll be having 2nd TG running after 1st TG.


3

You should show them a report in which you include Response Time (if there is any kind of SLA with client that each of the 13000 users will get a response in X seconds). If this doesn't matter in how much time users are getting response then leave this value. Based on the result of Response Time mark your test as Pass or Fail in your report. If your ...


3

Option 1: You can keep the user count as 1 and Loop count as 100 in your thread group. This way your script will be executed 100 times, without concurrency of users and one user at a time. you can use CSV file if you want to change the user login credentials and other data at each loop starting i.e. different data for different user. Option 2: Another ...


3

What questions should I ask the developers so that i can proceed with automating? It depends what kind of test you want to have, if it is only end2end testing then "Base URI" should be enough for you. If you need to test more than that (e.g Tests which need mocking), you may need to have access to the project code to add your test code there. For ...


3

First ask your client that 'How many users their website intend to support?' From client you should get the number of users during Peak Load (Y) and Normal Load (X) and their expected Response Time, some clients say make it as fast as possible, but never go for this wording, ask him about the numbers. Then start running your script from 1 to X to Y in an ...


3

The most prominent load testing tools as for now are: Apache JMeter Gatling Grinder Tsung I would recommend checking out Open Source Load Testing Tools: Which One Should You Use? article which provides enough information to decide which one suits your needs in the best way. Personal recommendation: if your project is based on Jasper Reports it means ...


3

It is impossible to say something like "this hardware will able to simulate that much virtual users" as the maximum load you can produce from hardware strongly depends on the nature of your test. For instance, if your test is simple hammering one or several pages with GET requests - you'll be able to simulate X users. If your test assumes massive ...


3

Although you can do it directly with Jmeter but as you mentioned above there is so much that you will have to do for it and you will require to have strong knowledge of Java & Jmeter. OR You can do it the easy way. Use Blazemeter. Blazemeter has a Chrome extension using which you can record user actions in Chrome and then export the test script. Those ...


2

Ramp-up period is the time required for all threads representing virtual users to start. I.e: This is configuration of test plan: Number of Threads (users): 100 Ramp-up Period (in seconds): 10 Loop Count : No <== It means that every 0.1 second (=ram-up period/number of threads) a new thread starts giving 100 running threads after 10 seconds. ...


2

Most cloud storage services come with tooling that mounts the drive somewhere in your local filesystem, you should be able to access the files like any other file on your computer. Now in jMeter just point to this local file path. As you do not specify which "online drive" you are using, I would Google for something like: mount (replace with your cloud ...


2

You need to refine your scripts for the unwanted requests as per below mentioned ways First you should exclude all the static content (like CSS, images, js files, .properties files, .ico etc.) from your recording, as requests for these samples should be from cache and keeping these requests will only make your script lengthy and heavy. So, in your HTTP ...


2

If I got your issue correctly then, there is a work around of doing this, you just either need to know/find out which HTTP requests are made for displaying Graph or which requests are made after Login and displaying navigation links in Left. Once this is known, just move those requests (cut-paste) to a different Controller (you can use Simple Controller for ...


2

It looks like your application is using AJAX request(s) to display the graph. You need to capture the requests somehow and execute along with main GET request to the page. You can use Transaction Controller to measure and record the whole sequence execution time. In regards to AJAX thing itself, JMeter doesn't provide a relevant sampler to exactly simulate ...


2

This greatly depends on the system you are running jMeter on and how heavy the test is. Your system does not look heavy enough for 10k concurrent users, from the jMeter documentation I get the feeling 1k is the target limit for each machine. Have a look at http://jmeter.apache.org/usermanual/remote-test.html for running your tests from multiple remote ...


2

You can capture the server utilization by yourself too either use the Jmeter plugin http://jmeter-plugins.org/wiki/StandardSet/ this will provide you the CPU, Memory, Network I/O etc. utilization of the server and then you can check whether any of these things are creating bottleneck for you. may be you will find that on increasing the number of users ...


2

First of all check JMeter Glossary for definition of basic load testing terms In regards to median and average, as per The Load Reports guide #Samples is the number of samples with the same label. Average is the average time of a set of results. Median is a number which divides the samples into two equal halves. Half of the samples are ...


2

While Loop controller execute its samplers until the condition specified is not set to False. The condition can be any variable or function that eventually evaluates to the string 'false'. So, you need to specify a variable or function in While Loop, that has value 'true' and becomes 'false' somewhere else in the script. Once it changes to 'false', JMeter ...


2

See 13000 threads is a huge amount, which can cause your machine to get hang and other issues like "Memory Out of Index", High CPU usage etc. and that depends upon your script too i.e. How many requests are there in your script? -- Generally REST requests are not that heavy and I am considering that you have only 1 REST request in your script. How many ...


2

It seems to be server issue, that it is not able to handle heavy load specified by you. But still there can be multiple reasons for your script not working with 3000 users and 60 Ramp up time. Your Ramp Up value is low then required, try same script with higher value of Ramp Up period. Ramp up value is a significant factor for controlling heavy loads using ...


2

If you have any SLA defined from the client side, then you should compare the Response Time to that SLA like your client says application should have 5 secs of Response time with 500 users, then if your application is not showing that behavior then you need performance tuning. If you don't have any SLA then you can use the general theory, that any response ...



Only top voted, non community-wiki answers of a minimum length are eligible