Web Services Testing with soapUI.
Web Services Testing with soapUI starts with an overview of SOA and web services testing, and gets your hands dirty with a sample project which makes use of open source web service engine, Apache Axis2. All demonstrations and hands-on exercises are based on this sample project. This book is a practi...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Pub.,
2012.
|
Temas: | |
Acceso en línea: | Texto completo Texto completo |
Tabla de Contenidos:
- Web Services Testing with soapUI; Web Services Testing with soapUI; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Web Services Testing and soapUI; SOA and web services; Service-oriented solutions; Case study; Building blocks of SOA; Web services; Mediation.
- CompositionSimple Object Access Protocol; Alternatives to SOAP; REST; Java Script Object Notation; Web Services Description Language; Message exchanging patterns; SOAP Faults; Approaches of testing web services; Unit testing of web services; Functional testing; Tool assisted testing; Using client APIs provided by service container middleware; Integration testing of web services; Performance testing of web services; The common challenges of Web services testing; Use of external web services; Implications of using complex standards and protocols; Headless nature of web services; What is soapUI?
- Capabilities of soapUIInstalling soapUI; System requirements; Installing soapUI on Linux; soapUI installation on Windows; Installing soapUI on MacOS; A glance at soapUI user interface; Summary; 2. The Sample Project; The problem domain; Project pre-requisites; Java; Apache Ant; MySQL; Setting up Apache Axis2; Setting up project source directories; Designing the web services; Creating the database; Implementing the web services; Web services fault handling; Managing database operations; Completing the web service implementation classes; Deploying web services; Summary.
- 3. First Steps with soapUI and ProjectsUnderstanding the web services definition; Schema; portType; binding; Service; Creating a soapUI project; Invoking the guest management web service; A detailed look at SOAP requests and responses; Generating SOAP Faults; Summary; 4. Working with Your First TestSuite; A sample test scenario; Creating a TestSuite; Adding TestCases; addRoom TestCase; getRoomDetails TestCase; deleteRoom TestCase; Running the first TestSuite; Adding test assertions; Not SOAP Fault assertion; XPath Match assertion; The Contains assertion; Adding properties to soapUI tests.
- Reading property values from a fileTransferring property values between TestSteps; Summary; 5. Load and Performance Testing with soapUI; Non-functional testing of web services; Performance testing; Planning for web service performance testing; Using soapUI for performance testing; Working with load tests in soapUI; Limit of a load test; Threads in a soapUI load test; Load test strategies of soapUI; Simple load strategy; Burst load strategy; Thread load strategy; Variance strategy; A closer look at the load test report and statistics of soapUI; Using load test assertions in soapUI.