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...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, [Eng.] :
Packt Publishing
2012.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628594606719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; Acknowledgement; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Web Services Testing and soapUI; SOA and web services; Service-oriented solutions; Case study; Building blocks of SOA; Simple 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 servicesPerformance 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 soapUI; Installing soapUI; System requirements; Installing soapUI on Linux; soapUI installation on Windows; Installing soapUI on MacOS; A glance at soapUI user interface; Summary; Chapter 2: The Sample Project; The problem domain; Project pre-requisites; Java; Apache Ant; MySQL; Setting up Apache Axis2
- Setting up project source directoriesDesigning 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; Chapter 3: First Steps with soapUI and Projects; Understanding 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; Chapter 4: Working with Your First TestSuite
- A sample test scenarioCreating 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 file; Transferring property values between TestSteps; Summary; Chapter 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 soapUILimit 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; The Max Errors assertion; The Step Average assertion; Step TPS assertion; The Step Maximum assertion; The Step Status assertion; LoadTest options; Summary; Chapter 6: Web Service Simulation with soapUI; Mocking in software testing; Mocking in web services testing
- Mock services and contract-first web service development