Tag Info

Hot answers tagged

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

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


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

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

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

JMeter produces some basic fields/result_field. JMeter doesn't create everything you see in different types of Listeners. You can give this a try. Create a plan Generate atleast 100 samples (As large amount of data is required for some listeners), using a single sampler (request) Use as many Listeners as you want of different types (say 15 types of ...


1

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


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

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

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


1

There are only 2 or 3 steps but while recording the plan some 20 samples are generated. This is because when you record a test then not only your actions but along with that all the static content which is being used for completing your request gets recorded. So you will see lots of requests for images, style sheets, Java script files etc. in your ...



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