Tag Info

Hot answers tagged

7

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

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

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

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

Your I just need them to execute each HTTP request once. stanza conflicts with the scenario described as the thread, representing a virtual user will be shut down when there is nothing more to do and there are no requests/loops defined. In regards to having separate test plans: there is no need to have different test plans as you can have different thread ...


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

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

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

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

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

Make sure that you have HTTP Cookie Manager enabled Make sure that you properly handle any dynamic mandatory parameters like "VIEWSTATE", "SESSIONID", etc. Record the same sequence several times and look for any request parameters which are different. If they are, you'll need to correlate them by extracting dynamic bits from previous response via Regular ...


1

I believe that the easiest option is using Ultimate Thread Group available via JMeter Plugins. It provides easy visual way of defining the load pattern If you for some reason don't have possibility to use this solution you can achieve the same by the combination of: Runtime Controller Constant Throughput Timer Test Action Sampler And proper settings ...


1

As far as I know jmeter doesn't work in a sequential order. What jmeter does is, it takes all the requests and send them to the server/host all at the same time. So if you have configured it for 3 users making 1 http(s) request, that is 3*1 http(s) requests will be sent to the server/host all simultaneously and then it will wait for the response!


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

Not sure what language is being used in opkey, JMeter's WebDriver Sampler currently supports only JavaScript via JSR223 / Mozilla Rhino See The WebDriver Sampler: Your Top 10 Questions Answered to learn how to implement the most common activities in JavaScript. I believe that some refactoring will be still required, however using regex replacements if may ...


1

The question seems to imply that you need to check whether the page is correct during the performance test. There is a price to be paid for checking correctness during a performance test: these tools are optimized for performance testing rather than functional testing, and so you may have to go through more effort to check a page's correctness than you ...


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

Solution is here : http://stackoverflow.com/questions/6964358/jmeter-testcases-which-can-handle-captcha Or you can disable captcha from code before test.


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.



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