SlideShare a Scribd company logo
1 of 26
Download to read offline
Thanks
Ministry of Testing
Poppulo
1
@MinistryCork
2
Upcoming Events
@MinistryCork
TestBash UK, Liverpool Wednesday, the 20th of September 2023, for two days.
3
AI assisted testing using
postman and OpenAI
Sivaganesh Sivakumar
16-May-2023
Ministry of Testing Cork
@sivaganesh_siva 4
About me Sivaganesh Sivakumar
Senior software test engineer
India (originally), currently in Cork
Experience: 13+ years in multiple industries
Passionate about technology
Enjoys food and movies
First public speaking engagement
@sivaganesh_siva 5
https://www.postman.com/aviation-meteorologist-80909569
Overview
By the end of the session, we will be able to
• Understand the current state of AI and AI in software testing.
• Learn the basics of OpenAI APIs and their potential in testing.
• Develop a simple test use-case using postman and OpenAI APIs.
• Discover interesting AI-assisted testing implementations.
@sivaganesh_siva 6
AI – Types
Artificial Intelligence (AI), a term coined by Stanford Professor John
McCarthy in 1955, was defined by him as “the science and engineering of
making intelligent machines”
Artificial Narrow
Intelligence
Artificial General
Intelligence
Artificial Super
Intelligence
Based on capabilities Based on functionalities
Reactive
machine
Theory of mind Self-aware
Limited
memory
@sivaganesh_siva 7
Artificial Narrow
Intelligence
• Focusses on one narrow task
• Targets a single subset of cognitive
abilities and advances in that spectrum
@sivaganesh_siva 8
Artificial General
Intelligence
Autonomous system
that surpasses human
capabilities in the
majority of
economically valuable
tasks
@sivaganesh_siva 9
Artificial Super Intelligence
Skynet begins to learn at a geometric rate.
An intellect that is much
smarter than the best human
brains in practically every field,
including scientific creativity,
general wisdom and social
skills
https://nickbostrom.com/superintelligence
@sivaganesh_siva 10
Generative AI
https://github.blog/2023-04-07-what-developers-need-to-know-about-generative-ai/
Category of AI models and tools designed to create new content,
such as text, images, videos, music, or code.
@sivaganesh_siva 11
Text Generation -
ChatGPT
Image Generation –
DALL-E2,
Midjourney,
Microsoft Designer
Video Generation –
Stable Diffusion
Programming Code
Generation –
OpenAI Codex,
PaLM 2
Data Generation -
MostlyAI
Language translation
- Google Neural
Machine Translation,
ChatGPT, PaLM 2
Generative AI - implementations
• AlphaCode
• Google DeepMind
• Competitive programming
• Amazon Codewhisperer
• GitHub Copilot X
• openAI Codex
• ChatGPT
• GPT4
• GPT3.5
• Tabnine
Programming / Coding
@sivaganesh_siva 12
Generative AI - implementations
Issue Tracking / Communication / Observability
Atlassian Intelligence
New Relic
SlackGPT
@sivaganesh_siva 13
State of AI in software testing - Tools
Unit tests
Contract tests
Integration/API
tests
UI
• Majority of the AI assisted testing tools focus on UI/Visual validation and self healing features
• All the AI features are built within the tools and need subscriptions
@sivaganesh_siva 14
Where else can AI help us ?
We spend a lot of time outside of the core testing activities like test
automation, execution, test planning etc.
Automation test failure/report analysis
Bug prioritization
Monitoring and Observability
Code reviews
Complex test data generation
Performance report analysis
Documentation
@sivaganesh_siva
15
Where to get started ?
OpenAI APIs
• Pay-as-you-go pricing of the APIs
• Ability to choose between multiple frameworks
• python
• node
• curl
• postman etc.
• Freedom to explore with smaller experiments
• Cons include complexity with prompts and don’t have any
reference materials
@sivaganesh_siva 16
OpenAI APIs - models
Offers multiple models which can be used for content generation,
image generation, speech recognition etc
GPT-4 : Improved natural language and code generation
GPT-3.5: Advanced natural language and code generation
DALL·E: Image generation and editing using natural language prompts
Whisper: Audio-to-text conversion
Embeddings: Text-to-numerical conversion
Moderation: Fine-tuned model to detect sensitive/unsafe text
GPT-3: Natural language understanding and generation
Codex: Natural language to code translation
@sivaganesh_siva 17
OpenAI APIs – Usage fee
5$ Free API usage for the first month
@sivaganesh_siva 18
openAI APIs – Completions
• Fundamental API which is extremely flexible and powerful
• Given a prompt it returns a text completion as per the provided instructions
POST https://api.openai.com/v1/completions
POST https://api.openai.com/v1/chat/completions
Supports multiple models.
text-davinci-003/gpt-3.5-
turbo
Max tokens to limit the
response text.
Values between 0 to 2. 0
being more focused and
deterministic and 2 being
very random and creative
@sivaganesh_siva 19
Leveraging openAI using postman
1) Generate openAI API key
2) Fork openAI API collection in postman
3) Update the API key from step 1 in
postman
4) Start working with the APIs
Key steps to get started
@sivaganesh_siva 20
Leveraging openAI using postman
LIVE DEMO
@sivaganesh_siva 21
Ideas to explore further
API Fuzzing with OpenAI APIs and Traditional Fuzzing Engines
Traditional fuzzing engines:
- Examples: AFL, libFuzzer, honggfuzz
- Generate test inputs using random mutations and code coverage monitoring
- Effective for discovering vulnerabilities in software
AI-driven fuzzing with OpenAI APIs:
- Leverages natural language understanding and reasoning capabilities
- Generates context-aware and complex test cases
- Can target specific functionality and edge cases
Benefits of a hybrid approach:
- Combines the strengths of both traditional fuzzing engines and AI-based methods
- Increases efficiency and likelihood of discovering vulnerabilities
@sivaganesh_siva 22
Ideas to explore further
Leveraging OpenAI APIs for Test Automation result analysis
Objectives
- Summarize test automation reports
- Analyse AWS CloudWatch logs to identify issues
Benefits
- Accelerate issue identification and resolution
- Enhance team productivity through automated test result analysis
@sivaganesh_siva 23
Interesting implementations
@sivaganesh_siva 24
Interesting implementations
@sivaganesh_siva 25
Questions ?
@sivaganesh_siva 26

