Tag Info

New answers tagged

0

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


0

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


0

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


0

Lets say you have selected hold load for 60 seconds. And your test scenario is 30 users trying to log in. Then all these users will try to login for as many times as possible for the time span of 60 seconds. To verify this look in to the result tree and calculate how many login attempts happened during that period.


0

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


0

In jmeter you can set any listener as per your need , check below please : http://jmeter.apache.org/usermanual/component_reference.html#listeners Best listeners are : Aggregate Report Aggregate Graph Distribution Graph Summary Report


0

Hold load means its duration of your running test if we say in simple language. Suppose if you specify 30 user and hold load = 60 seconds then your test will run continue till 60 seconds and it will stop automatically after 60 seconds.


0

When run jmeter plan using non-gui mode , By default JMeter does not save summary results to file. Either you have to save as JTL and view it in the summary listeners later or run with the summary listeners. Please read - http://developer.amd.com/community/blog/using-apache-jmeter-in-non-gui-mode/


-1

Please take 2 thread group for 2 request sampler. Set for both 50 - 50 user. Also if you want to do some real load testing then set Ramp-up period at least 5 to 15 minutes.


0

If you want to execute the same sampler simultaneously for a few users you have to put sampler into Synchronizing Timer



Top 50 recent answers are included