soatest培训手册soatesttraining.ppt

上传人:奥沙丽水 文档编号:154106 上传时间:2025-07-12 格式:PPT 页数:28 大小:2.10MB
下载 相关 举报
soatest培训手册soatesttraining.ppt_第1页
第1页 / 共28页
soatest培训手册soatesttraining.ppt_第2页
第2页 / 共28页
soatest培训手册soatesttraining.ppt_第3页
第3页 / 共28页
soatest培训手册soatesttraining.ppt_第4页
第4页 / 共28页
soatest培训手册soatesttraining.ppt_第5页
第5页 / 共28页
点击查看更多>>
资源描述

1、Ensuring Secure,Reliable,CompliantBusiness Processes SOAtest IntroductionParasoft SOAtestParasoft provides software development organizations an automated infrastructure to control and improve the process of developing business applicationsParasoft SOAtest is a platform for Web and SOA Quality Gover

2、nanceEnforcing Design and Development Policies Preventing Errors(e.g.security,interoperability)Environment Management Service EmulationPlatform AwarenessEnd-to-End TestingAdvanced test constructionEasily Model Complex Scenarios Functional ValidationProcess Visibility and ControlStreamlined collabora

3、tive workflow Message,Description and Discovery WSDLXML/SOAPUDDIJSONBPEL Transports/Messaging APIHTTP JMSEJBIBM MQTIBCO RendezvousSMTPRMISOAP/ReSTSOA Challenge:HeterogeneousService Orient Architecture:Client/ServerClient application sends a Request to,and receives a Response from,the Service on the

4、ServerRequestResponseClientServerTesting the Server with a SOAtest Client ToolSOAtest sends a Request to,and receives a Response from,the Service on the ServerResponse validated using Tools within SOAtestRequestResponseServerEmulating the Server with SOAtestRequestResponseClientServerSOAtest virtual

5、izes/emulates/stubs the Service.Sending configured Reponses to Clients based on Requests.Allows for testing of Client Applications and isolation of dependant ServicesWebApplicationWeb BrowserESBIntegration BrokerOrchestration/BPMInternetInternetBusiness PartnerCRM ApplicationSOA Challenge:Complexity

6、Receive Transaction Amount$10000TransformMessage+Send NotificationNOXMLXMLCheck Customer StatusYESJMSCRM ApplicationInternetInternetWeb BrowserInternetWebApplicationBusiness PartnerSOAP over HTTPSValidateDatabase updatedComplexity Challenge:End to End TestingValidateValidateValidateSOAtest BasicsSOA

7、test 6.0+and EclipseLeverages the Eclipse environment:Projects and WorkspacesSOAtest Test Suites defined in a TST fileTest Suites organized hierarchically below a root Test SuiteProjects can contain multiple TST filesDefined by.project file within project directoryNote:SOAtest 5.5 a project could on

8、ly have one TST fileWorkspace can contain multiple ProjectsEclipse managed file system containing project definitionsE.g.when using Eclipse source control plugins(Subversive plugin recommended for SVN)Note:It is not recommended to manually alter Workspace directories outside of EclipseProject defini

9、tions can reference directories outside of the workspace E.g.when managed with a source control system outside of eclipse or using a shared directory/file systemImporting an existing project into your WorkspaceWhen SOAtest projects are managed outside of Eclipse,import the project into your workspac

10、eFile Import General Existing Projects into WorkspaceBrowse to the root directory containing the project(s)Select projects to importDO NOT select Copy projects into WorkspaceClick FinishNote:Files remain in the location where they wereNo new directories are added to the Eclipse workspace directory o

11、n the hard-driveUsing the Subversive plug-in to access SubVersionInstall the Subversive plug-inHelp Software Updates Available Software Add Sitehttp:/download.eclipse.org/technology/subversive/0.7/update-sitehttp:/www.polarion.org/projects/subversive/download/eclipse/2.0/update-siteSelectSubversive

12、SVN Team Provider Plugin Subversive SVN Team ProviderSubversive SVN Connectors SVNKit 1.2.X Implementation(SVN 1.5)SVNKit 1.3.x Implementation(SVN 1.6)Subversive SVN Connectors Subversive SVN Connectors(note:identify your SVN version and select appropriate connector)Click Install,Next,Accept,FinishR

13、estart SOAtestUsing the Subversive plug-in to access SubVersionConnect to a repositoryWindow Open Perspective Other Select SVN Repository ExplorerFile New Repository LocationEnter URL and username/password as requiredCheck out the project into EclipseNavigate to the directory containing the.project