More Related Content

What's hot

PHPのテスト名を日本語にした話
PHPのテスト名を日本語にした話PHPのテスト名を日本語にした話
PHPのテスト名を日本語にした話Norifumi Kawamoto
 
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?VMware Tanzu Korea
 
API Automation Testing Using RestAssured+Cucumber
API Automation Testing Using RestAssured+CucumberAPI Automation Testing Using RestAssured+Cucumber
API Automation Testing Using RestAssured+CucumberKnoldus Inc.
 
Imprementation of realtime_networkgame
Imprementation of realtime_networkgameImprementation of realtime_networkgame
Imprementation of realtime_networkgameSatoshi Yamafuji
 
Drive business outcomes using Azure Devops
Drive business outcomes using Azure DevopsDrive business outcomes using Azure Devops
Drive business outcomes using Azure DevopsBelatrix Software
 
Generative AI 101 A Beginners Guide.pdf
Generative AI 101 A Beginners Guide.pdfGenerative AI 101 A Beginners Guide.pdf
Generative AI 101 A Beginners Guide.pdfSoluLab1231
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | EdurekaEdureka!
 
Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps  Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps Chetan Gordhan
 
Azure Boards.pptx
Azure Boards.pptxAzure Boards.pptx
Azure Boards.pptxNitin Sethi
 
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介 【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介 日本マイクロソフト株式会社
 
How MongoDB can accelerate a path to GDPR compliance
How MongoDB can accelerate a path to GDPR complianceHow MongoDB can accelerate a path to GDPR compliance
How MongoDB can accelerate a path to GDPR complianceMongoDB
 
Zephyr 2.6: Comprehensive Test Management
Zephyr 2.6: Comprehensive Test ManagementZephyr 2.6: Comprehensive Test Management
Zephyr 2.6: Comprehensive Test ManagementZephyr
 
iOSにおけるWakeword検知機能の実装
iOSにおけるWakeword検知機能の実装iOSにおけるWakeword検知機能の実装
iOSにおけるWakeword検知機能の実装exwzds
 
Getting Started with ChatGPT.pdf
Getting Started with ChatGPT.pdfGetting Started with ChatGPT.pdf
Getting Started with ChatGPT.pdfManish Chopra
 

What's hot (20)

