Date post: | 15-Apr-2017 |
Category: |
Technology |
Upload: | qaoth |
View: | 313 times |
Download: | 2 times |
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