14、fileSelect directoryRight Click:Check outNote:The project files are managed by Eclipse and exist in the Eclipse workspace directory.DO NOT use Subversion tools directly on these filesNot necessary to check the.parasoft file into SVNUseful Subversive commands for SVNSelect the resource(s)in the Test

15、case Explorer/Navigator as appropriateRight click,select TeamUpdate gets the latest versions from SVN(does not overwrite files locally modified)Commit checks changes back into SVNLock locks a resource so that it cannot be checked in/changed by othersUnlock releases a lockScan Locks searches for open

16、 locksShow History shows the history for the resource(s)including commit commentsRevert reverts changesRight click,select Replace withReplaces the current resource with a specified version from SVNSOAtest Workspace TipsAlways create a Workspace in an empty directoryE.g.c:Documents and Settingssoates

17、tworkspaceDo NOT set your workspace directory to be a parent directory of directories containing projects.Create a different Workspace for different teamsGrouping projects into workspaces aides organizationDo NOT check the.metadata folder into source controlSOAtest Project TipsLeverage the same Proj

18、ect for both Jtest(i.e.Java development)and SOAtestRecommended Project Structure.projectsrccom.testjunitcom.testjtestcom.testsoatest.data.Reduce the Test Suites being loaded into SOAtest by closing TST files and Projects not currently in use by the testerSOAtest Generating SOAP RequestsSOAtest Clien

19、t Requests3 Different ways of constructing the requestNote:not 3 different views on the same dataForm InputTyped constrained to the xsd/wsdlGUI based,Allows parameterizationOverwrites Literal requestForm XMLHierarchical tree view,optional xsd constraintParameterizationCan be loaded from Literal and

20、Form Input requestsOverwrites Literal requestLiteralRaw XMLNo type constraintNo parameterizationTransferring Raw XML Request into Form InputTaking an example payload and loading into a Form Input request1.Create a new/un-configured SOAP Client tool2.Open the Request tab1.Switch to Literal and paste

21、raw XML2.Switch to Form Input3.Open the WSDL tab and set the WSDL4.Return to the Request tab and set the Operation5.Open the Transport tab1.Set the Endpoint and SOAPAction as neededAgendaDay 2Chapter 4(cont.):Advanced Web Service TestingReview Exercises from Chapter 4Scripting+Test Flow Logic+Test S

22、uite VariableTest Suite Execution Options Test Sharing Projects(not workspaces)through source control(including locking and Subversive)Importing projects into a workspaceCommand-line execution and reportingChapter 5:Creating and Deploying StubsChapter 6:JMS and EJB TestingChapter 7:Additional Web Se

23、rvice TopicsDay 3Chapter 8:SOAtest Web Functional IntroductionChapter 9:Basic Web Functional TestingChapter 10:Intermediate Web Functional TestingChapter 11:Advanced Web Functional TestingChapter 12:Web Static AnalysisChapter 13:Load TestingTeam WorkflowSOAtest Command lineSCMSource Controlcode&test

24、s TSConcerto Team ServerTest ResultsScheduled TestServerMetricsRepository andDashboardsProfessional EditionsServer Edition(Batch Mode)Architect EditionTeam Policies and ConfigurationsDeveloperMachinesArchitect/Technical leadNightlyResultsConcerto Report CenterMulti-level Dashboardsand Drill Down Rep

25、ortsTeam-wide Deployment and WorkflowSource Control statsMetrics from 3rd Party Tools(Requirements Mtg.,Defect TrackingAgendaDay 3Chapter 8:SOAtest Web Functional IntroductionChapter 9:Basic Web Functional TestingChapter 10:Intermediate Web Functional TestingChapter 11:Advanced Web Functional Testin

26、gChapter 12:Web Static AnalysisChapter 13:Load TestingLoad TestingLoad Testing First Review the SLAIdentify the criteria of the SLAWhat are the details of the SLA?What is being guaranteed?E.g.#of sessionsWhat are the sequences in a session?Are there performance/timing requirements?What is the distri

27、bution of sessionBuild the Model in Parasoft LoadTestEstablish the distribution of Load profiles(session types)Establish the SLA metrics(Quality of Service),e.g.timing off the session or session components,as specified in the SLALoad Testing Validate the SLAProcess the results of Parasoft LoadTestRe

28、sults within defined metrics successResults outside of defined metrics failureWhere is the problem?Hardware or SoftwareUse monitors to diagnose the systemEnsure ongoing maintenance of the SLASchedule periodic testing of the live systemSmall scale tests during normal execution to ensure metrics are within defined parametersResults got to Parasoft Concerto for monitoringFailures go out as emails for alerts

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 管理/人力资源 > 咨询培训

宁ICP备18001539号-1