Tag Info

Hot answers tagged

6

Try recording your test script using the blazemeter's chrome extension. Once you have recorded the script download the jmx file and load it in jmeter and run your test. UPDATE (from comments): The script is not chrome-specific. It records the script in jmx which is the file format in which the jmeter test plans are saved, so once recorded you can edit it ...


6

Java The Apache JMeter™ desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions. A lot of Java applications start with a j, like jEdit and it often indicates ...


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

Typically on a Web application an idle user will consume almost no server resources. The constraint will be the amount of memory or database space used to store the users session. If the server can therefore support 2000 users you shouldn't have any problem. That said a more real concern should be the impact on performance of the server due to the extra ...


3

Here you go, http://www.tutorialspoint.com/jmeter/jmeter_tutorial.pdf http://jmeter.apache.org/usermanual/index.html http://www.roseindia.net/jmeter/ http://jmetertutorials.blogspot.in/ http://www.jmeter.net/ Enjoy performance testing :)


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


2

First of all, it is not a good idea to include external resources into your load test. You need to performance test your server, not code.jquery.com (unless you need to test code.jquery.com itself) I would suggest to filter everything external like scripts, banners, etc. as it doesn't make any sense due to not having control of external resources ...


2

It depends on what do you mean by stay logged. To simulate 1000+ unique virtual users you need to provide separate username/password combination. It's likely that you will also need a HTTP Cookie Manager to represent user cookie. In regards to Ultimate Thread Group, the Hold load bit means that test threads will be looping over for specified amount of ...


2

Agree with Andy here and think you need to take great care ensuring that the test reflects what may actually happen. First I'd look at session timeout and memory release. Ensure that your first batch of users remain active preferably doing something useful say every 30 seconds. This will ensure no session timeouts and also give you some measurable ...


2

I would recommend JMeter as: Price JMeter: free and open source MSVS: Test Professional costs around $2000 per developer. OS supported JMeter: any MSVS: Windows only Protocols supported JMeter: HTTP, FTP, JDBC, SOAP, TCP, JMS, SMTP, POP3, IMSP MSVS: HTTP However if your company has Microsoft products based development infrastructure, like Team ...


2

You asked, "Is it something related to Jmeter settings or server settings?", but I am going to answer a slightly different question, i.e. "Where should I do now?" You might start by confirming that your test is valid, i.e. that your test is interacting with the server is a legitimate way. You haven't said whether the server needs to support ten ...


2

As per HTML readonly Attribute guide The readonly attribute can be set to keep a user from changing the value until some other conditions have been met (like selecting a checkbox, etc.). Then, a JavaScript can remove the readonly value, and make the input field editable. JMeter neither parses HTML nor executes JavaScript, it acts on a protocol level. ...


2

As Sam mentions when you click "Download" link or button the majority of browsers send GET request for the content and start downloading it in background into temp folder. After you choose the destination the browser just copies the file. If you need to test the performance of web server on multiple and/or concurrent downloads you just need to simulate GET ...


2

There are at least 2 possible solutions: Use this plugin, it generates more percentiles than default one: https://code.google.com/p/jmeter-plugins/wiki/RespTimePercentiles Or modify StatVisualizer.java class and message.properties, as stated here: http://djangoramone.wordpress.com/2010/06/16/jmeter-hack-2-more-percentiles-for-aggregate-report/


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


1

java.rmi.server.hostname property can be set either in system.properties file (which lives under /bin folder of your JMeter installation) or passed directly to JMeter startup script via -D key as jmeter -Djava.rmi.server.hostname=10.20.30.40 This way you can specify interface to bind to. See Apache JMeter Properties Customization Guide for more details ...


1

To determine the breaking point of you application increase the thread count gradually with each test run. At present you have it as 10. Now try testing with 20, then 50 in third iteration. Now suppose you find out that you application broke at 50 threads, then reduce the thread count to 40 and run the test again. Let's say your application works fine with ...


1

Both of those scenarios have problems. Scenario 1 has a ramp-up period of only one second. I can't tell you what the right ramp-up period is, but you can figure it out with experimentation. It almost certainly needs to be greater than one second. Scenario 2 has 60,000 threads. The right number will depend on your JMeter machine and how JMeter is ...


1

The main purpose of load/performance testing is finding limits or bottlenecks on the integrated stack of the application. When you run a load test you should monitor the application/servers closely to understand what is happening. Often these tests are performed with the help of the system administration team, because they have better experience in ...


1

When you download a file through your browser like that, it is just making a simple http get request, similar to other requests. The differences is that the browser recognizes that the resource it is getting is not something to parse as html and attempt to display, but to download instead. Some browser tools, and the jmeter recorder don't usually pick up ...


1

Good luck in your intention. The most popular proprietary/paid performance testing tools as for now are: HP LoadRunner Borland Silk Performer Microsoft Visual Studio Load Testing Framework Each tool has free trial so you should be able to perform your own assessment, Loadrunner seems to be the most popular one. In regards to free/open source tools, ...


1

I think that the answer is "Yes", load test should have checks for response validity. I.e. if you send bad username/password pair it is expected to get 401 or 403 HTTP response and JMeter shouldn't consider it as sampler failure. If response code is 200 but the response body doesn't contain "bla-bla" although shouldn't it also should indicate test failure. ...


1

I would say that some validation is almost always needed. For example I have tested website where if the login failed then all subsequent requests get a 200-OK response, but every response body requests a username and password. Adding a simple verification that the response to the login contains "login successful" or something equivalent detects the login ...


1

The simplest answer is if your customer is telling you to do this, you do it. If you don't provide what your customer wants, you run the risk of them telling you after you've developed the test that the results aren't valid because you've ignored their instructions. I've seen this happen: a very simple load test had to incorporate a lot of business logic ...


1

I vouch for dstat. Simply start it before running the test, it can save results in csv file so you can later xanalyze it with jmeter results.


1

It looks like that you're missing Selenium libraries in JMeter classpath. JMeterPlugins-WebDriver.jar - should go to %JMETER_HOME%/lib/ext everything else from JMeterPlugins-WebDriver-1.1.3.zip should go to %JMETER_HOME%/lib If you drop JMeterPlugins-WebDriver-1.1.3.zip to the folder where your JMeter lives and just unpack it - everything should be ...


1

your jmeter-plugins-webdriver-1.1.3.jar needs to be located in folder lib/ext


1

It isn't possible at Test Plan level, but there are following options available: Set Duration (seconds) to the desired value for each Thread Group Use Test Action timer to stop all the threads (for example create a separate thread group, add Constant Timer which will sleep desired number of seconds, when the timer all threads will be requested to stop Use ...


1

First of all, add HTTP Cookie Manager to your plan. It'll automatically handle sessions and cookie-based authentication. After that you can see if there any mandatory dynamic parameters are passed with the request. Just record your log in test case several times and see what parameters are static and what are changing from time to time. If there are any ...


1

SOASTA (Known to work with Jenkins and other CI Frameworks) - 100 Threads non expiring license available LoadRunner (Known to work with Jenkins) - 50 virtual user non expiring license available Borland/Silk Performer (CI Integration unknown) Rational Performance Tester (CI integration unknown)



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