Sonarqube
SonarqubeSonarqube
Sonarqube
 
PHPのテスト名を日本語にした話
PHPのテスト名を日本語にした話PHPのテスト名を日本語にした話
PHPのテスト名を日本語にした話
 
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
MSA 전략 1: 마이크로서비스, 어떻게 디자인 할 것인가?
 
API Automation Testing Using RestAssured+Cucumber
API Automation Testing Using RestAssured+CucumberAPI Automation Testing Using RestAssured+Cucumber
API Automation Testing Using RestAssured+Cucumber
 
Imprementation of realtime_networkgame
Imprementation of realtime_networkgameImprementation of realtime_networkgame
Imprementation of realtime_networkgame
 
Drive business outcomes using Azure Devops
Drive business outcomes using Azure DevopsDrive business outcomes using Azure Devops
Drive business outcomes using Azure Devops
 
Generative AI 101 A Beginners Guide.pdf
Generative AI 101 A Beginners Guide.pdfGenerative AI 101 A Beginners Guide.pdf
Generative AI 101 A Beginners Guide.pdf
 
Software Testing Tools | Edureka
Software Testing Tools | EdurekaSoftware Testing Tools | Edureka
Software Testing Tools | Edureka
 
test_automation_POC
test_automation_POCtest_automation_POC
test_automation_POC
 
Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps  Microsoft DevOps Solution - DevOps
Microsoft DevOps Solution - DevOps
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Azure Boards.pptx
Azure Boards.pptxAzure Boards.pptx
Azure Boards.pptx
 
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介 【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
【BS3】Visual Studio 2022 と .NET 6 での Windows アプリ開発技術の紹介
 
How MongoDB can accelerate a path to GDPR compliance
How MongoDB can accelerate a path to GDPR complianceHow MongoDB can accelerate a path to GDPR compliance
How MongoDB can accelerate a path to GDPR compliance
 
Maisa Penha - Art of Possible.pdf
Maisa Penha - Art of Possible.pdfMaisa Penha - Art of Possible.pdf
Maisa Penha - Art of Possible.pdf
 
Generative AI.pptx
Generative AI.pptxGenerative AI.pptx
Generative AI.pptx
 
Azure DevOps
Azure DevOpsAzure DevOps
Azure DevOps
 
Zephyr 2.6: Comprehensive Test Management
Zephyr 2.6: Comprehensive Test ManagementZephyr 2.6: Comprehensive Test Management
Zephyr 2.6: Comprehensive Test Management
 
iOSにおけるWakeword検知機能の実装
iOSにおけるWakeword検知機能の実装iOSにおけるWakeword検知機能の実装
iOSにおけるWakeword検知機能の実装
 
Getting Started with ChatGPT.pdf
Getting Started with ChatGPT.pdfGetting Started with ChatGPT.pdf
Getting Started with ChatGPT.pdf
 

Similar to AI assisted testing using postman and openAI.pdf

2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open Standards2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open StandardsAPIsecure_ Official
 
OpenAPI Intro (1).pdf
OpenAPI Intro (1).pdfOpenAPI Intro (1).pdf
OpenAPI Intro (1).pdfPostman
 
How ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityHow ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityPostman
 
Space Camp - API Contract Testing
Space Camp - API Contract TestingSpace Camp - API Contract Testing
Space Camp - API Contract TestingPostman
 
API Testing with Frisby and Mocha
API Testing with Frisby and MochaAPI Testing with Frisby and Mocha
API Testing with Frisby and MochaLyudmila Anisimova
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Applitools
 
Advanced Testing
Advanced TestingAdvanced Testing
Advanced TestingPostman
 
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & PythonDeveloping Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & PythonSmartBear
 
Mastering Mobile Test Automation with Appium
Mastering Mobile Test Automation with AppiumMastering Mobile Test Automation with Appium
Mastering Mobile Test Automation with AppiumPerfecto by Perforce
 
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...Curiosity Software Ireland
 
Mastering the Art of Mobile Testing by Akshita Puram
Mastering the Art of Mobile Testing by Akshita PuramMastering the Art of Mobile Testing by Akshita Puram
Mastering the Art of Mobile Testing by Akshita PuramQA or the Highway
 
Space Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfSpace Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfPostman
 
Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesQASymphony
 
The Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdfThe Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdfConcetto Labs
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 201510 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015Peter Sabev
 
