SoapUI: Testes em WebServices

5,180 views

Published on

No desenvolvimento de aplicações orientadas a serviços (SOA) torna-se imperativo realizar testes funcionais, testes de carga, e simulação (Mocks). Nesta apresentação, o João Manso vai mostrar que o SoapUI é um verdadeiro canivete suíço na capacidade de testar esses serviços, com suporte a vários protocolos, tais como SOAP, REST, HTTP, etc.

Published in: Technology
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
5,180
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
42
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide
  • Web Service Studio is a tool to invoke webmethods interactively. The user can provide a WSDL endpoint. On clicking button Get the tool fetches the WSDL, generates .NET proxy from the WSDL and displays the list of methods available. The user can choose any method and provide the required input parameters. On clicking Invoke the SOAP request is sent to the server and the response is parsed to display the return value. This tool is meant for webservice implementers to test their webservices without having to write the client code. This could also be used to access other webservices whose WSDL endpoint is known.
  • What is soapUI?soapUI is a tool for functional testing, mainly of Web Services like SOAP based Web Services and RESTful Web Services, but also  HTTP based services and JMS Services as well as databases. soapUI is an Open Source and completely free tool with a commercial companion, soapUI Pro, with extra functionality for companies with mission critical Web Services. soapUI is being produced by the community as well as the Open Source company eviware.Functional Testing provides functionality useful to verify whether your Web Services work as they should.Load Testing makes it possible to study how your Web Service behaves under different load conditions.Service Simulation gives you the possibility to simulate systems not available. This enables effective testing already from the start of your project.soapUI minimizes the risk of a poor quality
  • soapUI features - what do I use soapUI for?soapUI is so much more than SOAP testing. Over time it has become a Swiss army knife for functional testing and has support for many tests areas. Generally speaking, the main feature sets of soapUI are Service Simulation, Functional Testing and Load Testing. soapUI also includes many features for increased Test Quality as well as support for multiple protocols and several standards. If you need it, the chances are high it's in soapUI; if it's not, please let us know. We love hearing what's missing or wrong in soapUI. Remember, it's your needs that drives the development of soapUI.Service SimulationService Simulation, or Service Mocking, makes it possible to simulate code or interfaces not yet available, enabling test creating from day one. MockServices are a very powerful feature in Agile projects.Functional TestingFunctional Testing are the base features of soapUI. Find out if your SOAP, REST or JMS Services work as they should. Test your Web Site. And complete end-to-end tests by doing database testing.Load TestingLoad Testing makes it possible for to study how your Web Service behaves load and verify that it measures up to requirements and SLA's.Test QualityHigh quality Test Cases are prerequisites for high quality test results. soapUI QA's the QA.
  • soapUI features - what do I use soapUI for?soapUI is so much more than SOAP testing. Over time it has become a Swiss army knife for functional testing and has support for many tests areas. Generally speaking, the main feature sets of soapUI are Service Simulation, Functional Testing and Load Testing. soapUI also includes many features for increased Test Quality as well as support for multiple protocols and several standards. If you need it, the chances are high it's in soapUI; if it's not, please let us know. We love hearing what's missing or wrong in soapUI. Remember, it's your needs that drives the development of soapUI.Service SimulationService Simulation, or Service Mocking, makes it possible to simulate code or interfaces not yet available, enabling test creating from day one. MockServices are a very powerful feature in Agile projects.Functional TestingFunctional Testing are the base features of soapUI. Find out if your SOAP, REST or JMS Services work as they should. Test your Web Site. And complete end-to-end tests by doing database testing.Load TestingLoad Testing makes it possible for to study how your Web Service behaves load and verify that it measures up to requirements and SLA's.Test QualityHigh quality Test Cases are prerequisites for high quality test results. soapUI QA's the QA.
  • soapUI features - what do I use soapUI for?soapUI is so much more than SOAP testing. Over time it has become a Swiss army knife for functional testing and has support for many tests areas. Generally speaking, the main feature sets of soapUI are Service Simulation, Functional Testing and Load Testing. soapUI also includes many features for increased Test Quality as well as support for multiple protocols and several standards. If you need it, the chances are high it's in soapUI; if it's not, please let us know. We love hearing what's missing or wrong in soapUI. Remember, it's your needs that drives the development of soapUI.Service SimulationService Simulation, or Service Mocking, makes it possible to simulate code or interfaces not yet available, enabling test creating from day one. MockServices are a very powerful feature in Agile projects.Functional TestingFunctional Testing are the base features of soapUI. Find out if your SOAP, REST or JMS Services work as they should. Test your Web Site. And complete end-to-end tests by doing database testing.Load TestingLoad Testing makes it possible for to study how your Web Service behaves load and verify that it measures up to requirements and SLA's.Test QualityHigh quality Test Cases are prerequisites for high quality test results. soapUI QA's the QA.
  • SoapUI: Testes em WebServices

    1. 1. http://netponto.org<br />13ª Reunião Presencial - 14/08/2010<br />SoapUiJoão Manso<br />
    2. 2. João Manso<br />Licenciado pelo Instituto Superior Engenharia de Lisboa (Isel)<br />6 anos no mercado<br />JavaScript, jQuery, Html, Asp.Net, C#, WCF, SQL, etc.<br />
    3. 3.
    4. 4. Agenda<br />Cenário de teste<br />Web Service Studio<br />O que é o SoapUi<br />Principais “features”<br />Demos e mais demos<br />
    5. 5. Cenário de teste<br />WS para fazer contas de “sumir”<br />Necessário fazer Login<br />
    6. 6. Visual Studio<br />demonstração<br />
    7. 7. Web Service Studio<br />Web Service Studio é uma ferramenta que permite invocar webmethods interactivamente.<br />Esta ferramenta destina-se a developers que implementam webservices e querem testar o código, sem terem que escrever aplicações cliente.<br />
    8. 8. Web Service Studio<br />demonstração<br />
    9. 9. O que é o SoapUi<br />É uma ferramenta para “Functional Testing, Load Testing e Service Simulation”.<br />Web Services : Soap e Rest<br />Serviços Http <br />Serviços JMS <br />Base de dados<br />SoapUi é Open Source, versão comercial SoapUi Pro da Eviware.<br />
    10. 10. Principais “features”<br />Multiple Protocols<br />SOAP<br />REST<br />HTTP<br />JMS<br />AMF<br />JDBC<br />Standards Support<br />WS-I Integration<br />WS-Security<br />WS-Addressing Support<br />WS-Reliable Messaging<br />MTOM, SOAP, Inline Attachments<br />SOAP 1.1, 1.2<br />
    11. 11. Principais “features”<br />Service Simulation features:<br />Auto Create Simulations from Service Specification<br />Create Simulation from Recording<br />Static Content Mocking<br />Custom Responses<br />Scripting<br />Security Standards Support<br />SSL Support<br />Simulation Coverage <br />Deploy on Server<br />Reporting <br />Functional Testing features:<br />Test Multiple Protocols<br />Standards Support<br />Test Quality<br />Drag and Drop Testing <br />Test From Recording <br />Advanced Scripting <br />Data driven Testing <br />Reporting <br />Security Testing<br />
    12. 12. Principais “features”<br />Load Testing features:<br />Test Multiple Protocols<br />Click and run LoadTests <br />Preconfigured Load Strategies<br />Load Test Metrics <br />SLA Verification<br />Performance Monitoring<br />Real Time Statistics<br />Reporting <br />Setup and TearDown TestSuites<br />Test Quality features:<br />Test Coverage <br />Test Refactoring <br />Interoperability Metrics<br />Test Automation<br />WSDL Validation<br />REST Auto Documentation<br />Requirements Management <br />
    13. 13. SoapUi<br />demonstração<br />
    14. 14.
    15. 15.
    16. 16. Dúvidas?<br />SoapUi Help <br />http://www.soapui.org/Working-with-soapUI/getting-started.html<br />
    17. 17. Referências<br />Web Service Studio<br />http://webservicestudio.codeplex.com/<br />SoapUi<br />http://www.soapui.org<br />http://www.eviware.com<br />
    18. 18. Patrocinadores desta reunião<br />
    19. 19. Próximas reuniões presenciais<br />14/08/2010 - Agosto<br />18/09/2010 - Setembro<br />23/10/2010 - Outubro<br />20/11/2010 - NovembroReserva estes dias na agenda! :)<br />
    20. 20. Obrigado!<br />João Manso<br />jnmanso@gmail.com<br />joao.manso@agilior.pt<br />http://agilior.pt/blogs/joao.manso/<br />http://pt.linkedin.com/in/jnmanso<br />http://twitter.com/jnmanso<br />

    ×