SlideShare uma empresa Scribd logo
1 de 39
Baixar para ler offline
Testing Web Services
Stan	
  Jónsson	
  
@sjonsson	
  

CodeMash	
  2014	
  
Business Value…Achieved
whoami	
  
•  Senior	
  Consultant	
  at	
  Quick	
  Solu>ons	
  

Business Value…Achieved
Agenda	
  

Business Value…Achieved
Agenda	
  -­‐	
  cont.	
  
•  Will	
  also	
  briefly	
  show	
  this	
  Chrome	
  plugin	
  
Advanced	
  REST	
  client	
  

Business Value…Achieved
SoapUI	
  
•  Open	
  source	
  cross-­‐plaOorm	
  func>onal	
  tes>ng	
  
solu>on	
  
– SOAP	
  
– REST	
  
– JDBC	
  
– JMS	
  
– HTML	
  

Business Value…Achieved
What	
  do	
  I	
  use	
  SoapUI	
  for?	
  

Probing	
  

Business Value…Achieved

	
  	
  	
  	
  Mocking	
  	
  
Demo	
  Time	
  
(Screenshots	
  of	
  some	
  of	
  what	
  I	
  walked	
  through)	
  

Business Value…Achieved
What	
  do	
  I	
  probe	
  for?	
  
•  Can	
  I	
  get	
  to	
  the	
  web	
  service?	
  
– No	
  access	
  issues	
  or	
  proprietory	
  security	
  protocol	
  

•  Does	
  the	
  input/output	
  XML/JSON	
  look	
  ok?	
  
•  Does	
  the	
  service	
  return	
  valid	
  respones?	
  
•  Does	
  the	
  service	
  handle	
  errors	
  in	
  a	
  meaningful	
  
way?	
  

Business Value…Achieved
JMeter	
  
•  Open	
  source	
  applica>on	
  designed	
  to	
  load	
  test	
  
func>onal	
  behavior	
  and	
  measure	
  performance	
  
– Web	
  -­‐	
  HTTP,	
  HTTPS	
  
– SOAP	
  
– JDBC	
  
– LDAP	
  
– JMS	
  
– Mail	
  -­‐	
  SMTP(S),	
  POP3(S)	
  and	
  IMAP(S)	
  
– Na>ve	
  commands	
  or	
  shell	
  scripts	
  
Business Value…Achieved
What	
  do	
  I	
  use	
  JMeter	
  for?	
  

Smoke	
  tes>ng	
  

Business Value…Achieved

Load	
  tes>ng	
  

Performance	
  tes>ng	
  
Demo	
  Time	
  
(Screenshots	
  of	
  some	
  of	
  what	
  I	
  walked	
  through)	
  

Business Value…Achieved
JMeter	
  –	
  Con>nuous	
  Integra>on	
  

Business Value…Achieved
REST-assured	
  
•  Java	
  DSL	
  for	
  easy	
  tes>ng	
  of	
  REST	
  services	
  
– POST,	
  GET,	
  PUT,	
  DELETE,	
  HEAD	
  
– Easy	
  to	
  validate	
  and	
  verify	
  response	
  

Business Value…Achieved
What	
  do	
  I	
  use	
  REST-assured	
  for?	
  

Web	
  Service	
  Acceptance	
  Tes>ng	
  

Business Value…Achieved

Run	
  frequently	
  as	
  part	
  of	
  CI	
  
Demo	
  Time	
  
(Screenshots	
  of	
  some	
  of	
  what	
  I	
  walked	
  through)	
  

Business Value…Achieved
Test	
  Automa>on	
  
•  Good	
  
– Tests	
  read	
  in	
  test	
  data	
  from	
  external	
  configura>on	
  

•  Becer	
  
– Tests	
  search	
  for	
  test	
  data	
  in	
  db	
  before	
  run	
  

•  Best	
  
– Tests	
  populate	
  db	
  before	
  run	
  &	
  clean	
  up	
  aeerwards	
  

Business Value…Achieved
Ques>ons?	
  

Business Value…Achieved
Summary	
  
•  Looked	
  at	
  various	
  free	
  Web	
  Service	
  tes>ng	
  tools	
  
•  Showed	
  how	
  they	
  can	
  cover	
  most	
  of	
  your	
  Web	
  
Service	
  tes>ng	
  needs	
  

@sjonsson	
  
www.sjonsson.com	
  	
  
sjonsson@quicksolu>ons.com	
  
Business Value…Achieved

Mais conteúdo relacionado

Mais procurados

Kanban - Set Work in Progress Limits
Kanban - Set Work in Progress LimitsKanban - Set Work in Progress Limits
Kanban - Set Work in Progress LimitsAvarteq
 
