Contents <ul><li>Performance   testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li></ul><...
What   are   the   pain   points   ?
PROCESS <ul><li>Write code( 1- 6 months) </li></ul><ul><li>Compile code </li></ul><ul><li>Send it to QA (or Production ?) ...
A  BETTER  WAY <ul><li>Write code </li></ul><ul><li>CI compiles code and runs test </li></ul><ul><li>Send it to QA ( or Pr...
A   BETTER   WAY   2.0 <ul><li>Performance test artifacts as soon as they pass Unit and Functional testing </li></ul><ul><...
Warm   Up <ul><li>Performance testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li></ul>2/...
It’s your turn <ul><li>Performance   testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li>...
<ul><li>To determine how fast some  </li></ul><ul><li>aspect of a system performs  </li></ul><ul><li>under a particular wo...
2/20/2010 First Draft “  What cannot be measured,  cannot be improved.”
Performance   Testing
JMeter <ul><li>What is JMeter </li></ul><ul><li>Who can use JMeter </li></ul><ul><li>Where can we use JMeter </li></ul><ul...
JMeter <ul><li>What is JMeter </li></ul><ul><ul><li>Background </li></ul></ul><ul><ul><li>History </li></ul></ul><ul><li> ...
JMeter <ul><li>Who can use JMeter </li></ul><ul><ul><li>Dev and QA </li></ul></ul>Using open source tools for performance ...
JMeter <ul><li>Where can we use JMeter </li></ul><ul><li>  </li></ul>2/20/2010 First Draft
JMeter <ul><li>When can we use JMeter </li></ul><ul><ul><li>Know how the system responds to work load </li></ul></ul><ul><...
Why   JMeter <ul><li>Catch performance regressions quickly </li></ul><ul><li>Simplify the hunting of bugs </li></ul><ul><l...
It’s Demo Time  <ul><li>JMeter and JUnit </li></ul><ul><li>JMeter and database query testing </li></ul><ul><li>JMeter and ...
Performance Testing of Flex Web Application <ul><li>AMF - Action Message Format (AMF) binary format used to serialize Acti...
Distributed   Testing
It’s your turn <ul><li>Performance   testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated   testing </l...
Automated   Testing <ul><ul><li>Integration with CI tools </li></ul></ul><ul><ul><li>- Ant Target </li></ul></ul><ul><ul><...
Comparisons ,  Alternatives ,  Conclusions <ul><li>Shortcomings of JMeter </li></ul><ul><li>Conclusions </li></ul>2/20/201...
Resources <ul><li>Apache JMeter Home </li></ul><ul><ul><li>http:// jakarta.apache.org/jmeter /   </li></ul></ul><ul><li>Go...
Questions 2/20/2010 First Draft
2/20/2010 First Draft Sameer Naik  -  [email_address] Prasad Nirantar –  [email_address] Contact   Details
Upcoming SlideShare
Loading in …5
×

J Meter Presentation 4

2,775 views

Published on

Presentation expalining Performance Testing, Automation Testing and use of Jmeter tool to achieve same

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,775
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
113
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Opening line here
  • Explain what happens by
  • Explain that this is agile
  • //Get the definitions from the audience Now then, Its time for warm up before we proceed.
  • //Get the definitions from the audience Now then, Its time for warm up before we proceed.
  • Purposes 1) Demonstrate that the systems meets performance criteria. 2) Compare two systems to find which performs better. 3) Measure what parts of the system or workload cause the system to perform badly i.e. determine performance bottlenecks Performance testing can serve different purposes. In the diagnostic case, software engineers use tools such as profilers to measure what parts of a device or software contribute most to the poor performance or to establish throughput levels (and thresholds) for maintained acceptable response time. It is critical to the cost performance of a new system, that performance test efforts begin at the inception of the development project and extend through to deployment. The later a performance defect is detected, the higher the cost of remediation. This is true in the case of functional testing, but even more so with performance testing, due to the end-to-end nature of its scope.
  • Performance testing technology employs one or more PCs or Unix servers to act as injectors – each emulating the presence of numbers of users and each running an automated sequence of interactions (recorded as a script, or as a series of scripts to emulate different types of user interaction) with the host whose performance is being tested. Usually, a separate PC acts as a test conductor, coordinating and gathering metrics from each of the injectors and collating performance data for reporting purposes. The usual sequence is to ramp up the load – starting with a small number of virtual users and increasing the number over a period to some maximum. The test result shows how the performance varies with the load, given as number of users vs response time. Various tools, are available to perform such tests. (Ref Wikipedia)
  • Jmeter- mainly JMeter is a Java based Performance measuring tool. Open source Product by Apache History: Tomcat testing framework Lets have Jmeter in action
  • Jmeter- mainly Hey wait a minute …there is a tool which does which you just described. What – Jmeter def, History Where – White box and Black box
  • Running the
  • Prasad to find the image including DB,LDAP, Application server ActiveMQ example http://activemq.apache.org/jmeter-performance-tests.html
  • Performance Scalabitliy Reliability Not restricted to Agile but it can be used in more effectively Use of JMeter for monitoring performance of software subsystems, in a AGILE continuous iterative development situation Quick POC
  • -Reports generated by the plugin
  • //Get the definitions from the audience Now then, Its time for warm up before we proceed.
  • Running the bad boy- Continuous Integration tool: Cruise Control
  • J Meter Presentation 4

    1. 2. Contents <ul><li>Performance testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li></ul><ul><li>JMeter </li></ul>2/20/2010 First Draft
    2. 3. What are the pain points ?
    3. 4. PROCESS <ul><li>Write code( 1- 6 months) </li></ul><ul><li>Compile code </li></ul><ul><li>Send it to QA (or Production ?) </li></ul><ul><li>Performance Regression </li></ul><ul><li>PANIC ! </li></ul>No Performance Testing !
    4. 5. A BETTER WAY <ul><li>Write code </li></ul><ul><li>CI compiles code and runs test </li></ul><ul><li>Send it to QA ( or Production?) </li></ul><ul><li>Performance Regression </li></ul><ul><li>PANIC ! </li></ul>No Performance Testing !
    5. 6. A BETTER WAY 2.0 <ul><li>Performance test artifacts as soon as they pass Unit and Functional testing </li></ul><ul><li>Fast feedback for developers </li></ul><ul><li>No Surprises </li></ul>
    6. 7. Warm Up <ul><li>Performance testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li></ul>2/20/2010 First Draft
    7. 8. It’s your turn <ul><li>Performance testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li></ul>2/20/2010 First Draft
    8. 9. <ul><li>To determine how fast some </li></ul><ul><li>aspect of a system performs </li></ul><ul><li>under a particular workload . </li></ul>2/20/2010 First Draft Performance testing
    9. 10. 2/20/2010 First Draft “ What cannot be measured, cannot be improved.”
    10. 11. Performance Testing
    11. 12. JMeter <ul><li>What is JMeter </li></ul><ul><li>Who can use JMeter </li></ul><ul><li>Where can we use JMeter </li></ul><ul><li>When can we use JMeter </li></ul><ul><li>Why to use JMeter </li></ul><ul><li>How to use JMeter </li></ul>2/20/2010 First Draft
    12. 13. JMeter <ul><li>What is JMeter </li></ul><ul><ul><li>Background </li></ul></ul><ul><ul><li>History </li></ul></ul><ul><li> </li></ul>2/20/2010 First Draft
    13. 14. JMeter <ul><li>Who can use JMeter </li></ul><ul><ul><li>Dev and QA </li></ul></ul>Using open source tools for performance testing Presenter: Goranka Bjedov
    14. 15. JMeter <ul><li>Where can we use JMeter </li></ul><ul><li> </li></ul>2/20/2010 First Draft
    15. 16. JMeter <ul><li>When can we use JMeter </li></ul><ul><ul><li>Know how the system responds to work load </li></ul></ul><ul><ul><li>Pound system with simultaneous requests </li></ul></ul><ul><ul><ul><li>Performance </li></ul></ul></ul><ul><ul><ul><li>Scalability </li></ul></ul></ul><ul><ul><ul><li>Reliability </li></ul></ul></ul><ul><ul><li>PSR tests on the quick POCs. </li></ul></ul><ul><ul><li>Use in AGILE </li></ul></ul><ul><ul><li>Use other tools that complement JMeter, e.g. Perfmon </li></ul></ul><ul><li> </li></ul>2/20/2010 First Draft
    16. 17. Why JMeter <ul><li>Catch performance regressions quickly </li></ul><ul><li>Simplify the hunting of bugs </li></ul><ul><li>Code with confidence </li></ul><ul><li>Know the performance cost of features </li></ul><ul><li>Go home on time </li></ul>
    17. 18. It’s Demo Time <ul><li>JMeter and JUnit </li></ul><ul><li>JMeter and database query testing </li></ul><ul><li>JMeter and Web based Flex Performance testing </li></ul>2/20/2010 First Draft
    18. 19. Performance Testing of Flex Web Application <ul><li>AMF - Action Message Format (AMF) binary format used to serialize ActionScript objects </li></ul><ul><li>To performance test flex web app, need to generate required amf file first. </li></ul>
    19. 20. Distributed Testing
    20. 21. It’s your turn <ul><li>Performance testing </li></ul><ul><li>Agile methodology </li></ul><ul><li>Automated testing </li></ul>2/20/2010 First Draft
    21. 22. Automated Testing <ul><ul><li>Integration with CI tools </li></ul></ul><ul><ul><li>- Ant Target </li></ul></ul><ul><ul><li>- HTML Report Generation </li></ul></ul>
    22. 23. Comparisons , Alternatives , Conclusions <ul><li>Shortcomings of JMeter </li></ul><ul><li>Conclusions </li></ul>2/20/2010 First Draft
    23. 24. Resources <ul><li>Apache JMeter Home </li></ul><ul><ul><li>http:// jakarta.apache.org/jmeter / </li></ul></ul><ul><li>Google TechTalk- Using open source tools for performance testing </li></ul>2/20/2010 First Draft
    24. 25. Questions 2/20/2010 First Draft
    25. 26. 2/20/2010 First Draft Sameer Naik - [email_address] Prasad Nirantar – [email_address] Contact Details

    ×