




已閱讀5頁,還剩27頁未讀, 繼續(xù)免費閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rè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)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 健康教育的實施方式試題及答案
- 提升母豬生殖效率的試題及答案
- 吉林特崗招聘試題及答案
- 系統(tǒng)規(guī)劃與管理師考試備考過程中的心得體會試題及答案
- 2025年醫(yī)師常識試題及答案
- 醫(yī)學(xué)統(tǒng)計學(xué)基礎(chǔ)試題及答案
- 系統(tǒng)架構(gòu)設(shè)計師職業(yè)技能結(jié)構(gòu)對應(yīng)考試內(nèi)容分析試題及答案
- 系統(tǒng)架構(gòu)設(shè)計師項目管理能力考核試題及答案
- 疫情摸底測試題及答案
- 公共衛(wèi)生執(zhí)業(yè)醫(yī)師考試的實戰(zhàn)經(jīng)驗分享2025試題及答案
- 石家莊市存量房買賣合同
- 高一離子方程式書寫專題訓(xùn)練及答案
- 張元鵬《微觀經(jīng)濟學(xué)》(中級教程)筆記和課后習(xí)題詳解
- 如何有效管理90-00后新員工技巧方法-123課件
- 第十三講 全面貫徹落實總體國家安全觀PPT習(xí)概論2023優(yōu)化版教學(xué)課件
- 人教版語文能力層級-·-教材-·-中考
- 浙江省公安民警心理測驗考試題目
- ds-c10h多屏控制器軟件用戶手冊
- GB/T 41771.1-2022現(xiàn)場設(shè)備集成第1部分:概述
- GB/T 4822-2015鋸材檢驗
- 道路旅客運輸經(jīng)營申請表
評論
0/150
提交評論