Testing Web Services - QA or the Highway 2016

44
Testing Web Services Stan Jónsson @sjonsson sjonsson.com

Transcript of Testing Web Services - QA or the Highway 2016

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