




已閱讀5頁,還剩27頁未讀, 繼續(xù)免費閱讀
版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
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)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 未來農(nóng)業(yè)電商發(fā)展試題及答案
- 旅游度假區(qū)景觀設計2025年旅游基礎設施評估報告
- 搬運實訓報告
- 工業(yè)污染源全面達標排放計劃實施方案2025:環(huán)保產(chǎn)業(yè)技術創(chuàng)新動態(tài)
- 家具設計中科技藝術結合的可能性試題及答案
- 小學教師教學反思與實踐評價試題及答案
- 江西中考生地試題及答案
- 聚焦2025年:機械制造企業(yè)服務化轉型下的技術創(chuàng)新與應用
- 美術近代史試題及答案
- 新能源汽車前沿科技考察試題及答案
- 匠作匠場手風滇南“一顆印”民居大木匠作調(diào)查研究
- 《道德經(jīng)》的智慧啟示智慧樹知到期末考試答案2024年
- 交警酒駕案件培訓課件
- 建筑企業(yè)材料成本管理
- 人衛(wèi)官方預防醫(yī)學課件下載
- 《雷達干擾技術概述》課件
- 中韓勞動法比較研究
- 大學禮儀操活動方案
- 舞蹈活動費用方案模板
- 博物館保安服務投標方案
- (完整版)煤礦技術員考試試題
評論
0/150
提交評論