Agile Testing in Enterprise: Way to transform - SQA Days 2014
Agile Testing in Enterprise: Way to transform - SQA Days 2014Agile Testing in Enterprise: Way to transform - SQA Days 2014
Agile Testing in Enterprise: Way to transform - SQA Days 2014Andrey Rebrov
 
Scrum in Hardware
Scrum in HardwareScrum in Hardware
Scrum in HardwareTEST Huddle
 
An Introduction to Kanban
An Introduction to KanbanAn Introduction to Kanban
An Introduction to KanbanCamille Bell
 
Lean conference 2014 Open Market - how we have benefited from the application...
Lean conference 2014 Open Market - how we have benefited from the application...Lean conference 2014 Open Market - how we have benefited from the application...
Lean conference 2014 Open Market - how we have benefited from the application...Invest Northern Ireland
 
Managing Technical Debt
Managing Technical DebtManaging Technical Debt
Managing Technical DebtJeremy Horn
 
Kanban: The Dilemma of an Agile Manager
Kanban: The Dilemma of an Agile ManagerKanban: The Dilemma of an Agile Manager
Kanban: The Dilemma of an Agile ManagerAvarteq
 
Deliver anything, anywhere, anytime
Deliver anything, anywhere, anytimeDeliver anything, anywhere, anytime
Deliver anything, anywhere, anytimePoornima Durairaj
 
Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...
Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...
Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...Lviv Startup Club
 
Agile and Lean support and maintenance of IT Services and Information systems
Agile and Lean support and maintenance of IT Services and Information systemsAgile and Lean support and maintenance of IT Services and Information systems
Agile and Lean support and maintenance of IT Services and Information systemsJaroslav Procházka
 
Kanban - Class of Service (To Manage Incidents in a DevOps Team)
Kanban - Class of Service (To Manage Incidents in a DevOps Team)Kanban - Class of Service (To Manage Incidents in a DevOps Team)
Kanban - Class of Service (To Manage Incidents in a DevOps Team)Anurag Shrivastava
 
Why Pipelines Matter
Why Pipelines MatterWhy Pipelines Matter
Why Pipelines MatterMichael Ducy
 
Accelerate Your Next AEM Project
Accelerate Your Next AEM ProjectAccelerate Your Next AEM Project
Accelerate Your Next AEM ProjectiCiDIGITAL
 
Rpt west13 sb_print
Rpt west13 sb_printRpt west13 sb_print
Rpt west13 sb_printSmartBear
 
Translating Points to Dollars
Translating Points to Dollars Translating Points to Dollars
Translating Points to Dollars Brent Barton
 
Kanban - Establish a Delivery Rhythm
Kanban - Establish a Delivery RhythmKanban - Establish a Delivery Rhythm
Kanban - Establish a Delivery RhythmAvarteq
 
Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017Helen Meek
 

Mais procurados (20)

Kanban - Set Work in Progress Limits
Kanban - Set Work in Progress LimitsKanban - Set Work in Progress Limits
Kanban - Set Work in Progress Limits
 
Agile Testing in Enterprise: Way to transform - SQA Days 2014
Agile Testing in Enterprise: Way to transform - SQA Days 2014Agile Testing in Enterprise: Way to transform - SQA Days 2014
Agile Testing in Enterprise: Way to transform - SQA Days 2014
 
Scrum in Hardware
Scrum in HardwareScrum in Hardware
Scrum in Hardware
 
An Introduction to Kanban
An Introduction to KanbanAn Introduction to Kanban
An Introduction to Kanban
 
Lean conference 2014 Open Market - how we have benefited from the application...
Lean conference 2014 Open Market - how we have benefited from the application...Lean conference 2014 Open Market - how we have benefited from the application...
Lean conference 2014 Open Market - how we have benefited from the application...
 
Managing Technical Debt
Managing Technical DebtManaging Technical Debt
Managing Technical Debt
 
Kanban: The Dilemma of an Agile Manager
Kanban: The Dilemma of an Agile ManagerKanban: The Dilemma of an Agile Manager
Kanban: The Dilemma of an Agile Manager
 
Kanban 101
Kanban 101Kanban 101
Kanban 101
 
Deliver anything, anywhere, anytime
Deliver anything, anywhere, anytimeDeliver anything, anywhere, anytime
Deliver anything, anywhere, anytime
 
Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...
Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...
Oded Tamir "Projects Portfolio Management – How to prioritize your Projects P...
 
Switch tokanban2
Switch tokanban2Switch tokanban2
Switch tokanban2
 
Agile and Lean support and maintenance of IT Services and Information systems
Agile and Lean support and maintenance of IT Services and Information systemsAgile and Lean support and maintenance of IT Services and Information systems
Agile and Lean support and maintenance of IT Services and Information systems
 
