90
SEQIS 10 things API Testing

SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SEQIS 10 things API Testing

Page 2: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SEQIS 10 things API Testing

Herzlich Willkommen!

Reinhard Salomon

SEQIS Geschäftsleitung

Page 3: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SEQIS 10 things – Programm 2014

• 20.03.14 Business Analyse Einführung in den BABOK® Guide

• 26.06.14 API Testing: Nur ein Schnittstelle und der passende Test

• 18.09.14 Test Driven Development – die Methode für Qualitätsbewusste

• 20.11.14 Der Test als zentrale Schnittstelle in einem IT Projekt

30.06.2014 10 things – API Testing

Page 4: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SEQIS 10 things API Testing

Klaus Schlacher

SEQIS – Managing Consultant

Page 5: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Moderne Software

30.06.2014 10 things – API Testing

Page 6: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

API Wachstum

30.06.2014 10 things – API Testing

Page 7: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

„Eine Programmierschnittstelle ist ein Programmteil, der von einem

Softwaresystem anderen Programmen zur Anbindung an das System zur Verfügung

gestellt wird.“

Wikipedia

30.06.2014 10 things – API Testing

Page 8: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 9: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 10: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Testautomationspyramide

30.06.2014 10 things – API Testing

Page 11: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Klassen- und Objektmethoden

30.06.2014 10 things – API Testing

Page 12: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

1. Denken Sie beim Test nicht nur an die klassischen Schnittstellen

• Klassen- und Objektmethoden • Datenbanken • Proprietäre Kommunikation • …

30.06.2014 10 things – API Testing

Page 13: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 14: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 15: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Unit Test

• Entwickler

• Kurz, fokussiert

• Frameworks • JUnit

• xUnit

30.06.2014 10 things – API Testing

Page 16: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Unit Test

30.06.2014 10 things – API Testing

Page 17: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Unit Test

30.06.2014 10 things – API Testing

Page 18: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

2. Vernachlässigen Sie nicht Ihr Testfallfundament: Unit Tests

• Ein gutes Fundament ist wichtig, um darauf aufbauen

zu können

30.06.2014 10 things – API Testing

Page 19: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 20: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 21: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Test Driven Development

• Agile Entwicklungsmethode

• iSQI Zertifikat

• 10 things am 18.9.2014

30.06.2014 10 things – API Testing

Page 22: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Continuous Integration

• Source und Test gemeinsam eingecheckt

• Häufige Integration

• Nightly Build

• Automatisiertes Reporting

30.06.2014 10 things – API Testing

Page 23: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

3. Setzen Sie auf kontinuierliche Qualitätssicherung

• Mittels TDD erweitern Sie kontinuierlich Ihr Fallnetz • Der Nightly Build ist für die automatisierten Tests der

ideale Partner

30.06.2014 10 things – API Testing

Page 24: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 25: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 26: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 27: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SOAP

• Simple Object Access Protocol

• Weit verbreitetes Webserviceprotokoll

• Austausch von Daten

• Remote Procedure Call

• Basiert auf XML

30.06.2014 10 things – API Testing

Page 28: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SOAP Beispiel

• Calculator

• URL: http://ws1.parasoft.com/glue/calculator

• Simple Addition

30.06.2014 10 things – API Testing

Page 29: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SOAP Beispiel

30.06.2014 10 things – API Testing

Page 30: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SOAP Beispiel

30.06.2014 10 things – API Testing

Page 31: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SOAPUI

• Version 5

• Freeware

• Kostenpflichtige PRO Version

• Umfangreiche Features

30.06.2014 10 things – API Testing

Page 32: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

WSDL

• Web Services Description Language

• Beschreibungssprache für Netzwerkdienste • Metasprache

• Div. Beschreibungselemente

• Industrieller Standard (W3C)

• Basis für Testtools

30.06.2014 10 things – API Testing

Page 33: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

WSDL

• Web Services Description Language

• Beschreibungssprache für Netzwerkdienste • Metasprache

• Div. Beschreibungselemente

• Industrieller Standard (W3C)

• Basis für Testtools

