Testing web services by Stan Jónsson
-
Upload
qaoth -
Category
Technology
-
view
315 -
download
2
Transcript of Testing web services by Stan Jónsson
TestingWebServices
StanJónsson @sjonsson sjonsson.com
Agenda
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)
Questions?
StanJónsson @sjonsson
sjonsson.com
Summary
• LookedatvariousfreeWebServicetestingtools• ShowedhowtheycancovermostofyourWebServicetestingneeds
StanJónsson @sjonsson
sjonsson.com