Kanban - Class of Service (To Manage Incidents in a DevOps Team)
Kanban - Class of Service (To Manage Incidents in a DevOps Team)Kanban - Class of Service (To Manage Incidents in a DevOps Team)
Kanban - Class of Service (To Manage Incidents in a DevOps Team)
 
Why Pipelines Matter
Why Pipelines MatterWhy Pipelines Matter
Why Pipelines Matter
 
Accelerate Your Next AEM Project
Accelerate Your Next AEM ProjectAccelerate Your Next AEM Project
Accelerate Your Next AEM Project
 
Rpt west13 sb_print
Rpt west13 sb_printRpt west13 sb_print
Rpt west13 sb_print
 
Translating Points to Dollars
Translating Points to Dollars Translating Points to Dollars
Translating Points to Dollars
 
BoS2015 Trish Khoo – Engineering Manager, Google
BoS2015 Trish Khoo – Engineering Manager, GoogleBoS2015 Trish Khoo – Engineering Manager, Google
BoS2015 Trish Khoo – Engineering Manager, Google
 
Kanban - Establish a Delivery Rhythm
Kanban - Establish a Delivery RhythmKanban - Establish a Delivery Rhythm
Kanban - Establish a Delivery Rhythm
 
Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017
 

Destaque

7 Coding Apps to Teach Kids How to Code
7 Coding Apps to Teach Kids How to Code7 Coding Apps to Teach Kids How to Code
7 Coding Apps to Teach Kids How to CodeTory Reiss
 
Teaching Kids Game Programming
Teaching Kids Game ProgrammingTeaching Kids Game Programming
Teaching Kids Game Programmingchristophercotton
 
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsInspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsSt. Petersburg College
 

Destaque (6)

Tips for bicycling to work
Tips for bicycling to workTips for bicycling to work
Tips for bicycling to work
 
Teach your kids to code
Teach your kids to codeTeach your kids to code
Teach your kids to code
 
Program some health into your life
Program some health into your lifeProgram some health into your life
Program some health into your life
 
7 Coding Apps to Teach Kids How to Code
7 Coding Apps to Teach Kids How to Code7 Coding Apps to Teach Kids How to Code
7 Coding Apps to Teach Kids How to Code
 
Teaching Kids Game Programming
Teaching Kids Game ProgrammingTeaching Kids Game Programming
Teaching Kids Game Programming
 
Inspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other ToolsInspiring Kids to Code Using Scratch and Other Tools
Inspiring Kids to Code Using Scratch and Other Tools
 

Semelhante a Testing Web Services - CodeMash 2014

Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016Steinn 'Stan' Jónsson
 
Testing web services by Stan Jónsson
Testing web services by Stan JónssonTesting web services by Stan Jónsson
Testing web services by Stan JónssonQA or the Highway
 
WinOps Conf 2016 - Michael Greene - Release Pipelines
WinOps Conf 2016 - Michael Greene - Release PipelinesWinOps Conf 2016 - Michael Greene - Release Pipelines
WinOps Conf 2016 - Michael Greene - Release PipelinesWinOps Conf
 
Test scenarios for sending & receiving emails
Test scenarios for sending & receiving emailsTest scenarios for sending & receiving emails
Test scenarios for sending & receiving emailsMorpheous Algan
 
Learn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream managementLearn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream managementLance Knight
 
Continuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQContinuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQTomas Riha
 
Real-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-EmployedReal-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-EmployedTim Hobson
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardTechWell
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Shelley Lambert
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Clever Moe
 
Performance & Automation Testing
Performance & Automation TestingPerformance & Automation Testing
Performance & Automation TestingIndium Software
 
7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...
7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...
7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...Amazon Web Services
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsQUONTRASOLUTIONS
 
Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementChristian Vos
 

Semelhante a Testing Web Services - CodeMash 2014 (20)

Testing Web Services
Testing Web ServicesTesting Web Services
Testing Web Services
 
Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016
 
Testing web services by Stan Jónsson
Testing web services by Stan JónssonTesting web services by Stan Jónsson
Testing web services by Stan Jónsson
 
WinOps Conf 2016 - Michael Greene - Release Pipelines
WinOps Conf 2016 - Michael Greene - Release PipelinesWinOps Conf 2016 - Michael Greene - Release Pipelines
WinOps Conf 2016 - Michael Greene - Release Pipelines
 
Testing Process
Testing ProcessTesting Process
Testing Process
 
Test scenarios for sending & receiving emails
Test scenarios for sending & receiving emailsTest scenarios for sending & receiving emails
Test scenarios for sending & receiving emails
 
Agile testing
Agile testingAgile testing
Agile testing
 
SAFe and DevOps - better together
SAFe and DevOps - better togetherSAFe and DevOps - better together
SAFe and DevOps - better together
 
Learn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream managementLearn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream management
 
Continuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQContinuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQ
 
