




已閱讀5頁(yè),還剩27頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎ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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 離婚協(xié)議補(bǔ)充條款法律咨詢合同
- 商業(yè)綜合體車位使用權(quán)轉(zhuǎn)讓與商業(yè)運(yùn)營(yíng)協(xié)議
- 拆遷安置補(bǔ)償與社區(qū)安全合同模板
- 生態(tài)草場(chǎng)承包租賃管理合同范本
- 車輛保險(xiǎn)理賠與購(gòu)銷合作合同范本
- 綜合性離婚財(cái)產(chǎn)分配及子女撫養(yǎng)協(xié)議標(biāo)準(zhǔn)范本
- 水產(chǎn)養(yǎng)殖魚塘承包合同范本
- 高級(jí)采購(gòu)談判技巧與合同簽訂培訓(xùn)協(xié)議
- 高端餐廳廚師聘用與廚藝競(jìng)賽合作協(xié)議
- 能源采購(gòu)與法務(wù)碳排放管理合同
- 2024年湖北省丹江口市初中畢業(yè)生適應(yīng)性考試地理·生物試題
- DZ∕T 0033-2020 固體礦產(chǎn)地質(zhì)勘查報(bào)告編寫規(guī)范(正式版)
- 2024年輔警招聘考試試題庫(kù)附參考答案(完整版)
- NY-T 3213-2023 植保無人駕駛航空器 質(zhì)量評(píng)價(jià)技術(shù)規(guī)范
- 2023年春季內(nèi)蒙古高一化學(xué)學(xué)業(yè)水平合格性考試卷真題
- 2024年北京北方昆曲劇院招聘筆試沖刺題含答案解析
- 北師大版六年級(jí)下學(xué)期小升初數(shù)學(xué)期末考試試題(含答案)
- 司母戊鼎的介紹
- 2024年兒童童車行業(yè)分析報(bào)告及未來發(fā)展趨勢(shì)
- 23秋國(guó)家開放大學(xué)《漢語(yǔ)基礎(chǔ)》期末大作業(yè)(課程論文)參考答案
- 《公務(wù)接待》課件
評(píng)論
0/150
提交評(píng)論