whitebox testing for blackbox testers: simplifying api testing

30
| HELLO, REAL WORLD. Whitebox testing for BlackBox Testers; Simplifying API Testing DJ Frank

Upload: qasymphony

Post on 22-Jan-2018

416 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Whitebox Testing for Blackbox Testers: Simplifying API Testing

| HELLO, REAL WORLD.

Whitebox testing for BlackBox Testers; Simplifying API Testing

DJ Frank

Page 2: Whitebox Testing for Blackbox Testers: Simplifying API Testing

| HELLO, REAL WORLD.

DJ Frank

Senior Product Engineer

QASymphony

Page 3: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Agenda

Introduction to APIs

Significance of APIs in Digital Business

API Management

Why even test APIs?

Test Early; Test Often

Page 4: Whitebox Testing for Blackbox Testers: Simplifying API Testing

INSERT PHOTO ON TOP

Application Programing Interface

• Representational State Transfer

is the software architectural style

designed for distributed

systems, and particularly, the

World Wide Web.

• But what does that even mean?

Page 5: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Uniform RESTful Constraints

1. Identification of resources as ‘requests’

2. Manipulation of resources

3. Self-descriptive messages

4. Hypermedia

Page 6: Whitebox Testing for Blackbox Testers: Simplifying API Testing

What is an API?

API: The pipes that carry data between any number of

systems. Think of them as veins and arteries carrying blood from your heart to other organs.

API Provider: Who build, owns, and maintains the APIs

that are being used.

API Consumer: You! Any developer, company, or end

users accessing information via the API

Page 7: Whitebox Testing for Blackbox Testers: Simplifying API Testing

A is for “Application”

• Web-based Systems

• Operating Systems

• DB Systems

• Computer Hardware

• Software Libraries

Page 8: Whitebox Testing for Blackbox Testers: Simplifying API Testing
Page 9: Whitebox Testing for Blackbox Testers: Simplifying API Testing

What does an API look like?

Page 10: Whitebox Testing for Blackbox Testers: Simplifying API Testing
Page 11: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Significance of APIs in Digital Business

Page 12: Whitebox Testing for Blackbox Testers: Simplifying API Testing

“Software is eating the world.”

“It’s an application economy.”

Marc Andreessen

“Every business will be in software business.”Satya Nadella

Marc Benioff

Page 13: Whitebox Testing for Blackbox Testers: Simplifying API Testing
Page 14: Whitebox Testing for Blackbox Testers: Simplifying API Testing

• Location Services

• Notifications

• Payment Processing

• Promotional Advertising

Page 15: Whitebox Testing for Blackbox Testers: Simplifying API Testing
Page 16: Whitebox Testing for Blackbox Testers: Simplifying API Testing

50% 60% 90%

API Digital Value Chain Revenue

Source: TechCrunch, The Rise of APIs 2016

Page 17: Whitebox Testing for Blackbox Testers: Simplifying API Testing

• Low Friction Sales Model

• Scalable, Capital –Efficient

• Recurring Revenue

• Diversification of Customer Concentration

APIs are the Nexus of the Digital World

Page 18: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Factors of a good API

Page 19: Whitebox Testing for Blackbox Testers: Simplifying API Testing
Page 20: Whitebox Testing for Blackbox Testers: Simplifying API Testing
Page 21: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Pitfalls of Poor API Management

Page 22: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Cost of Failures

SOURCES: The State of API 2016. Smartbear. | The Cost of Poor Quality, QASymphony.

Less Than 10%API issues resolved within

24 hours

1 in 4Issues remain unresolved

for one week or more

$7,900 Per Minuteestimated average cost

of downtime

4%Average drop in stock price

following a newsworthy failure

Page 23: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Fundamentals of API Testing: The Root Issue

Page 24: Whitebox Testing for Blackbox Testers: Simplifying API Testing

The Performance Testing Umbrella

Page 25: Whitebox Testing for Blackbox Testers: Simplifying API Testing

| HELLO, REAL WORLD.

Test Early; Test Often;Test Everything!

Page 26: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Thank You !DJ Frank

[email protected]

Q&A

Page 27: Whitebox Testing for Blackbox Testers: Simplifying API Testing

| HELLO, REAL WORLD.

Quality Jam LondonOctober 11, 2017 – The Brewery, London

Email [email protected] to be entered to win a free ticket

Page 28: Whitebox Testing for Blackbox Testers: Simplifying API Testing

| HELLO, REAL WORLD.

Quality Jam LondonOctober 11, 2017 – The Brewery, London

Email [email protected] to be entered to win a free ticket

Page 29: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Next Webinar

RESTful API Testing Using Postman, Newman, and JenkinsOctober 4th, 2pm ET

Register Now at QASymphony.com/resources

Page 30: Whitebox Testing for Blackbox Testers: Simplifying API Testing

Visit support.qasymphony.com

See How Leading Organizations Use qTest APIs for Traceability, Test Automation, and Visibility