TestingWebServices
StanJónsson @sjonsson sjonsson.com
Agenda-cont.
• WillalsobrieflyshowoneChromeplugin
AdvancedRESTclient
• SoftwareArchitectatAllianceData• PassionateaboutTDD,TestAutomation,andDeliveringQualityCode
StanJónsson
@sjonsson
sjonsson.com
SoapUI
Freeandopensourcecross-platformfunctionaltestingsolution
• SOAP• REST• Web-HTTP,HTTPS• JDBC• JMS
WhatdoIuseSoapUIfor?
ExploratoryTesting Mocking
DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)
JMeter
Opensourceapplicationdesignedtoloadtestfunctionalbehaviorandmeasureperformance
• Web-HTTP,HTTPS• SOAP/REST• FTP• JMS• JDBC• NoSQL(MongoDB)• LDAP• Mail-SMTP(S),POP3(S)andIMAP(S)• Nativecommandsorshellscripts
WhatdoIuseJMeterfor?
SmokeTestingLoad&Performance
Testing ProductionMonitoring(viaJenkins)
DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)
REST-assured
• JavaDSLforeasytestingofRESTservices– Easytosubmitrequest(GET,POST,PUT,DELETE)– Easytovalidateandverifyresponse
TheDSL
Given ConditionsWhen AccessingService
Then ExpectTheseResults
WhatdoIuseREST-assuredfor?
WebServiceAcceptanceTesting RunfrequentlyaspartofCI
DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)
Summary
• LookedatvariousfreeWebServicetestingtools• ShowedhowtheycancovermostofyourWebServicetestingneeds
StanJónsson @sjonsson
sjonsson.com