Top 11 api testing tools for 2022
Top 11 api testing tools for 2022Top 11 api testing tools for 2022
Top 11 api testing tools for 2022Aparna Sharma
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...apidays
 
Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...
Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...
Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...QASymphony
 
Test Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationTest Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationUiPathCommunity
 

Similar to AI assisted testing using postman and openAI.pdf (20)

2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open Standards2022 APIsecure_Securing APIs with Open Standards
2022 APIsecure_Securing APIs with Open Standards
 
Dev Dives MAY Deck .pdf
Dev Dives MAY Deck .pdfDev Dives MAY Deck .pdf
Dev Dives MAY Deck .pdf
 
OpenAPI Intro (1).pdf
OpenAPI Intro (1).pdfOpenAPI Intro (1).pdf
OpenAPI Intro (1).pdf
 
How ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in PopularityHow ChatGPT led OpenAPI's Recent Spike in Popularity
How ChatGPT led OpenAPI's Recent Spike in Popularity
 
Space Camp - API Contract Testing
Space Camp - API Contract TestingSpace Camp - API Contract Testing
Space Camp - API Contract Testing
 
API Testing with Frisby and Mocha
API Testing with Frisby and MochaAPI Testing with Frisby and Mocha
API Testing with Frisby and Mocha
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
 
Advanced Testing
Advanced TestingAdvanced Testing
Advanced Testing
 
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & PythonDeveloping Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
 
Mastering Mobile Test Automation with Appium
Mastering Mobile Test Automation with AppiumMastering Mobile Test Automation with Appium
Mastering Mobile Test Automation with Appium
 
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
To Open Banking and Beyond: Developing APIs that are Resilient to every new I...
 
Mastering the Art of Mobile Testing by Akshita Puram
Mastering the Art of Mobile Testing by Akshita PuramMastering the Art of Mobile Testing by Akshita Puram
Mastering the Art of Mobile Testing by Akshita Puram
 
Space Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfSpace Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdf
 
Diving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the TechnologiesDiving into the World of Test Automation The Approach and the Technologies
Diving into the World of Test Automation The Approach and the Technologies
 
The Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdfThe Complete Guide to API Development in 2022.pdf
The Complete Guide to API Development in 2022.pdf
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 201510 Useful Testing Tools for Open Source Projects @ TuxCon 2015
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
 
Top 11 api testing tools for 2022
Top 11 api testing tools for 2022Top 11 api testing tools for 2022
Top 11 api testing tools for 2022
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
 
Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...
Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...
Quality Jam 2017: Elise Carmichael and Corey Pyle "Jumpstarting Your Test Aut...
 
Test Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationTest Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_Presentation
 

Recently uploaded

Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

