14. What
do
I
probe
for?
• Can
I
get
to
the
web
service?
– No
access
issues
or
proprietory
security
protocol
• Does
the
input/output
XML/JSON
look
ok?
• Does
the
service
return
valid
respones?
• Does
the
service
handle
errors
in
a
meaningful
way?
Business Value…Achieved
15. JMeter
• Open
source
applica>on
designed
to
load
test
func>onal
behavior
and
measure
performance
– Web
-‐
HTTP,
HTTPS
– SOAP
– JDBC
– LDAP
– JMS
– Mail
-‐
SMTP(S),
POP3(S)
and
IMAP(S)
– Na>ve
commands
or
shell
scripts
Business Value…Achieved
16. What
do
I
use
JMeter
for?
Smoke
tes>ng
Business Value…Achieved
Load
tes>ng
Performance
tes>ng
30. REST-assured
• Java
DSL
for
easy
tes>ng
of
REST
services
– POST,
GET,
PUT,
DELETE,
HEAD
– Easy
to
validate
and
verify
response
Business Value…Achieved
31. What
do
I
use
REST-assured
for?
Web
Service
Acceptance
Tes>ng
Business Value…Achieved
Run
frequently
as
part
of
CI
37. Test
Automa>on
• Good
– Tests
read
in
test
data
from
external
configura>on
• Becer
– Tests
search
for
test
data
in
db
before
run
• Best
– Tests
populate
db
before
run
&
clean
up
aeerwards
Business Value…Achieved
39. Summary
• Looked
at
various
free
Web
Service
tes>ng
tools
• Showed
how
they
can
cover
most
of
your
Web
Service
tes>ng
needs
@sjonsson
www.sjonsson.com
sjonsson@quicksolu>ons.com
Business Value…Achieved