Why we need to use non gui mode ?
One
of the way to resolve java.lang.OutOfMemoryError is by running Jmeter in
non-gui-mode.
First prepare your test plan with Jmeter and save it, let's say the file name is 'script.jmx'.
Second Apache JMETER_HOME/bin folder using command shell. And then run Jmeter with the following parameters, to execute the test.
Command :
jmeter -n -t C:\TestScripts\script.jmx -l C:\TestScripts\scriptresults.jtl
-n [This specifies JMeter is to run in non-gui mode]
-t [name of JMX file that contains the Test Plan]
-l [name of JTL file to log sample results to]
-j [name of JMeter run log file].
Test is running the results will be saved in the 'mytest_results.jtl'
Showing posts with label JMeter. Show all posts
Showing posts with label JMeter. Show all posts
Wednesday, 7 May 2014
Tuesday, 6 May 2014
Web Service Performance Metrics
• Server Side: can be gathered by stress testing on the server end.
Important parameters are:
– Server throughput (measured as the number of requests per second)
– Latency (time taken between the service request arriving and the request being serviced.)
• Client Side: client side monitoring or distributed load testing can be used to gather data. Important parameters are:
– Latency (WS processing time + network latency). This is the time taken for a service call to return the earliest response bytes
– Throughput (the average byte flows per unit of time, including latency)
– Error rate (identifies the dependability of the service)
Etiketler:
JMeter,
Software Test
Thursday, 1 May 2014
Jmeter Blaze Meter Plugin
You can download blazemeter plugin from here you should locate it inside C:\jmeter\apache-jmeter-2.11\lib\ext
Open Jmeter and you will find blazemeter options
Open Jmeter and you will find blazemeter options
Etiketler:
JMeter
JMeter Cloud Test
These (paid/free) services are waiting for you, if you are using JMeter
BlazeMeter - don't mess around with building and managing your load testing servers. You can use this service to upload your existing JMeter scripts and resources (csv dataset files, etc) and run them from as many servers as you want, you pay for amount of servers/users you run over time and you can choose from which AWS locations to run the load test from. This service also provides nice central reporting capabilities
BlazeMeter - don't mess around with building and managing your load testing servers. You can use this service to upload your existing JMeter scripts and resources (csv dataset files, etc) and run them from as many servers as you want, you pay for amount of servers/users you run over time and you can choose from which AWS locations to run the load test from. This service also provides nice central reporting capabilities
Etiketler:
JMeter
Tuesday, 22 April 2014
JMeter Elementleri
Test Plan
v Thread Group
v Controllers & Samplers
v Listeners
v Timers
v Assertions
v Configuration tool
v Pre-processor elements
v Post-processor elements
Test Plan : Run edildiğinde çalıştırılacak adımlar dizisidir.
Controller :
Samplers JMeter server a istek yollar ve cevap bekler.
örnek. HTTP Request sampler.
Logical Controllers: Server a ne zaman istek gönderileceğine karar veren mekanizmadır.
Listeners JMeter çalışırken toplanan bilgilere ulaşmayı sağlar.
Etiketler:
JMeter
JMeter Test Plan
Ekle -> User -> İş Parçacığı Grubu ile aşağıdaki ekran açılır.
Ekle -> Örnekleyici -> HTTP Request yolu izlenerek aşağıdaki ekran açılır.
Ekle Kaydetme Denetçisi -> Mantık Denetçisi ile eklenir
Daha sonra Workbench > Add > Non-test Elements > HTTP Proxy Server yolu takip edilerek
test script kaydedicisi eklenir.
Alt kısımdaki ekle butonuna basarak (exclude)
Enter “.*\.png” pattern, “.*\.gif” pattern and “.*\.ico” pattern eklenirler
Bundan sonra aşadaki değerler girilerek çalıştırılabilir.
Thread Group seçildikten sonra
Number of threads – 10
Ramp up period – değiştirmeyin
Loop count – 5
Etiketler:
JMeter
Monday, 21 April 2014
JMeter Kurulum
İlk olarak sistemde java_home tanımlı olmalıdır
Daha sonra buradan jmeter in size uyan sürümünü indirebilirsiniz.
Jmeter tıklandıktan sonra aşağadaki gibi açılacaktır.
Etiketler:
JMeter
Subscribe to:
Posts (Atom)