Real-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-EmployedReal-World Boot-Up Sequences - QuickBooks Self-Employed
Real-World Boot-Up Sequences - QuickBooks Self-Employed
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New Standard
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014
 
Ashish Baraiya
Ashish BaraiyaAshish Baraiya
Ashish Baraiya
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014
 
ESB Testing
ESB TestingESB Testing
ESB Testing
 
Performance & Automation Testing
Performance & Automation TestingPerformance & Automation Testing
Performance & Automation Testing
 
7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...
7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...
7 Use Cases in 7 Minutes Each : The Power of Workflows and Automation (SVC101...
 
Performance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutionsPerformance Testing and OBIEE by QuontraSolutions
Performance Testing and OBIEE by QuontraSolutions
 
Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinement
 

Mais de Steinn 'Stan' Jónsson

Mais de Steinn 'Stan' Jónsson (6)

Fitness Gadgets That Make Exercising Less Boring
Fitness Gadgets That Make Exercising Less BoringFitness Gadgets That Make Exercising Less Boring
Fitness Gadgets That Make Exercising Less Boring
 
Get the most out of attending conferences
Get the most out of attending conferencesGet the most out of attending conferences
Get the most out of attending conferences
 
Learn and have fun by listening to audiobooks
Learn and have fun by listening to audiobooksLearn and have fun by listening to audiobooks
Learn and have fun by listening to audiobooks
 
Java technologies explained to non-technical audience
Java technologies explained to non-technical audienceJava technologies explained to non-technical audience
Java technologies explained to non-technical audience
 
Kanban Case Study
Kanban Case StudyKanban Case Study
Kanban Case Study
 
Sykur
SykurSykur
Sykur
 

Último

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Último (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

Testing Web Services - CodeMash 2014

  • 1. Testing Web Services Stan  Jónsson   @sjonsson   CodeMash  2014   Business Value…Achieved
  • 2. whoami   •  Senior  Consultant  at  Quick  Solu>ons   Business Value…Achieved
  • 4. Agenda  -­‐  cont.   •  Will  also  briefly  show  this  Chrome  plugin   Advanced  REST  client   Business Value…Achieved
  • 5. SoapUI   •  Open  source  cross-­‐plaOorm  func>onal  tes>ng   solu>on   – SOAP   – REST   – JDBC   – JMS   – HTML   Business Value…Achieved
  • 6. What  do  I  use  SoapUI  for?   Probing   Business Value…Achieved        Mocking    
  • 7. Demo  Time   (Screenshots  of  some  of  what  I  walked  through)   Business Value…Achieved
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14. What  do  I  probe  for?   •  Can  I  get  to  the  web  service?   – No  access  issues  or  proprietory  security  protocol   •  Does  the  input/output  XML/JSON  look  ok?   •  Does  the  service  return  valid  respones?   •  Does  the  service  handle  errors  in  a  meaningful   way?   Business Value…Achieved
  • 15. JMeter   •  Open  source  applica>on  designed  to  load  test   func>onal  behavior  and  measure  performance   – Web  -­‐  HTTP,  HTTPS   – SOAP   – JDBC   – LDAP   – JMS   – Mail  -­‐  SMTP(S),  POP3(S)  and  IMAP(S)   – Na>ve  commands  or  shell  scripts   Business Value…Achieved
  • 16. What  do  I  use  JMeter  for?   Smoke  tes>ng   Business Value…Achieved Load  tes>ng   Performance  tes>ng  
  • 17. Demo  Time   (Screenshots  of  some  of  what  I  walked  through)   Business Value…Achieved
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. JMeter  –  Con>nuous  Integra>on   Business Value…Achieved
  • 30. REST-assured   •  Java  DSL  for  easy  tes>ng  of  REST  services   – POST,  GET,  PUT,  DELETE,  HEAD   – Easy  to  validate  and  verify  response   Business Value…Achieved
  • 31. What  do  I  use  REST-assured  for?   Web  Service  Acceptance  Tes>ng   Business Value…Achieved Run  frequently  as  part  of  CI  
  • 32. Demo  Time   (Screenshots  of  some  of  what  I  walked  through)   Business Value…Achieved
  • 33.
  • 34.
  • 35.
  • 36.
  • 37. Test  Automa>on   •  Good   – Tests  read  in  test  data  from  external  configura>on   •  Becer   – Tests  search  for  test  data  in  db  before  run   •  Best   – Tests  populate  db  before  run  &  clean  up  aeerwards   Business Value…Achieved
  • 39. Summary   •  Looked  at  various  free  Web  Service  tes>ng  tools   •  Showed  how  they  can  cover  most  of  your  Web   Service  tes>ng  needs   @sjonsson   www.sjonsson.com     sjonsson@quicksolu>ons.com   Business Value…Achieved