15. Business Value…Achieved
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?
16. Business Value…Achieved
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
29. Business Value…Achieved
JMeter
-‐
Tips
• When
running
load
tests:
– Make
sure
to
allocate
sufficient
memory
to
JMeter
– Log/display
only
errors
• Trust,
but
verify
– Have
seen
JMeter
report
faster
response
$mes
than
measured
in
web
service
37. Business Value…Achieved
Test
Automa$on
• Good
– Tests
read
in
test
data
from
external
configura$on
• Beder
– Tests
search
for
test
data
in
db
before
run
• Best
– Tests
populate
db
before
run
&
clean
up
aferwards
38. Business Value…Achieved
Summary
• Looked
at
3
free
tools
for
Web
Service
tes$ng
• Showed
how
they
can
cover
most
of
your
Web
Service
tes$ng
needs
I am a senior consultant at quick solutions, where I help clients develop better software. Typically in the role of a Technical Lead on a Java based project. I am the proud father of 3 kids, who along with my wife I try to spend as much time with as possible. I am an avid, bicyclist, a golf and basketball fan and a hobby magician.
-Import http://www.webservicex.net/globalweather.asmx?WSDLhttp://127.0.0.1:8088/WeatherMockGet list of citiesGet weather for reykjavikShow validation- Show TestSuite from Preloaded-- Talk about LoadUI integration- Show Mock service from Preloaded
If you log in with correct u/p does it give you a session token?If you log in with invalid u/p does it give you the correct error?If you log in 3 times with the invalid u/p does it lock you out for 30 minutes?If you log in from an unknown device does it prompt you with security question?
-
Too JsonPath, XmlPath, status codes
Web Service Development Best PracticesThorough tutorial on soapUI