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

Testing Web Services - QA or the Highway 2016

Jan 14, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Testing Web Services - QA or the Highway 2016

TestingWebServices

StanJónsson @sjonsson sjonsson.com

Page 2: Testing Web Services - QA or the Highway 2016

Agenda

Page 3: Testing Web Services - QA or the Highway 2016

Agenda-cont.

• WillalsobrieflyshowoneChromeplugin

AdvancedRESTclient

Page 4: Testing Web Services - QA or the Highway 2016

• SoftwareArchitectatAllianceData• PassionateaboutTDD,TestAutomation,andDeliveringQualityCode

StanJónsson

@sjonsson

sjonsson.com

Page 5: Testing Web Services - QA or the Highway 2016

SoapUI

Freeandopensourcecross-platformfunctionaltestingsolution

• SOAP• REST• Web-HTTP,HTTPS• JDBC• JMS

Page 6: Testing Web Services - QA or the Highway 2016

WhatdoIuseSoapUIfor?

ExploratoryTesting Mocking

Page 7: Testing Web Services - QA or the Highway 2016

DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)

Page 8: Testing Web Services - QA or the Highway 2016
Page 9: Testing Web Services - QA or the Highway 2016
Page 10: Testing Web Services - QA or the Highway 2016
Page 11: Testing Web Services - QA or the Highway 2016
Page 12: Testing Web Services - QA or the Highway 2016
Page 13: Testing Web Services - QA or the Highway 2016
Page 14: Testing Web Services - QA or the Highway 2016
Page 15: Testing Web Services - QA or the Highway 2016
Page 16: Testing Web Services - QA or the Highway 2016
Page 17: Testing Web Services - QA or the Highway 2016
Page 18: Testing Web Services - QA or the Highway 2016
Page 19: Testing Web Services - QA or the Highway 2016

JMeter

Opensourceapplicationdesignedtoloadtestfunctionalbehaviorandmeasureperformance

• Web-HTTP,HTTPS• SOAP/REST• FTP• JMS• JDBC• NoSQL(MongoDB)• LDAP• Mail-SMTP(S),POP3(S)andIMAP(S)• Nativecommandsorshellscripts

Page 20: Testing Web Services - QA or the Highway 2016

WhatdoIuseJMeterfor?

SmokeTestingLoad&Performance

Testing ProductionMonitoring(viaJenkins)

Page 21: Testing Web Services - QA or the Highway 2016

DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)

Page 22: Testing Web Services - QA or the Highway 2016
Page 23: Testing Web Services - QA or the Highway 2016
Page 24: Testing Web Services - QA or the Highway 2016
Page 25: Testing Web Services - QA or the Highway 2016
Page 26: Testing Web Services - QA or the Highway 2016
Page 27: Testing Web Services - QA or the Highway 2016
Page 28: Testing Web Services - QA or the Highway 2016
Page 29: Testing Web Services - QA or the Highway 2016
Page 30: Testing Web Services - QA or the Highway 2016
Page 31: Testing Web Services - QA or the Highway 2016
Page 32: Testing Web Services - QA or the Highway 2016
Page 33: Testing Web Services - QA or the Highway 2016
Page 34: Testing Web Services - QA or the Highway 2016
Page 35: Testing Web Services - QA or the Highway 2016

REST-assured

• JavaDSLforeasytestingofRESTservices– Easytosubmitrequest(GET,POST,PUT,DELETE)– Easytovalidateandverifyresponse

Page 36: Testing Web Services - QA or the Highway 2016

TheDSL

Given ConditionsWhen AccessingService

Then ExpectTheseResults

Page 37: Testing Web Services - QA or the Highway 2016

WhatdoIuseREST-assuredfor?

WebServiceAcceptanceTesting RunfrequentlyaspartofCI

Page 38: Testing Web Services - QA or the Highway 2016

DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)

Page 39: Testing Web Services - QA or the Highway 2016
Page 40: Testing Web Services - QA or the Highway 2016
Page 41: Testing Web Services - QA or the Highway 2016
Page 42: Testing Web Services - QA or the Highway 2016
Page 43: Testing Web Services - QA or the Highway 2016

Questions?

StanJónsson @sjonsson

sjonsson.com

Page 44: Testing Web Services - QA or the Highway 2016

Summary

• LookedatvariousfreeWebServicetestingtools• ShowedhowtheycancovermostofyourWebServicetestingneeds

StanJónsson @sjonsson

sjonsson.com