Neoload overview


Published on

1 Comment
  • Changed everything :)
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Link for NeoLoad overview:
  • NeoLoad records and replays browser requests to the server, which means that NeoLoad: Can simulate requests made by components such as plug-ins, Java applets, ActiveX, Flash, animations,... Cannot simulate local actions such as updating a graphical component using client-side JavaScript.
  • Business Transaction: A virtual user container groups the different web pages that make up a "business transaction". In other words, a container is a set of web pages that carry out a business exchange. A typical example of this type of container is the set of pages used to connect to the application. These containers are clearly marked in the test results to make analyzing download times easier.
  • A population is a group of virtual user types which allows the application to be tested using different business actions. One typical example is when testing a ebusiness website with 90% of users browsing the catalog and 10% making an online purchase.
  • Load variation policy: Defines what type of load you need to put on. Duration policy: How do you want to stop the test, manually, after n iteration or after some specified amount of time. Basically we set load profile here.
  • Runtime information changes/gets modified with time. The parameters which are mentioned here have been previously defined during DESIGN>>Monitor >> Assign a new machine to be monitored >> Select various counters. Monitors the load generators' activity: • Host - Machine running the load generator. • Virtual Users - Number of virtual users currently being run by that load generator. • Hit Rate - Average hit rate generated by that load generator. • Errors - Current error rate (number of errors per second). • CPU Load - CPU load for the machine hosting the load generator. • Memory Used - Memory used, expressed as a percentage of the memory allocated to the load generator program (the program's default memory allocation is 384Mb). • Throughput - Throughput in Megabits per second for the network interface used on the load generator. If the CPU Load or Memory Used figure regularly exceeds 90%, this indicates that the load generator is overloaded. Run the test with fewer virtual users or a longer think time, or use additional load generators.
  • Neoload overview

    1. 1. NeoLoad Tool for Performance Testing
    2. 2. Contents of Presentation <ul><li>About Load Testing </li></ul><ul><li>Load Testing with NeoLoad </li></ul><ul><li>Quick Start </li></ul><ul><li>FAQ </li></ul><ul><li>References </li></ul>
    3. 3. About Load Testing <ul><li>Load testing is necessary to: </li></ul><ul><ul><li>Test a web site's vulnerability to crashing under load. </li></ul></ul><ul><ul><li>Check response times under the predicted load. </li></ul></ul><ul><ul><li>Determine the number of simultaneous users supported by the application. </li></ul></ul><ul><ul><li>Define hardware and bandwidth requirements. </li></ul></ul>
    4. 4. Load Testing with NeoLoad <ul><li>Recording Http traffic between browser and server. </li></ul><ul><li>Defining Test Parameter/Scenario. </li></ul><ul><li>Running the Test. </li></ul><ul><li>Analyzing the results. </li></ul>
    5. 5. Quick Start ……… <ul><li>Our Test will undergo following phases: </li></ul><ul><li>Recording the Test Scenario. </li></ul><ul><li>Running the test. </li></ul><ul><li>Test Results. </li></ul>
    6. 6. Recording the Test Scenario <ul><li>Starting the recording </li></ul><ul><li>Click on the &quot;Start recording&quot; button on the controller to start recording the scenario. </li></ul>
    7. 7. Recording the Test Scenario – cont… <ul><li>Browser settings </li></ul><ul><li>NeoLoad will capture pages and record them into a virtual user profile. Choose the name of the profile to record, then select &quot;Adobe RTMP&quot; if your application is using the RTMP protocol. </li></ul><ul><li>By default, NeoLoad records only HTTP traffic. </li></ul><ul><li>Next, specify which web browser is to be used for the recording and whether the browser's cache and cookies should be cleared before recording. </li></ul>
    8. 8. Recording the Test Scenario – cont… <ul><li>3. Entering the URL to be recorded </li></ul><ul><li>The browser displays the NeoLoad recording page, indicating that the browser settings are correct. </li></ul><ul><li>The browser is now ready to record the scenario. Enter the URL of the site to be tested and browse as normal. </li></ul>
    9. 9. Recording the Test Scenario – cont… <ul><li>4. Grouping recorded pages by business transaction </li></ul><ul><li>At any time during the recording, you may create named containers in which to group the visited pages. </li></ul><ul><li>These containers represent the business transactions within your scenario. </li></ul>
    10. 10. Recording the Test Scenario – cont… <ul><li>5. Stopping the recording </li></ul><ul><li>Close the browser to stop recording. You may also click on the controller's &quot;Stop recording“ button. </li></ul>
    11. 11. Recording the Test Scenario – cont… <ul><li>6. Creating your first virtual user </li></ul><ul><li>Once the recording is finished, a pop-up wizard is displayed. </li></ul><ul><li>Follow the steps through the wizard. </li></ul>
    12. 12. Recording the Test Scenario – cont… <ul><li>On the &quot;Virtual Users&quot; tab, you may configure the think time for the user. </li></ul><ul><li>The think time is a simulation of the time spent by the user on the previous page before accessing the current page. </li></ul><ul><li>This delay may be for each page individually, for all pages globally or variable within a given range. </li></ul>
    13. 13. Recording the Test Scenario – cont… <ul><li>7. Checking the validity of the virtual user </li></ul><ul><li>Complex scenarios may require advanced settings. A failure to implement these settings will result in errors and an unexpected behavior for the virtual user. </li></ul><ul><li>For example, the virtual user will not create entries in the database. </li></ul><ul><li>Check the validity of the virtual user via the &quot;Run / Start checking&quot; menu item. </li></ul>
    14. 14. Recording the Test Scenario – cont… <ul><li>The &quot;Check Virtual User&quot; dialog displays the HTTP request and the HTTP response of </li></ul><ul><li>each NeoLoad request. </li></ul>
    15. 15. Recording the Test Scenario – cont… <ul><li>NeoLoad automatically flags in error any responses whose HTTP response code is an error code, </li></ul><ul><li>for example &quot;500 Internal Error&quot;. Nevertheless, many applications return error messages within a valid &quot;200 OK&quot; response. In these cases, NeoLoad does not automatically detect the error. </li></ul><ul><li>If the virtual user does not behave as expected, check the responses to see if they contain an error message or an unexpected content. </li></ul><ul><li>Failure to handle a dynamic parameter will cause an error. Generally, it means that you may need to extract and inject some data. </li></ul>
    16. 16. Recording the Test Scenario – cont… <ul><li>8. Creating a population </li></ul><ul><li>Click on the &quot;Populations&quot; tab. A pop-up wizard prompts you to create a population for the test. </li></ul><ul><li>A population is a group of virtual users. In this example, the population only contains the previously recorded virtual user. </li></ul>
    17. 17. Running the Test <ul><li>The Scenarios tab </li></ul><ul><li>Click on the &quot;Runtime&quot; button, then on the &quot;Scenarios&quot; tab. </li></ul><ul><li>Configure the settings such as test duration, load policy (constant, ramp-up, peaks, custom) and the number of virtual users. </li></ul>
    18. 18. Running the Test – cont… <ul><li>Run the test by clicking on &quot;Run&quot; top menu, and then click on the &quot;Start playing&quot; button. </li></ul>
    19. 19. Running the Test – cont… <ul><li>2. The Runtime Overview tab </li></ul><ul><li>This panel monitors the test sequence. It provides immediate statistics such as hits/sec., average response time and errors. </li></ul><ul><li>The test may be stopped at any time by clicking on the &quot;Stop&quot; button. </li></ul>
    20. 20. Test Results <ul><li>The Test Summary tab </li></ul><ul><li>The test summary provides general statistics for the test, including total test duration, throughput, total number of hits, number of errors and average response time, together with important information such as slowest pages, pages with the highest error rates etc. </li></ul>
    21. 21. Test Results – cont… <ul><li>2. The Values tab </li></ul><ul><li>This tab allows you to: </li></ul><ul><li>Quickly plot all the graph curves for a web page, HTTP request, a monitor or an indicator. </li></ul><ul><li>Sort the request and web page statistics. </li></ul><ul><li>Use &quot;Filters&quot; to filter the displayed results by load generator, population or virtual user. </li></ul><ul><li>Use the &quot;Type&quot; drop-down list to switch between Web Pages , HTTP Requests , Performance counters and Indicators . </li></ul>
    22. 22. Test Results – cont… <ul><li>3. The Graphs tab </li></ul><ul><li>The &quot;Graphs&quot; tab can be used to plot a graph curve for any statistic in any request. Simply select </li></ul><ul><li>the required statistic among average response time, hits/sec., error rate etc., then drag and drop a Web </li></ul><ul><li>Page , a HTTP request or a Performance counter into the graph pane to the right. </li></ul><ul><li>You may also plot a curve for a previous test by selecting that test in the Results drop-down list </li></ul><ul><li>or compare two tests by selecting &quot;Compare...&quot; . </li></ul>
    23. 23. Test Results – cont… <ul><li>4. The Errors tab </li></ul><ul><li>This tab displays detailed information on request errors encountered during the test. It itemizes </li></ul><ul><li>the requests sent to the server, the server's response and the results of the assertions checking its </li></ul><ul><li>validity. To help pinpoint the source of the error, you may access the request that precedes the request </li></ul><ul><li>containing the error from this tab. </li></ul>
    24. 24. Communication methodology <ul><li>Neoload uses agent less communication between client and server. </li></ul><ul><li>It is based on the Push technology. </li></ul><ul><li>Push technology is a type of communication where information is &quot;pushed&quot; by the server to the browser, contrary to the normal &quot;pull&quot; principle whereby the browser initiates the request for information. </li></ul><ul><li>There are several Push methods: polling, long polling or streaming. </li></ul>
    25. 25. FAQ <ul><li>What is RTMP: Real Time Messaging Protocol which is proprietary of Adobe for streaming audio/video and data over the internet between Flash player and a server. </li></ul><ul><li>What is xml code in NeoLoad: XML code is actually amf request in binary, sent by client to server. </li></ul>
    26. 26. References <ul><li>URL for Neoload Demo </li></ul><ul><li> </li></ul>