




已閱讀5頁,還剩27頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
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)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 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. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 樂器租賃合同標準文本標準文本
- 供水過戶合同標準文本
- 任務(wù)合同標準文本
- 公園概念規(guī)劃合同標準文本
- 代銷代建合同標準文本
- 臨時租賃地皮合同標準文本
- 2003建筑合同標準文本
- 2025商務(wù)合同中英文翻譯常見誤區(qū)探究
- 內(nèi)衣銷售訂單合同范例
- 公司入股合作合同范例
- 外貿(mào)跨境電商與報關(guān)技術(shù)培訓(xùn)教材
- 婦產(chǎn)科課件-妊娠合并卵巢腫瘤診治專家共識
- 高中班會 鑄牢中華民族共同體意識主題班會
- (完整word版)申論寫作格子紙模板
- 有限空間作業(yè)審批表
- 《餐飲企業(yè)員工培訓(xùn)問題研究(論文)》5300字
- 海姆立克急救技術(shù)操作流程及評分標準
- GB/T 42677-2023鋼管無損檢測無縫和焊接鋼管表面缺欠的液體滲透檢測
- 作業(yè)-大足石刻課件
- NB/T 11126-2023煤礦用主動式隔抑爆裝置應(yīng)用技術(shù)規(guī)范
評論
0/150
提交評論