Testing Web Applications & Services Testing Web Applications & Web Services.
Post on 31-Mar-2015
222 Views
Preview:
Transcript
Testing Web Applications & Services
Testing Web Applications & Web Services
Testing Web Applications & Services
Introduction
Hi.
I’m Aaron Evans
aaron@one-shore.com fijiaaron.com
@fijiaaron425-242-4304
Testing Web Applications & Services
Introduction
But enough about me.
Tell me about yourselves.
Testing Web Applications & Services
Introduction
My teaching process
1. Introduce the subject2. Q&A3. Brief lecture4. Introduce tools5. Hands on exercise6. Project at the end of each day
Testing Web Applications & Services
Curriculum
Curriculum
Day 1: Testing web apps
Day 2: Testing web services
Testing Web Applications & Services
Day 1
1. Compare web apps & services2. A technical understanding of the web3. Testing web applications4. AngularJS
Curriculum
Testing Web Applications & Services
Curriculum
Day 2
1. Understanding web services2. Testing RESTful web services3. Tools for testing web services4. Performance and security testing
Testing Web Applications & Services
Web apps
What’s a web app?
Testing Web Applications & Services
Traditional & web apps
How are web applicationsdifferent from
traditional applications ?
Testing Web Applications & Services
Traditional & web apps
› Network – unreliable, latency, connected
› Browser based– compatibility issues, no install › Cross Platform – multiple OS
› Rendering – HTML, CSS, limited UI widgets
› JavaScript – not precompiled, performance
› Limited libraries – no shared DLLs, browser libraries
› Security Model – sandbox, limited I/O, safer
› Concurrency – multiple requests, sessions
› Scalability – multiple clients, horizontal scaling
Testing Web Applications & Services
Web sites & web apps
What are the differences between
web sites & web applications?
Testing Web Applications & Services
Web sites & web apps
Web Sites› Static› Multiple pages› Stateless› HTML› Content driven
Web Apps› Dynamic› Single page› Stateful› Frameworks› Event driven
Testing Web Applications & Services
Web apps & services
What are the differences between
web applications & web services?
Testing Web Applications & Services
Web apps & services
Web Apps› Runs in browser› HTML› Client side logic› At least it has
cookies› HTTP & URLs
Web Services› No UI› XML or JSON› Logic on server› Even more
stateless› HTTP & URLs
Testing Web Applications & Services
Web apps & services
How do web servicescompliment web applications?
› Separation of concerns• Data from user interface• Domain model from authentication, etc.
› Modularity› Scalability› Reusability• Multiple apps can share the same service
Testing Web Applications & Services
Types of tests
Types of tests
Testing Web Applications & Services
Types of tests
Unit, Integration, System, System Integration, End-to-end, Functional, Performance, Load, Stress, Security,
Usability, White box, Black box, Gray box, Acceptance, Regression,
Sanity, Smoke, Manual, Automated, Installation, Deployment, etc.
Testing Web Applications & Services
Testing Perspectives
Testing Perspectives› Verification› Validation› Exploratory› Destructive
› Functionality› Presentation› Usability› Feasibility› Compliance› Compatibility› Performance› Security
Testing Web Applications & Services
Types of tests
Manual testing & test automation
Testing Web Applications & Services
Types of tests
Exercise:
Hello, world!
Testing Web Applications & Services
top related