30.06.2014 10 things – API Testing

Page 34: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 35: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 36: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 37: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 38: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Funktionaler Test

• Aufruf des Service • „add“ operation

• Werte für x und y

• Check des Ergebnisses • Wert von Result überprüfen

30.06.2014 10 things – API Testing

Page 39: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Funktionaler Test (semimanuell)

30.06.2014 10 things – API Testing

Page 40: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Funktionaler Test (automatisch)

• Erstellen einer Testsuite

• Erstellen eines Testfalls sowie Teststeps

• Erstellen und Einbinden von Asserts • Ergebnis entspricht der Summe der Eingabewerte

30.06.2014 10 things – API Testing

Page 41: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Funktionaler Test (automatisch)

• Erstellen einer Testsuite

• Erstellen eines Testfalls sowie Teststeps

• Erstellen und Einbinden von Asserts • Ergebnis entspricht der Summe der Eingabewerte

30.06.2014 10 things – API Testing

Page 42: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

4. Nutzen Sie Ihr bestehendes Test Know How • API Tests unterscheiden sich in dem Punkt nicht

wirklich von GUI Tests

30.06.2014 10 things – API Testing

Page 43: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 44: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 45: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Testdaten

• Abdeckung • Ein Testfall nicht ausreichend

• Vielzahl an Testfällen notwendig

• Erstellen von einzelnen Testfällen • Unübersichtlich

• Unwartbar

30.06.2014 10 things – API Testing

Page 46: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Data Driven

• Testfälle • Identer Ablauf

• Unterschiedliche Eingabewerte

• Entsprechend unterschiedliche Ausgabewerte

• Iteration von Datentupel • Grid

• XLS

30.06.2014 10 things – API Testing

Page 47: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

5. Setzen Sie auf bewährte Mittel • Excel Dateien als Datenlieferant für Data Driven Test

haben sich durchaus bewährt • Nutzen Sie toolgestützte Kombinatorik, z. B. mit

