




已閱讀5頁,還剩27頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領
文檔簡介
AtlantaMercuryUsersGroupHowtoPerformanceTest NETand NETWebServicesFebruary18 2003CalebBillingsleyOrasiSoftware Agenda Introductionto NETHowwill NETImpactTestingMercury NETSupportLoadTestingWindowsFormsIntroductiontoWebServicesLoadTestingWebServiceswith NET NETandMercuryProducts Whatis NET The NETFrameworkisanewcomputingplatformthatsimplifiesapplicationdevelopmentinthehighlydistributedenvironmentoftheInternet Objectivesof NET Toprovideaconsistentobject orientedprogrammingenvironmentwhetherobjectcodeisstoredandexecutedlocally executedlocallybutInternet distributed orexecutedremotely Toprovideacode executionenvironmentthatminimizessoftwaredeploymentandversioningconflicts Toprovideacode executionenvironmentthatguaranteessafeexecutionofcode includingcodecreatedbyanunknownorsemi trustedthirdparty Toprovideacode executionenvironmentthateliminatestheperformanceproblemsofscriptedorinterpretedenvironments Tomakethedeveloperexperienceconsistentacrosswidelyvaryingtypesofapplications suchasWindows basedapplicationsandWeb basedapplications Tobuildallcommunicationonindustrystandardstoensurethatcodebasedonthe NETFrameworkcanintegratewithanyothercode NETFramework Usesof NETApplications WindowsFormsWindowsFormsisthenewplatformforMicrosoftWindowsapplicationdevelopment basedonthe NETFramework Thisframeworkprovidesaclear object oriented extensiblesetofclassesthatenablesyoutodeveloprichWindowsapplications WebServicesWebServicesprovideaneasytouse API thatiswebbasedtoqueryandretrieveinformationsuchasstockquotes airlineschedules weather etc ASP NETASP NETisthenextgenerationofASPapplicationsforMicrosoft Thesinglebiggestadvantageiscompiledvs interpreted Resultingingreaterscalability WebFormsWebFormsareanASP NETtechnologythatyouusetocreateprogrammableWebpages TraditionalApplication CS Web etc WhatDoes NETmeantoTesting NETcreatessomenewchallenges Systemsaremoredistributedthaneverandoftenyoucan tloadtesteverypiece YoumighthavetobuildWebServiceStubsorhaveadeveloperdothistoloadtestanapplication NewcorrelationtechniquesarerequiredforWeb browserbased NETapplicationsGivenhowdistributed NETcanbecome theabilitytoLoadTestindividualpieceswillbeessentialandthatwillrequirethe NETLRAdd inSome NETWebApplicationswillrequireverylittlechangeintechniquestotest HowDoesLoadRunnerSupport NET NETWebappscanbetestedintheNormalWebMannerwithafewextracorrelations ToTest NETapplicationsthataren tbasedonawebpageyouwillneedLoadRunner NETsupport Toinstalltheadd indownloadfrom Mercury s NETWebPage Supported NETEnvironments Includes DataandXMLClasses ADO NET SQL Xpath XML etc FrameworkBaseClasses IO strong netsecurity threading text reflection collections etc CommonLanguageRuntime debug exception typechecking JITcompilers CoreWindowsPlatform WindowsXP NetServer WindowsDataCenter MercuryInteractive ssolutionsprovidesupportforthefollowingconfigurationsforMicrosoft NETPlatform LoadTesting NETWindowsForms StepsforLoadTesting NETApplicationsthatdon thaveWebInterface InstallMSVisualStudio NETbeforeLoadRunnerAdd inInstallLR NETAdd inCreateaNewProjectoftypeAddcodetocall NETApplicationseitherwithGUIorwithoutAddLRtransactionandotherLRstatementsCompileandTestCreateaVuserwithcompiledbinaryandruninController ComponentsofVisualStudio NETVuserProject VuserMenu Init Action EndSections SolutionExplorer DebugOutput AccessingLoadRunner NET AccessingtheLoadRunnerAPI Tips LoadRunnerAPIin NET Youcantypelr Andtheauto completionwillshowyouallthevalidsyntax RememberyoucanrecordusersinVBAusingtheVugenmulti protocoloption Theresultingscriptscouldthenbemovedtoa NETuserwithminimaleffort Exercise1 BuildingyourFirst NETUser InstallLR NETAdd infrom Testing NETWebServices Whatis NETWebServices WhatisaWebService Simplyput aWebserviceisanapplicationthatexposesaprogrammaticinterfaceusingstandard Internet friendlyprotocols Webservicesaredesignedtobeusedbyotherprogramsorapplicationsratherthanbyhumans ProgramsinvokingaWebservicearecalledclients SOAPoverHTTPisthemostcommonlyusedprotocolforinvokingWebservices Source DiagramofClientInvokingWebService Source Sample NETWebService ToviewtheWSDL WebServiceDescriptionLanguage foraWebServicetypeintheURIwitha WSDLattheend Example http localhost Weather Service1 asmx WSDLTotryasampleWebService openawebbrowserandtype http airforceone Duwamish7vb service catalogservice asmx SampleWSDL SampleWebServiceTestPage Testing NETWebServices YoucanrecordWebServicesifyouapplicationcallsthembyusingtheSOAPorWebRecordingProtocol YoucanrecordaWebServicecallbyusingyourWebBrowserYoucanprogrammaticallyLoadTestUsingaLoadRunner NETProjectbyusingtheLoadRunner NETAdd in TestingaWebServicewithLR NETAdd in Steps 1 InstallVisualStudio NET2 InstallLR NETAdd infromwww merc 3 CreateanewprojectthatistypeLoadRunnerVB NET4 AddaWebReferenceto NETProject5 AddCodeinVisualStudio NETtocallWebReference6 RunUser CheckOutputinwindow Extra Lookinsourcecodedirectory WhichfilewillhavetheoutputfromtheVuser 7 Compile puttogetherinaVuserscriptandrunincontroller Step4 AddingaReference Select Project AddWebReference insideVisualStudioPasteintotheAddressField Step4Explanation UsingLR NETAdd intoTestWebServices Step5 AddCodetoScript Inoursamplewewereworkingwithamathservice OpentheSolutionExplorer toolbar Addthefollowingcodeinsidethevuser initsection thesampleshouldoccupyoneline DimwsAsNewLoadRunnerNETClass S gotdotnet samples MathService VSProjectName URI LocatorforService Method Service Step6 RunningyourVuser Select Build BuildSolution fromthemenuRuntheVuserusingthe Vuser RunVuser menuAftertheuserruns youcancheckyouroutputintheVisualStudio NEToutputwindowortheLoadRunnerVugenlogfile TIP WebBased NETRecordingModesinOrderofPreference HTMLModeUserActions firstchoice ExplicitURLs secondchoic
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 曲靖保安宣傳活動方案
- 木林俱樂部活動方案
- 晉城團建活動方案
- 服務手勢活動方案
- 村級五老活動方案
- 暑期超市活動方案
- 服裝公司外拓活動方案
- 暑假京東活動方案
- 暑假游戲樂園活動方案
- 景區(qū)活動形式與活動方案
- 藥物色譜分離技術(shù)-凝膠色譜(制藥技術(shù)課件)
- DZ∕T 0033-2020 固體礦產(chǎn)地質(zhì)勘查報告編寫規(guī)范(正式版)
- 《抽水蓄能電站豎井式泄洪洞設計導則》
- MOOC 數(shù)字電子技術(shù)基礎-華中科技大學 中國大學慕課答案
- 小學道德與法治培訓感悟
- 營區(qū)物業(yè)服務營區(qū)物業(yè)服務保密措施
- 2023年春季內(nèi)蒙古高一化學學業(yè)水平合格性考試卷真題
- 2024年北京北方昆曲劇院招聘筆試沖刺題含答案解析
- 《道德經(jīng)》的智慧啟示智慧樹知到期末考試答案2024年
- 寶鋼硅鋼廠工藝流程
- 中草藥種植的土壤改良技術(shù)
評論
0/150
提交評論