Tag Info

Hot answers tagged

5

Imagine a jackhammer with a Phillips-head screwdriver welded onto the handle. You could, in theory, use this modified jackhammer for screwing things together, but you probably wouldn't want to. JMeter is a tool for performance testing. Selenium is a tool for functional testing. I talk about the differences between the two kinds of testing here.


5

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


4

JMeter is an excellent choice for your requirements. JMeter has a loop controller: http://jmeter.apache.org/usermanual/component_reference.html#Loop_Controller, you may want to add a counter or simply use a user defined variable. Both options will work. The easiest is using counters - Thread Group -- Loop A --- Counter 1 (Var name: C1) --- Loop B ---- ...


3

With Jmeter you can record both HTTP/HTTPS traffic, also there is Jmeter Chrome extension which can record traffic without configuring JMeter. To record web traffic in Jmeter: add Recording Controller into Test Plan add HTTP Proxy Server into WorkBench click Start button. open browser network settings change proxy settings to localhost:8080 remove ...


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

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

Presumably, Runs 4, 5, 6, and 7 will level off to a steady state. The steady state numbers are what you are most interested in.


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

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

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

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

From server side perspective if you want realistic numbers your application needs to be deployed to environment close to production. From JMeter side you need to consider the following: Correlation. ASP.NET web applications use dynamic request parameters like VIEWSTATE and EVENTVALIDATION. You'll need to extract them from previous response and add to ...


1

What you're describing is a workload model, a model of the measured or expected load on a system. Be wary about being fixated on the number of users, often a more useful metric to understand is the number of business transactions or the number of page/individual requests. Knowing how many users are on a system does not describe the load on the system, only ...


1

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


1

Your question contains the answer. Just run JMeter in non-GUI mode as per guide. jmeter -n -t D:\TestScripts\script.jmx -l D:\TestScripts\scriptresults.jtl After that Open JMeter GUI (you may not choose any test plan at all) Add Summary Report Listener In Filename -> Browse - > D:\TestScripts\scriptresults.jtl Voila, you now have summary results. ...


1

Try to insert one While Controller into another: -CSV Data Set Config -While Loop controller <-this iterates through users --CSV Data Set Config --While Loop Controller <- this iterates through values for single user


1

I suggest you to try a simpler way - 3 users with 3 loops in a thread group. So each user will send all 3 values from CSV file. Your test will look like: Thread group (3 users, 3 loops) HTTP Request CSV Data Set Config


1

Given that your foreach controller works and ${jspPage}.csv is being correctly populated it should be fine to read CSV data. Assuming that you have each link in a new line could you please make sure that following configuration is applied: For Loop Controller: should be > than 1 loop. Elsewise it'll read only the first line. For CSV Data Set Config: ...



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