Rational Performance Testing
Hello World: Rational Achievement Tester Get to the basal of appliance achievement issues Skill Level: Intermediate Dennis Schultz (dennis. [email protected] ibm. com) Marketing Architect IBM 12 Mar 2007 This tutorial in the Hello World alternation introduces you to IBM® Rational® Achievement Tester and highlights its basal features. Practical, hands-on contest advise you how to almanac automatic achievement tests, use data-driven techniques to ensure randomization, play-back tests, and appraise real-time achievement reports.
Upon commutual the tutorial you will be able to use Rational Achievement Tester to actuate the account of achievement problems in your applications. Breadth 1. Afore you alpha About this alternation The Hello World alternation is for amateur developers who appetite a high-level, hands-on overview of IBM software products. Anniversary tutorial in the alternation provides simple contest and step-by-step instructions to accustom you with the apparatus and use of a authentic product. Aloft commutual a tutorial in the Hello World alternation you will apperceive abundant about the artefact to activate exploring and appliance it on your own.
About this tutorial This tutorial uses hands-on contest to accustom you with Rational Achievement Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 1 of 26 developerWorks® ibm. com/developerWorks Tester. Step-by-step instructions advise you how to almanac an automatic achievement test, enhance the assay appliance congenital data-driven techniques, play-back the assay as allotment of a achievement schedule, and appraise real-time letters to actuate the base account of a achievement problem. The best estimated active time for the tutorial is three hours. Objectives
After commutual this tutorial you should acquire the basal functions of Rational Achievement Tester and be able to use it to ascertain and assay achievement problems in your applications. Prerequisites This tutorial is for testers new to assay automation and alien with Rational Achievement Tester. As you are demography the tutorial, you can convenance the accomplish yourself if you acquire admission to the ambiance the tutorial requires. If you don't acquire admission to the environment, you can still apprehend the tutorial and appearance the activated demos. You aloof won't be able to try the accomplish for yourself.
The easiest way to admission the tutorial ambiance is through the Rational Achievement Tester online balloon arrangement created for the tutorial. The balloon arrangement uses the Citrix Admission Belvedere to accommodate you with a affiliation from your workstation to a alien server active Rational Achievement Tester, WebSphere Appliance Server 6. 0, and the sample appliance to be tested. If you acquire to set up the tutorial ambiance on your own machine, amuse use the Hello World: Rational Achievement Tester (for downloadable balloon code) adaptation of this tutorial that is accounting for this purpose.
IBM Rational Achievement Tester, afterlife accepted as Achievement Tester, is a achievement assay creation, execution, and assay apparatus that helps development teams validate the scalability and believability of their Web-based applications afore deployment. Abounding of Achievement Tester's appearance acquire been absolutely advised with the amateur amount tester in mind. Achievement Tester allows you to use one of several Web browsers (Internet Explorer, Mozilla, or Firefox) to assay a Web-based application. The after-effects of your alternation are captured and recorded on the operating arrangement of your best (Windows or Linux).
The assay is presented in a abridged tree-based editor that is able of advertisement basal capacity to the able on an "as needed" basis. Assay scripts are afresh aggregate calm in assorted combinations to reflect the assorted types of user that comprise the projected user population. You can specify the cardinal of apish arrangement users at beheading time. Assay beheading is accompanied by easy-to-read, real-time letters that amend throughout the assay run. Bottlenecks based on metrics such as round-trip performance, transaction rates, and arrangement affection are accent in these reports.
You can additionally use Achievement Tester to added analyze the base account of poor achievement problems from the hardware- or software-component akin through avant-garde adeptness ecology and response-time tracking. Although this tutorial focuses on testing a J2EE, Web-based application, you can use Achievement Tester to assay any Web-based application. You can additionally extend Achievement Tester to assay the achievement of added appliance types such as Siebel, SAP, and Citrix (see Resources). Setting up the tutorial ambiance Rational Achievement Tester © Copyright IBM Corporation 1994, 2008.
All rights reserved. Folio 3 of 26 developerWorks® ibm. com/developerWorks As ahead mentioned, the easiest way to admission this tutorial is through the online balloon arrangement developed appliance the Citrix Admission Platform. The balloon arrangement gives you chargeless admission to Achievement Tester, WebSphere Appliance Server 6. 0, and the Chance Builder sample application, and minimizes your accession and agreement time for the tutorial. Already you acquire registered for the online balloon system, installed the Citrix Metaframe Presentation Server, and logged into the server, you are accessible to begin.
Performance Tester will barrage in a Citrix applicant affair and will arise aloof as if it were active on your bounded desktop. You can collaborate with it aloof as you would if it were installed locally. The admission alarm on the Rational Assay Drive Ambiance Web folio will accumulate clue of the time absolute in your session. If you acquire to set up the tutorial ambiance locally you will charge to install and configure Rational Achievement Tester and WebSphere Appliance Server 6. 0 in your workstation. Agenda that the Chance Builder sample appliance acclimated by this tutorial is alone accessible with WebSphere Appliance Server 6. , not 6. 1. You should additionally acquiesce added time to actualize and configure a action in which to abundance your assay artifacts afore starting. The tutorial is accounting from the acceptance that you are appliance the online balloon system. Achievement Tester and Eclipse Achievement Tester is based on the open-source Eclipse platform. Eclipse provides a affluent alive ambiance for abounding tools, both accessible antecedent and commercial, including abounding of the offerings of the Rational Software Delivery Belvedere such as Rational Software Architect, Rational Appliance Developer for WebSphere Software, and Rational Functional Tester (see Resources).
This provides a accepted user acquaintance for applique beyond the software development action cycle. Not alone are these accoutrement all based on Eclipse, but generally times they absolutely allotment the aforementioned shell. In alternative words, the adequacy of anniversary of these accoutrement is presented to the user as a new angle in the aforementioned shell. A angle is a alliance of accoutrement and angle focused on one authentic task. The angle for Achievement Tester is accepted as the Assay perspective. As the name implies, the Assay angle provides angle that are bare by a developer or QA able focused on testing a software appliance or system.
The tutorial workspace and sample projects Assuming you are appliance the online balloon system, Achievement Tester will be associated to a pre-configured workspace. A workspace can be any agenda breadth breadth your assignment is stored. In your case, this workspace contains two projects. The aboriginal action is the Chance Builder Application. This action contains the antecedent cipher for the Chance Builder sample appliance you will be testing. The appliance has already been deployed to WebSphere Appliance Server on the online balloon system. The action is alone in your workspace so that Rational Achievement Tester Folio 4 of 26 Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® Achievement Tester can cross to the antecedent cipher afterwards aback you are attempting to acquisition the base account of a achievement bottleneck. The added project, Chance Builder Achievement Tests, is the assay action you will use to abundance your tests, datapools, schedules, and results. If you aggrandize the project, you will see several folders acclimated to adapt your assay assets. You can add, remove, and adapt folders as you like. There isn't abundant to appraise in this action yet. You will attending added carefully at it already you acquire recorded a test.
Figure 1. A Achievement Tester workspace beheld in the Assay Navigator Breadth 3. Almanac a assay book Achievement tests are best generally created by recording your chiral interactions with the arrangement beneath test. In this breadth of the tutorial, you will use the automatic HTTP recorder to abduction the book of interacting with the Chance Builder sample appliance to assemble a vacation amalgamation and acquirement it. The Chance Builder appliance is already active in the online balloon environment. All you charge to do is affix to it through a Web browser while the recorder is engaged.
Browser abutment Although you are appliance Internet Explorer in this tutorial, Achievement Tester can assignment with any Web browser that supports SOCKS proxies. Achievement Tester can automatically barrage Internet Explorer, Mozilla, and Firefox. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 5 of 26 developerWorks® ibm. com/developerWorks Activated audience Would you like to see these accomplish approved for you? me Appearance Alpha the recorder 1. Alpha the recorder by beat Actualize a Assay from Recording on the toolbar . This opens the Actualize New Assay From Recording window.
Figure 2. The Actualize New Assay From Recording window 2. Baddest HTTP Recording and bang Next. Rational Achievement Tester Folio 6 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® 3. 4. On the abutting folio of the wizard, baddest Chance Builder Achievement Tests > Tests as the breadth to actualize the file. Access PurchaseIslandAdventure as the test-file name and bang Finish. Figure 3. The Actualize New Assay From Recording window, folio 2 5. The recorder is affianced and Internet Explorer is launched to the "Welcome to Achievement Testing" page.
Clear the accumulation of acting files by selecting Internet Explorer Accoutrement > Internet Options .... Beneath Acting Internet Files, bang Delete Cookies and confirm. Afresh bang Delete Files. Analysis Delete all offline agreeable and bang OK to confirm. Bang OK to abolish the Internet Options window. 6. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 7 of 26 developerWorks® ibm. com/developerWorks 7. Barrage the Chance Builder appliance by beat the Chance Builder button in the Internet Explorer Links toolbar. Figure 4. Barrage the Chance Builder application
Navigate the appliance Activated audience Would you like to see these accomplish approved for you? me Appearance Now that the recorder is engaged, you will cross the appliance aloof as you commonly would. 1. In the larboard aeronautics breadth of the page, bang Island Adventures. Figure 5. Island Adventures articulation 2. Actuality you see an broadcast account of island chance trips. From the submenu on the Accessible Chance Bales page, bang Maui Survival Adventure. Figure 6. Maui Survival Chance articulation Rational Achievement Tester Folio 8 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks eveloperWorks® 3. This folio shows you the options accessible for the amalgamation you acquire chosen. Bang Baddest Amalgamation on the appropriate ancillary of the Chance Amalgamation Capacity page. You are taken to the Amalgamation Options page. Actuality you can personalize your vacation amalgamation by alteration the cardinal of people, alpha date, cardinal of days, etc. For now, aloof acquire the defaults by beat Set Amalgamation Options. On the Chance Amalgamation Capacity page, bang I Will Accommodate My Own Transportation. On the Chance Amalgamation page, bang Checkout. Let's accumulate it simple for now: on the Sign On page, bang Sign In as a abiding customer.
On the Access Adjustment Capacity page, annal to the basal and bang Submit. Afterwards a moment, you will be taken to the Checkout page. Actuality you should see your adjustment ID. Figure 7. The Adjustment ID articulation on the Checkout folio 4. 5. 6. 7. 8. 9. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 9 of 26 developerWorks® ibm. com/developerWorks Agenda that your adjustment ID will be altered and will not be absolutely as apparent here. Delay for several abnormal afterwards the checkout folio loads, afresh analysis on the cachet of your adjustment by beat on the Adjustment ID link. 10.
Once the Adjustment Tracking After-effects folio loads, abutting the browser. This will account Achievement Tester to activate breeding the assay based on the cartage it has captured. Breadth 4. Review and adapt the assay Achievement Tester generates a assay based on the HTTP cartage it captured during the recording. The assay is abundant added than a simple HTTP trace log, however. Abaft the scenes, Achievement Tester does a lot of processing to actualize a assay that is robust, extensible, and accessible to maintain. In this section, you will appraise the generated assay in greater detail and adapt it to use altered data.
Examine the assay Activated audience Would you like to see these accomplish approved for you? me Appearance The assay is represented in a timberline architecture in the larboard allocation of the Assay Editor view. Anniversary top-level bulge in the timberline represents a Web folio visited during your recording session. The name of the bulge is based on the name of the Web page. Figure 8. The Assay Capacity timberline appearance Rational Achievement Tester Folio 10 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® 1. Aggrandize the Welcome to the Chance Builder Advertence appliance node.
Here is breadth the avant-garde achievement assay architect can see all the capacity of the affairs abaft the page. The aboriginal aspect is accent in dejected to announce that it is the primary appeal -- the appeal for the folio HTML contents. Figure 9. The broadcast folio in the Assay Capacity timberline appearance 2. Bang on the Protocol Abstracts appearance in the basal allocation of the window, afresh Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 11 of 26 developerWorks® ibm. com/developerWorks bang on the primary appeal accent in dejected in the tree.
The capacity of the appeal and its agnate acknowledgment are apparent in the Request, Acknowledgment Headers, and Acknowledgment Agreeable tabs of the Protocol Abstracts view. The Browser tab alike renders the capacity of the alleged element. Figure 10. The Browser tab in the Protocol Abstracts appearance 3. Detailed advice about the alleged aspect is additionally presented in the right-hand allocation of the Assay Editor view. You can adapt this abstracts if you charge to change the host, URL, appeal attack values, or any alternative field. Automatic abstracts alternation Activated audience Would you like to see these accomplish approved for you? me Show
Web applications tend to be awful dynamic. For example, in the book you recorded you placed an adjustment for a vacation amalgamation and were accustomed a altered adjustment ID. You afresh acclimated that adjustment ID to analysis the cachet of your purchase. Aback you play-back this test, it will abode accession adjustment and you will be accustomed a altered adjustment ID. You would appetite Achievement Tester to analysis the cachet of that new adjustment ID, not the one you ahead recorded. For that reason, Achievement Tester performs automatic abstracts correlation. That is, it looks at abstracts ambit beatific to the server and matches them up with above-mentioned acknowledgment abstracts from the server.
Accessing the activated abstracts is easy. Rational Achievement Tester Folio 12 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® 1. Highlight the Adjustment Tracking After-effects bulge in the Assay Capacity breadth of the Achievement Assay view. Now right-click central the Assay Abstracts breadth to the appropriate and baddest Appearance References. Apprehension that the orderId acreage is actuality commissioned with abstracts from a above-mentioned response. Figure 11. Appearance References for abstracts alternation 2. Double-click orderId. This takes you to the URL of the absolute appeal for that page.
Figure 12. Activated abstracts in the URL of a appeal 3. Right-click the accent cord and baddest Go To. This takes you anon to the orderId amount in the acknowledgment argument of the Checkout request. During assay playback, Achievement Tester will acting the orderId amount it receives in this acknowledgment for the orderId in the appeal for adjustment tracking. Figure 13. Activated abstracts in the above-mentioned acknowledgment Granted, you now apperceive far added than you apparently capital to apperceive about abstracts correlation; but that is the adorableness of Achievement Tester: it does all this for you
Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 13 of 26 developerWorks® ibm. com/developerWorks after any duke coding or alternative accomplishment on your part. Randomize the abstracts Activated audience Would you like to see these accomplish approved for you? me Appearance In achievement testing it is capital to be able to randomize the abstracts actuality beatific to the server. Modern Web applications acquire abounding layers of caching. If you were to challenge a thousand users appliance the appliance accomplishing absolutely the aforementioned thing, you would not beam archetypal achievement behavior.
Once the aboriginal emulated user performed the transaction, all the consecutive users would be cartoon advice from the cache. For this reason, achievement assay engineers generally absorb abundant of their time configuring tests to cull accidental abstracts from a "datapool" so that anniversary emulated user uses altered information. Achievement Tester automatically identifies acceptable candidates for datapool admission and makes it accessible to accessory these fields with abstracts sources you provide. 1. Baddest the Access Chance Amalgamation Capacity folio bulge in the assay contents. Apprehension in the Assay Abstracts breadth the start_month, start_year, and start_day parameters.
These were the absence ethics in the Options page, which were after transmitted aback to the server aback the Set Amalgamation Options button was clicked. Figure 14. Datapool candidates 2. 3. 4. Set up a datapool to randomize the ethics acclimated by your basic users aback you play-back this test. Baddest start_month in the Assay Abstracts area. Bang Acting From beneath the Assay Abstracts area. Baddest Datapool Value.... Figure 15. Acting start_month from the datapool capricious Rational Achievement Tester Folio 14 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks eveloperWorks® 5. 6. 7. Bang Add Datapool on the "Select datapool" cavalcade window. You will add an affiliation to an absolute datapool to this test. Baddest the absolute VacationStartDates datapool and bang Select. Aback in the "Select datapool" cavalcade window, baddest start_month and bang Use Column. Agenda that the "Substituted with" cavalcade abutting to the start_month capricious now has a advertence to the datapool column. Baddest start_year in the Assay Abstracts area. Repeat the process. This time you will not charge to add the datapool reference; aloof baddest start_year and bang Use Column.
Repeat the aloft action for start_day. The three capricious rows should be accent in blooming to announce they are actuality commissioned from the datapool and should appearance references in the "Substituted with" column. Figure 16. Variables commissioned with datapool variables 8. 9. 10. Press Ctrl-S to save the assay aback finished. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 15 of 26 developerWorks® ibm. com/developerWorks Breadth 5. Agenda a workload One of the keys to a acknowledged achievement assay is the adeptness to accurately archetypal the advancing arrangement workload.
Software systems about acquire assorted types of users that accomplish assorted tasks. Achievement Tester provides a graphical interface to accredit you to archetypal your user activities. Actualize a agenda Activated audience Would you like to see these accomplish approved for you? me Appearance 1. Aggrandize the Schedules binder and double-click the AdventureBuilderLoadTest agenda to accessible it in the Agenda Editor view. This is a agenda that has been partially completed for you. Figure 17. AdventureBuilderLoadTest agenda in Assay Navigator appearance 2. Two user groups acquire already been authentic in this schedule.
As you can see from the annotations on the Agenda Contents, browsers represent 20 percent of your emulated users while buyers represent 80 percent. Figure 18. Agenda Capacity shows authentic user groups Rational Achievement Tester Folio 16 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® 3. Aggrandize the Browsers user accumulation and all independent elements in the Agenda Contents. Figure 19. Capacity of the Browsers user accumulation Achievement Tester offers abounding avant-garde constructs to advice you assay the appulse of a astute amount on your system.
The bureaucracy beneath the Browsers user accumulation can be interpreted as follows: Anniversary browser will analyze three chance packages. Browsers will about acquire to attending at either abundance adventures or western adventures but are alert as acceptable to attending at abundance adventures. The action of browsing the chance chic is emulated by tests that were recorded in abundant the aforementioned way you recorded your test. Afterwards attractive at anniversary category, a browser will delay 1000 milliseconds afore browsing accession category. 4. The Buyers accumulation has not been completed.
Use the assay you recorded beforehand as an accomplishing for the Buyers test. Bang the Buyers user group. Bang Add ; Assay and baddest PurchaseIslandAdventure from the Baddest Achievement Tests window. Save the AdventureBuilderLoadTest schedule. 5. Breadth 6. Run an automatic achievement assay Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 17 of 26 developerWorks® ibm. com/developerWorks In this breadth you will apprentice how to assassinate your assay adjoin the Chance Builder appliance and adviser the results. Barrage the assay Activated demo
Would you like to see these accomplish approved for you? me Appearance 1. Baddest the advanced bulge in the Agenda Capacity -- that is, the AdventureBuilderLoadTest node. A cardinal of beheading options are accessible in the tabs on the right-hand allocation of the Achievement Agenda Editor view. You can specify the cardinal of users you appetite to challenge in the Cardinal of users acreage on the General tab. Since the user groups in this agenda acquire been authentic in agreement of percentages, Achievement Tester will do all the adjustments for you anniversary time you change the admeasurement of your schedule. Leave the Cardinal of users set to 5.
The online balloon ambiance is configured for a best of bristles emulated users and attempting to run with added users will aftereffect in a authorization error. Bang Run on the toolbar. This launches your achievement test. Figure 20. Run button on the toolbar 2. Adviser the assay Activated audience Would you like to see these accomplish approved for you? me Appearance While your assay is running, you can adviser its advance in abreast real-time. The Overall tab of the Achievement Address appearance will appearance you assay advance in the bar beyond the top. The bar blueprint will appearance the cachet cipher success amount for pages and elements.
Both should appearance 100%. While the assay is active you can browse the assorted tabs on the address to see what is happening. 1. Baddest the Summary tab forth the basal of the report. Basal statistics about the assay run, pages, and folio elements are accustomed here. Agenda that these statistics will abide to amend until the run has completed. Rational Achievement Tester Folio 18 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® 2. 3. Baddest the Folio Achievement tab. This tab presents a bar blueprint of the boilerplate folio acknowledgment time for the 10 pages with the accomplished times.
Feel chargeless to browse through the alternative address pages. The absence advice presented is almost accessible to apprehend and gives you quick insights into the achievement of Chance Builder application. Agenda that the blueprint on the Assets tab will be blank: this is expected. Aback the assay has accomplished (note the advance bar on the Overall tab), go aback to the Folio Achievement tab. You should apprehension that the Checkout folio is appreciably slower than any of the alternative pages. 4. Breadth 7. Assay the base account At this point, you acquire auspiciously acclimated Achievement Tester to bare a achievement botheration in your application.
The abutting catechism you will ask yourself is, "What is causing the problem? " To get to the basal of this catechism you will use Achievement Tester's Base Account Assay facilities. In this section, you will re-run your assay with added abstracts accumulating accoutrement engaged. The added advice will advice you actuate if you are adverse a accouterments or software affair and assignment bottomward to the base account of the achievement bottleneck. Engage adeptness ecology Activated audience Would you like to see these accomplish approved for you? me Appearance 1. 2. 3. Double-click the AdventureBuilderLoadTest agenda in the Assay Navigator view.
Revisit some of the added beheading controls on the schedule: alpha by selecting the top bulge of the Agenda Capacity again. Baddest the Adeptness Ecology tab in the Agenda Aspect Capacity area. Adeptness ecology enables Achievement Tester to log any arrangement constant from Windows perfmon, Unix or Linux rstatd, or Tivoli Monitoring. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 19 of 26 developerWorks® ibm. com/developerWorks 4. 5. Analysis Accredit adeptness monitoring. Bang Add New... to ascertain a new server on which to adviser resources.
Note that you may charge to annal bottomward the appropriate allocation of the Achievement Agenda appearance to see the button. In the Adeptness Ecology window, access localhost as the host name. Analysis Windows Achievement Monitor. Agenda that in this balloon environment, the Web server, appliance server, and Achievement Tester arrangement are all active on a distinct machine: localhost. This is, of course, not a astute situation. In a authentic achievement testing environment, you can ascertain any machines that adeptness be allotment of your appliance or assay system. Baddest the Assets tab. Afterwards a few seconds, you can see the all-encompassing account of counters available.
To accumulate it simple, deselect all counters except Memory > Pages/sec and Processor > % Processor Time. Bang OK to abutting the Adeptness Ecology window. 6. 7. 8. Engage Acknowledgment Time Breakdown 1. 2. 3. 4. 5. 6. Baddest the Acknowledgment Time Breakdown tab in the Agenda Aspect Capacity breadth of the Achievement Schedule. Analysis Accredit accumulating of acknowledgment time data. This enables Achievement Tester's response-time abstracts accumulating infrastructure. Since you apperceive the alone assay that absolutely visits the Checkout folio is PurchaseIslandAdventure, baddest alone that test. In the Options area, set the Detail akin to High.
Save the agenda by acute Ctrl-S. Bang the Run button on the toolbar again. Achievement Tester launches the assay aloof as before, but this time with adeptness ecology and response-time breakdown accumulating engaged. Appraise resource-utilization abstracts 1. While the achievement agenda is executing, baddest the Assets tab Rational Achievement Tester Folio 20 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® on the Achievement Report. This time, you'll see abstracts for the assets you chose to aggregate in the schedule. Figure 21. The Assets tab on the Achievement Address . The abstracts you see here, although accurate, is not absolutely adumbrative of a archetypal amount test. In this balloon environment, the Achievement Tester amount generation, Web server, appliance server, and database server are all active on a distinct machine. You would commonly clue assets on anniversary bank of your application. In addition, the amount assay you aloof ran was of absolute abbreviate duration. Normally, achievement tests will be decidedly longer, acceptance the systems to ability a abiding state. Nonetheless, the balloon arrangement gives you a faculty of how accessible it is to clue adeptness appliance during a achievement test.
If you acquire a concern, you can now go to the Acknowledgment vs. Time Detail tab, right-click on the graph, and bang Add/Remove Achievement Counters to bury adeptness counters assimilate folio acknowledgment data. This helps you visually associate any spikes in adeptness appliance with folio activity. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 21 of 26 developerWorks® ibm. com/developerWorks 3. Since it doesn't arise that the achievement affair with Chance Builder is accouterments related, use the response-time breakdown abstracts to acquisition out if it is software related.
Examine the response-time breakdown abstracts 1. 2. Baddest the Folio Achievement tab of the Achievement Report. Assignment bottomward into what went on abaft the scenes for the Checkout page. Right-click on the bar in the blueprint for the Checkout folio and acquire Display Acknowledgment Time Breakdown Statistics.... Baddest the /ab/checkout. do URL from the Selection Astrologer and bang Finish. The Acknowledgment Time Breakdown Statistics appearance lists methods alleged on the server tiers of the Chance Builder application. There are assorted means to appraise this information.
Switch to the Timberline Layout appearance appliance the Layout button in the upper-right bend of the view. Figure 22. The Timberline Layout appearance 3. 4. Now array by bottomward accumulative time by beat alert on the Accumulative Time cavalcade header. Acquisition the base account of the botheration The top bulge labeled rationaltd represents the machine. In this trial, all system-under-test and test-harness apparatus are active on a distinct machine. In a real-world test, you would acceptable see assorted machines listed. The second-level bulge labeled J2EE/WebSphere... is the WebSphere appliance server component.
From the advice here, you can bound see that the J2EE angle blazon arresting the best accumulative time is the Servlet. 1. Aggrandize the Servlet bulge and the com. sun. j2ee. blueprints. waf. controller. web package, and the Rational Achievement Tester Folio 22 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® MainServlet chic nodes. This tells you that the four invocations of the doPost adjustment in the MainServlet chic captivated 42. 113 seconds. Agenda that your absolute ethics will apparently differ. Figure 23.
Response time of the doPost adjustment of MainServlet 2. Right-click the doPost adjustment and acquire Accessible Source. Well, what do you apperceive -- you acquire amid the antecedent of your achievement problem! Figure 24. A beddy-bye account in the antecedent cipher Breadth 8. Summary This tutorial has alien you to IBM Rational Achievement Tester. In a absolute abbreviate time you were able to assemble a assay apartment by recording a achievement assay for a Web application, customizing the assay to randomize abstracts aloft playback, and appliance that assay as allotment of a astute achievement assay schedule.
You accomplished that agenda on a baby calibration and acclimated the abreast real-time letters to analyze a apathetic page. Already you had articular the page, you aggregate adeptness appliance abstracts and response-time breakdown statistics, which you afresh acclimated to investigate accessible accouterments and software causes. You afresh accomplished bottomward to the specific antecedent cipher adjustment causing the problem. Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 23 of 26 developerWorks® ibm. com/developerWorks
While you may acquire abstruse a lot in this tutorial, you acquire alone aching the apparent of what Achievement Tester can do. As you abide to analyze Achievement Tester you will ascertain abounding added appearance to abetment you in testing the achievement of your applications and absolution them with confidence. See Assets to apprentice added about Achievement Tester and alternative IBM software accessories covered in the Hello World tutorial series. Rational Achievement Tester Folio 24 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved. ibm. com/developerWorks developerWorks® Resources
Learn • The Hello World: Rational Achievement Tester (for downloadable balloon code) is accession adaptation of this tutorial that is accounting for bodies who would adopt to set up their own environment, rather than use the online balloon of Rational Achievement Tester. • The Hello World alternation of hands-on tutorials introduces IBM software accessories that comedy a analytical role in implementing an SOA foundation in your enterprise. • See the Rational Achievement Tester artefact folio for abstruse documentation, how-to articles, education, downloads, and artefact advice about Rational Achievement Tester. "Using IBM Rational Achievement Tester to acquisition bottlenecks" (David M. Chadwick, developerWorks, September 2006) presents a real-world case abstraction in appliance Rational Achievement Tester. • IBM Rational achievement testing solutions accommodate scalability and amount testing for J2EE, Web-based, Siebel, Citrix, and SAP applications. • Apprentice added about the IBM Rational Software Delivery Belvedere -- a complete set of accoutrement to build, integrate, modernize, extend, and arrange software and software-based systems. • Apprentice added about the Eclipse development environment.
Get accessories and technologies • Download a chargeless balloon adaptation of Rational Achievement Tester. • Body your abutting development action with IBM balloon software, accessible for download anon from developerWorks. Discuss • Participate in the altercation appointment for this content. About the columnist Dennis Schultz Dennis Schultz abutting Rational in 1995 as a abstruse sales engineer. For eight years, he formed carefully with abundant clients, implementing Rational solutions in their projects. Dennis helped arrange solutions for software agreement management, change management, requirements management, and assay administration and implementation.
Since 2003, Dennis has been a Abstruse Marketing Architect for Rational Achievement Tester © Copyright IBM Corporation 1994, 2008. All rights reserved. Folio 25 of 26 developerWorks® ibm. com/developerWorks IBM Rational software. Dennis holds a B. S. in computer engineering from Iowa Accompaniment University. He is based in St. Louis, Missouri, and fills his non-work time with his four children. Rational Achievement Tester Folio 26 of 26 © Copyright IBM Corporation 1994, 2008. All rights reserved.
Order a unique copy of this paper