AI assisted testing using postman and openAI.pdf

  • 3. Upcoming Events @MinistryCork TestBash UK, Liverpool Wednesday, the 20th of September 2023, for two days. 3
  • 4. AI assisted testing using postman and OpenAI Sivaganesh Sivakumar 16-May-2023 Ministry of Testing Cork @sivaganesh_siva 4
  • 5. About me Sivaganesh Sivakumar Senior software test engineer India (originally), currently in Cork Experience: 13+ years in multiple industries Passionate about technology Enjoys food and movies First public speaking engagement @sivaganesh_siva 5 https://www.postman.com/aviation-meteorologist-80909569
  • 6. Overview By the end of the session, we will be able to • Understand the current state of AI and AI in software testing. • Learn the basics of OpenAI APIs and their potential in testing. • Develop a simple test use-case using postman and OpenAI APIs. • Discover interesting AI-assisted testing implementations. @sivaganesh_siva 6
  • 7. AI – Types Artificial Intelligence (AI), a term coined by Stanford Professor John McCarthy in 1955, was defined by him as “the science and engineering of making intelligent machines” Artificial Narrow Intelligence Artificial General Intelligence Artificial Super Intelligence Based on capabilities Based on functionalities Reactive machine Theory of mind Self-aware Limited memory @sivaganesh_siva 7
  • 8. Artificial Narrow Intelligence • Focusses on one narrow task • Targets a single subset of cognitive abilities and advances in that spectrum @sivaganesh_siva 8
  • 9. Artificial General Intelligence Autonomous system that surpasses human capabilities in the majority of economically valuable tasks @sivaganesh_siva 9
  • 10. Artificial Super Intelligence Skynet begins to learn at a geometric rate. An intellect that is much smarter than the best human brains in practically every field, including scientific creativity, general wisdom and social skills https://nickbostrom.com/superintelligence @sivaganesh_siva 10
  • 11. Generative AI https://github.blog/2023-04-07-what-developers-need-to-know-about-generative-ai/ Category of AI models and tools designed to create new content, such as text, images, videos, music, or code. @sivaganesh_siva 11 Text Generation - ChatGPT Image Generation – DALL-E2, Midjourney, Microsoft Designer Video Generation – Stable Diffusion Programming Code Generation – OpenAI Codex, PaLM 2 Data Generation - MostlyAI Language translation - Google Neural Machine Translation, ChatGPT, PaLM 2
  • 12. Generative AI - implementations • AlphaCode • Google DeepMind • Competitive programming • Amazon Codewhisperer • GitHub Copilot X • openAI Codex • ChatGPT • GPT4 • GPT3.5 • Tabnine Programming / Coding @sivaganesh_siva 12
  • 13. Generative AI - implementations Issue Tracking / Communication / Observability Atlassian Intelligence New Relic SlackGPT @sivaganesh_siva 13
  • 14. State of AI in software testing - Tools Unit tests Contract tests Integration/API tests UI • Majority of the AI assisted testing tools focus on UI/Visual validation and self healing features • All the AI features are built within the tools and need subscriptions @sivaganesh_siva 14
  • 15. Where else can AI help us ? We spend a lot of time outside of the core testing activities like test automation, execution, test planning etc. Automation test failure/report analysis Bug prioritization Monitoring and Observability Code reviews Complex test data generation Performance report analysis Documentation @sivaganesh_siva 15
  • 16. Where to get started ? OpenAI APIs • Pay-as-you-go pricing of the APIs • Ability to choose between multiple frameworks • python • node • curl • postman etc. • Freedom to explore with smaller experiments • Cons include complexity with prompts and don’t have any reference materials @sivaganesh_siva 16
  • 17. OpenAI APIs - models Offers multiple models which can be used for content generation, image generation, speech recognition etc GPT-4 : Improved natural language and code generation GPT-3.5: Advanced natural language and code generation DALL·E: Image generation and editing using natural language prompts Whisper: Audio-to-text conversion Embeddings: Text-to-numerical conversion Moderation: Fine-tuned model to detect sensitive/unsafe text GPT-3: Natural language understanding and generation Codex: Natural language to code translation @sivaganesh_siva 17
  • 18. OpenAI APIs – Usage fee 5$ Free API usage for the first month @sivaganesh_siva 18
  • 19. openAI APIs – Completions • Fundamental API which is extremely flexible and powerful • Given a prompt it returns a text completion as per the provided instructions POST https://api.openai.com/v1/completions POST https://api.openai.com/v1/chat/completions Supports multiple models. text-davinci-003/gpt-3.5- turbo Max tokens to limit the response text. Values between 0 to 2. 0 being more focused and deterministic and 2 being very random and creative @sivaganesh_siva 19
  • 20. Leveraging openAI using postman 1) Generate openAI API key 2) Fork openAI API collection in postman 3) Update the API key from step 1 in postman 4) Start working with the APIs Key steps to get started @sivaganesh_siva 20
  • 21. Leveraging openAI using postman LIVE DEMO @sivaganesh_siva 21
  • 22. Ideas to explore further API Fuzzing with OpenAI APIs and Traditional Fuzzing Engines Traditional fuzzing engines: - Examples: AFL, libFuzzer, honggfuzz - Generate test inputs using random mutations and code coverage monitoring - Effective for discovering vulnerabilities in software AI-driven fuzzing with OpenAI APIs: - Leverages natural language understanding and reasoning capabilities - Generates context-aware and complex test cases - Can target specific functionality and edge cases Benefits of a hybrid approach: - Combines the strengths of both traditional fuzzing engines and AI-based methods - Increases efficiency and likelihood of discovering vulnerabilities @sivaganesh_siva 22
  • 23. Ideas to explore further Leveraging OpenAI APIs for Test Automation result analysis Objectives - Summarize test automation reports - Analyse AWS CloudWatch logs to identify issues Benefits - Accelerate issue identification and resolution - Enhance team productivity through automated test result analysis @sivaganesh_siva 23