Hexawise (http://www.hexawise.com)

30.06.2014 10 things – API Testing

Page 48: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 49: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 50: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 51: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Testautomationspyramide

30.06.2014 10 things – API Testing

Page 52: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

6. Berücksichtigen Sie: „Service Tests gehören den Testern!“

• Große Robustheit gegenüber GUI Automation • Absicherung der Qualität von wichtigen

Komponenten

30.06.2014 10 things – API Testing

Page 53: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Mocking, Virtualisierung

• Service (noch) nicht vorhanden

• Hohe Kosten pro Aufruf

• Aufruf dauert lange

30.06.2014 10 things – API Testing

Page 54: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Mocking, Virtualisierung

• Service (noch) nicht vorhanden

• Hohe Kosten pro Aufruf

• Aufruf dauert lange

30.06.2014 10 things – API Testing

Page 55: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Mocking, Virtualisierung

• Simpel • Liefert was zurück

• Komplex • Random

• Antwort aufgrund des Inputs (Mapping)

• Berechnete Antwort

30.06.2014 10 things – API Testing

Page 56: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

7. Beginnen Sie möglichst früh mit Ihren Tests • Test als Entwicklungsbegleitung und nicht als

nachfolgende Kontrollinstanz • Voraussetzung ist ein möglichst stabiler

Schnittstellenkontrakt

30.06.2014 10 things – API Testing

Page 57: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 58: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 59: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Wolkenflug, Schlechtwetterflug

• Werte außerhalb des Eingabebereichs

• Ungültige Werte, Wertkombinationen

• Fehlende Eingaben

• Durchgemischter Request

• Missgebildeter Request

• Nicht verfügbare Subservices

30.06.2014 10 things – API Testing

Page 60: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Nicht-funktionale Tests

30.06.2014 10 things – API Testing

Page 61: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Nicht-funktionale Tests

• Last- und Performance Tests • SLA Check

• Usability der Schnittstelle

• Wartbarkeit • Naming

• Verständlichkeit der Struktur

30.06.2014 10 things – API Testing

Page 62: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

8. Überprüfen Sie nicht nur das Erwartete • Prüfen Sie die API auf Herz und Nieren • Vergessen Sie nicht auf die Nicht-funktionalen Tests

30.06.2014 10 things – API Testing

Page 63: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 64: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 65: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

REST

• Representational State Transfer • Eine URL für ein Service

• Verschiedene Repräsentationen (HTML, JSON, XML)

• Zustandslos

• Mehrere Verben (GET, POST, PUT, …)

• WADL • Web Application Description Language

30.06.2014 10 things – API Testing

Page 66: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

REST und SoapUI

30.06.2014 10 things – API Testing

Page 67: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

REST und SoapUI

30.06.2014 10 things – API Testing

Page 68: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

REST und SoapUI

30.06.2014 10 things – API Testing

Page 69: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

REST und SoapUI

30.06.2014 10 things – API Testing

Page 70: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 71: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 72: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 73: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 74: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Service Test Tools

• HP Unified Functional Tester

• IBM Rational Service Tester for SOA Quality

• SmartBear SoapUI

• Crosscheck Networks SoapSonar

• …

• Eigenentwicklung SOAP/REST Library

30.06.2014 10 things – API Testing

Page 75: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Service Virtualization Tools

• HP Service Virtualization

• IBM Rational Test Virtualization

• CA LISA Service Virtualization

• Parasoft Service Virtualization

30.06.2014 10 things – API Testing

Page 76: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

9. Nehmen Sie sich zur Toolauswahl genügend Zeit • Gehen Sie methodisch vor • Eine übereilte Toolauswahl wurde schon öfters bereut

30.06.2014 10 things – API Testing

Page 77: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Lasttest Tools

• Grundsätzlich geeignet

• Tools • HP LoadRunner

• IBM Rational Performance Tester

• Neotys Neoload

• JMeter

• …

30.06.2014 10 things – API Testing

Page 78: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

10. Ziehen Sie auch die nicht so offensichtlichen Dinge in Betracht

30.06.2014 10 things – API Testing

Page 79: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 80: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 81: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 82: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 83: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 84: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Wo kann ich mehr erfahren?

• Wikipedia

• Google

• Toolhersteller

• SEQIS

30.06.2014 10 things – API Testing

Page 85: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Zusammenfassung

1. Denken Sie beim Test nicht nur an die klassischen Schnittstellen

2. Vernachlässigen Sie nicht Ihr Testfallfundament: Unit Tests

3. Setzen Sie auf kontinuierliche Qualitätssicherung

4. Nutzen Sie Ihr bestehendes Test Know How

5. Setzen Sie auf bewährte Mittel

6. Berücksichtigen Sie: „Service Tests gehören den Testern!“

7. Beginnen Sie möglichst früh mit Ihren Tests

8. Überprüfen Sie nicht nur das Erwartete

9. Nehmen Sie sich zur Toolauswahl genügend Zeit

10. Ziehen Sie auch die nicht so offensichtlichen Dinge in Betracht

30.06.2014 10 things – API Testing

Page 86: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

Tag Cloud

30.06.2014 10 things – API Testing

Page 87: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

API Tests?

Mit SEQIS ganz vorne dabei!

30.06.2014 10 things – API Testing

Page 88: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SEQIS 10 things – Programm 2014

• 20.03.14 Business Analyse Einführung in den BABOK® Guide

• 26.06.14 API Testing: Nur ein Schnittstelle und der passende Test

• 18.09.14 Test Driven Development – die Methode für Qualitätsbewusste

• 20.11.14 Der Test als zentrale Schnittstelle in einem IT Projekt

30.06.2014 10 things – API Testing

Page 89: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

API Tests?

Mit SEQIS ganz vorne dabei!

30.06.2014 10 things – API Testing

Page 90: SEQIS 10 things API Testing...SEQIS 10 things – Programm 2014 • 20.03.14 Business Analyse Einführung in den BABOK® Guide • 26.06.14 API Testing: Nur ein Schnittstelle und der

SEQIS 10 things API Testing

Klaus Schlacher

SEQIS – Managing Consultant