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.


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


3

Resolved this by using JMeter's Duration Assertion as a child to the HTTP Request I wanted to time setting the Duration to Assert in milliseconds to the longest time allowable and Appy to as Main sample only. When this time is exceded the assert fails and the test gets marked as failed.


3

AirieFenix, welcome to SQA. Here are some possible problems: Your JMeter machine ran out of resources. Your server is overwhelmed. An intermediary (e.g. a proxy server or a load balancer on a DMZ machine) between your JMeter machine and the server is overwhelmed or is intentionally throttling network traffic. Here are some ways to narrow things down: ...


2

Is this a real-world question, or an academic one? Are you trying to find the answer for your particular application that you are testing? Or are you looking for a general formula as an answer? If you have an application that is already in production, then you can analyze the logs and determine the usage pattern of your 2000+ users. That will tell you how ...


1

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.


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

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

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


1

According to the JMeter documentation, if you want to run JMeter behind a proxy server, you should launch JMeter with the following settings: -H [proxy server hostname or ip address] -P [proxy server port] -N [nonproxy hosts] (e.g. *.apache.org|localhost) -u [username for proxy authentication - if required] -a [password for proxy authentication - if ...


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

A few tools have been mentioned in other answers that could help such as Dynatrace Ajax edition, Compuware Gomez and WebPageTest. Another tool I have used is Selenium Webdriver with some custom timers. There are a few caveats that you need to be aware of for this kind of performance measurement: The browser you are using will affect the JavaScript ...


1

I've read that HTTPWatch doesn't cover javascript rendering time (although can't confirm this). Compuware Gomez has a commercial tool. WebpageTest also has a version you can download and run on your servers to test a variety of aspects of the load. Chrome and Firefox also have web developer tools, where you can inspect the load t imes of the various ...


1

Check out HTTPWatch http://www.httpwatch.com/ It's a really good tool that sounds like it may meet your needs. I've used the free "Basic Edition" version for some client-side performance tests and analysis. And I've recommended it to some friends who use the "Professional Edition". Good stuff, and one I keep in my Tester's Toolbox ...


1

Check out DynaTrace Ajax edition. http://www.compuware.com/en_us/application-performance-management/products/ajax-free-edition/overview.html It's free, and gives a timeline that includes javascript execution & page rendering.


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

As far as I can tell, you are trying to answer the question "How do I take the information I have from usage of my current system - number of concurrent users and hits per second - and convert that into how many concurrent threads in JMeter?". I'll answer the best I can, if that is not your question, please correct me. Tools like JMeter don't allow you to ...


1

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


1

I wouldn't use JMeter personally. I would probably use SoapUI (executed by Maven) because it also fits nicely into Jenkins. SoapUI can do everything JMeter can, and more, especially with its Maven integration. I also prefer SoapUI for its Groovy integration and if you need to use BDD, you can integrate JBehave that way (with xUnit).



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