load testing - Network Settings for JMeter Traffic | Internet or LAN? -


i'm going perform load , stress test on webpage using apache jmeter, i'm not sure appropriate network setting. better connect 2 machines, server webpage , client running jmeter via local network or via internet. using internet closer real scenario, local network connection more stable , have more bandwidth more requests , same time. i'm thankful opinions!

these in fact 2 styles or approaches load testing, both valid.

the first might call lab testing. minimise number of factors can affect throughput/resp. times , focus test on system itself.

the second more realistic scenario trying coverage possible routing requests through many of actual network layers exist when system goes live.

the benefit of method 1 simplify test makes understanding , finding problems much easier. problem lack complete coverage.

the benefit of method 2 is not more realistic gives higher level of confidence - esp. higher volume tests, might find have problem switch or firewall , type of testing identify such issues. problem can make finding issues harder.

so, in short, want both types. might find easier start full end end test outside in, , move more focused test if find need isolate / investigate problem. way stand chance of reducing amount of setup work whilst still getting maximum benefit testing.

note: outside in means that, test rig should located outside of lan (assuming how live traffic flow). these days easy setup using cloud based hardware.

also note: if machine running tests same in both cases routing traffic via internet (out of lan , in again) not going tell useful , cause false negative in results (not mention network problems company!)


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -