Tag Info

Hot answers tagged

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.


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

'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 ...


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

'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 ...


3

First you need to define what the "breaking point" is. There are a number of possibilities. The obvious problem would be if the web server itself crashes and stops responding, but there are a number of problems that can occur well before that point that in most cases would still be considered "broken". Some other problems that could tell you your ...


3

I have put together a really simple article of doing performance testing with Jmeter over here - http://testcy.co.in/performance-testing-jmeter. Even novice users with not much technical knowledge of code can do performance testing using this method. For more tutorials, here you go, http://www.tutorialspoint.com/jmeter/jmeter_tutorial.pdf ...


3

This is a very strong "yes". You might want to limit yourself a little in the overall validation, but checking response codes only is a strong fail in my opinion. Additionally just checking the result by checking a single phrase or word is not enough. Update: This response answers the topic question: "Should load test validate functionality?" and does not ...


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

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 ...


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

In regards to you screenshots in general and Summary Report in particular, as per The Load Reports guide the explanation of the report fields is: # Samples is the number of samples with the same label. Average is the average time of a set of results. Min is the shortest time for the samples with the same label Max is the longest time for the samples with ...


2

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 ...


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

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

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 ...


2

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 ...


1

Looking into flipkart website: Method to perform login should be POST You need to pass a dynamic parameter along with username and password So you test plan should be amended as follows: HTTP Request Method: GET Path: / Regular Expression Extractor - to extract that FK from response and store it into JMeter Variable HTTP Request Method: POST ...


1

What exactly is the usage of HTTP Cookie manager HTTP Cookie Manager, stores and send the cookies just as a browser do. If your HTTP Request response contains a cookie, the Cookie Manager automatically stores that cookie and will use it for all future requests to that particular web site. Use of cookies eventually becomes necessary when you application ...


1

If you just started with JMeter, then I will suggest you to first go through this link https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf It will help you a lot in starting with JMeter. Secondly, as you are new to JMeter, then you should go with the Recording option provided by JMeter, using that you will not need to add Sample Requests by ...


1

Here are few potential problems along with possible workarounds: You're hitting hardware limits, i.e. server doesn't have enough CPU, RAM, Network or Disk IO to handle 20 users. It may be tested via PerfMon plugin Errors are caused by network connection between JMeter and Application Under Test issues. Check Connect and Latency metrics. If points 1 and 2 ...


1

So What are the dependencies to vary the results(I mean it varies from server configuration,like that i need to know what are the dependencies) ? And can we set the server configuration from the Jmeter. You set the target URL. JMeter makes a series of network requests to whatever endpoint you specify. Please let me know is there any option in jmeter ...


1

Good you found a bottleneck, now as with all automated test failures you can question, is it the test, the code or the infrastructure. We cannot answer your situation for you. I would advice to have a developer and a server-admin nearby when performing load tests. The server-admin should monitor and configure the infrastructure and when the infrastructure ...


1

You should try using the "Stepping Thread Group" of JMeter. It is not a default Thread Group of JMeter but you can install the same using JMeter plugins and can use that plugin for creating customized and stepped load for achieving the scenario described by you. You can also add multiple Stepped Thread Groups for different load pattern in single test plan. ...


1

JSON is a lightweight format, while XML is a considered a heavy weight format. So, to transmit the same amount data, you'll need fewer bytes in JSON,which may improve the performance if you are sending lots of data. It is also considered more "human readable" than XML. As for how you know if a server is sending JSON data, it should say so in the mime ...



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