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

Testing web services by Stan Jónsson

Apr 15, 2017

Download

Technology

qaoth
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 by Stan Jónsson

TestingWebServices

StanJónsson @sjonsson sjonsson.com

Page 2: Testing web services by Stan Jónsson

Agenda

Page 3: Testing web services by Stan Jónsson

Agenda-cont.

• WillalsobrieflyshowoneChromeplugin

AdvancedRESTclient

Page 4: Testing web services by Stan Jónsson

• SoftwareArchitectatAllianceData• PassionateaboutTDD,TestAutomation,andDeliveringQualityCode

StanJónsson

@sjonsson

sjonsson.com

Page 5: Testing web services by Stan Jónsson

SoapUI

Freeandopensourcecross-platformfunctionaltestingsolution

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

Page 6: Testing web services by Stan Jónsson

WhatdoIuseSoapUIfor?

ExploratoryTesting Mocking

Page 7: Testing web services by Stan Jónsson

DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)

Page 8: Testing web services by Stan Jónsson
Page 9: Testing web services by Stan Jónsson
Page 10: Testing web services by Stan Jónsson
Page 11: Testing web services by Stan Jónsson
Page 12: Testing web services by Stan Jónsson
Page 13: Testing web services by Stan Jónsson
Page 14: Testing web services by Stan Jónsson
Page 15: Testing web services by Stan Jónsson
Page 16: Testing web services by Stan Jónsson
Page 17: Testing web services by Stan Jónsson
Page 18: Testing web services by Stan Jónsson
Page 19: Testing web services by Stan Jónsson

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 by Stan Jónsson

WhatdoIuseJMeterfor?

SmokeTestingLoad&Performance

Testing ProductionMonitoring(viaJenkins)

Page 21: Testing web services by Stan Jónsson

DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)

Page 22: Testing web services by Stan Jónsson
Page 23: Testing web services by Stan Jónsson
Page 24: Testing web services by Stan Jónsson
Page 25: Testing web services by Stan Jónsson
Page 26: Testing web services by Stan Jónsson
Page 27: Testing web services by Stan Jónsson
Page 28: Testing web services by Stan Jónsson
Page 29: Testing web services by Stan Jónsson
Page 30: Testing web services by Stan Jónsson
Page 31: Testing web services by Stan Jónsson
Page 32: Testing web services by Stan Jónsson
Page 33: Testing web services by Stan Jónsson
Page 34: Testing web services by Stan Jónsson
Page 35: Testing web services by Stan Jónsson

REST-assured

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

Page 36: Testing web services by Stan Jónsson

TheDSL

Given ConditionsWhen AccessingService

Then ExpectTheseResults

Page 37: Testing web services by Stan Jónsson

WhatdoIuseREST-assuredfor?

WebServiceAcceptanceTesting RunfrequentlyaspartofCI

Page 38: Testing web services by Stan Jónsson

DemoTime(ScreenshotsofsomeofwhatIwalkedthrough)

Page 39: Testing web services by Stan Jónsson
Page 40: Testing web services by Stan Jónsson
Page 41: Testing web services by Stan Jónsson
Page 42: Testing web services by Stan Jónsson
Page 43: Testing web services by Stan Jónsson

Questions?

StanJónsson @sjonsson

sjonsson.com

Page 44: Testing web services by Stan Jónsson

Summary

• LookedatvariousfreeWebServicetestingtools• ShowedhowtheycancovermostofyourWebServicetestingneeds

StanJónsson @sjonsson

sjonsson.com