Tag Info

Hot answers tagged

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


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


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

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

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 :)


2

I experienced issues when trying to scale to large numbers of users with Selenium Grid. I ended up going with Funkload because: It is significantly easier to scale and run tests quickly (without random hang-ups of browser instances) It has an easy-to-use recorder of http requests It makes it easy to load test API's by implementing the webunit Python ...


2

There are no tools that can provide you client-side rendering times. Client side rendering is not a measurable value, unless all of the devices accessing the system are identical in terms of hardware and network access to the SUT. However, It is completely viable to do a stopwatch test of the total page rendering time, as long as you communicate to the ...


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

Please see the following link: http://jmeter.apache.org/usermanual/test_plan.html#thread_group The 'number of threads' are equivalent to the number of concurrent users that you are looking for. In your scenario above, you have 20 concurrent threads (users) and each thread will run 10 times.


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/


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

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


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

It depends on what your test is doing. If it's something long enough - it will be 20, if it's something very short - it'll be 1. JMeter offers several options to control the load. In particular the most commonly used elemends are: Synchronizing Timer - to pause threads unless certain number will be reached and fire them all at the same time. Constant ...


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)


1

We do not have enough information to help you with your situation directly, but I have an idea how you can fix this yourself. You can create a recording with JMeter by using the test script recorder. Setup a test plan Start recorder Configure browser to use JMeter proxy Preform actions you want to record in the browser Run recorded test plan Now you can ...


1

JMeter doesn't come with any JDBC driver shipped. Looking into stacktrace I can see that you're using Oracle and presumably 10g version. You need to download Oracle JDBC driver (or better fetch it from ORACLE_HOME/jdbc/lib, you'll need ojdbc6.jar as it matches Java 6 which is required for the latest JMeter) and drop it to /lib folder of your JMeter ...


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

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


1

The second request is image which is somewhere at the page you're hitting with the first request. I believe that it should be expected for image gallery to have some images. I would recommend to delete the second request from recorded samples and use HTTP Request Defaults configured to Retrieve all embedded resources and use pool of 3-5 threads for it as ...


1

You can put your 100 requests in i.e. CSV file and use CSV Data Set Config to iterate through them To limit/shape the load you can use Constant Timer or Constant Throughput Timer depending on your use case.



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