Qodex.ai
Qodex.ai
IntroductionAsk Anything
Chai.js tutorial
Expect or Should
Continuous Quality with Postman
1. The Power of Libraries
Chai ☕️Faker 🥸Visualizer 📈
2. Using the Runner-Simple Linear Sequence-User
Create a user
2. Using the Runner-Simple Linear Sequence-Customer
Create a customerRetrieve customer
2. Using the Runner-Simple Linear Sequence-Movie
Create a movieGet movie
2. Using the Runner-Simple Linear Sequence-Inventory
Add item to inventoryCheck item in inventory
2. Using the Runner-Simple Linear Sequence-Rent a Movie
Create RentalConfirm rental is closedReturn Rental
2. Using the Runner-Non-Linear Execution
Initialize DataCheck IMDB link
2. Using the Runner-Iterating over a data file
Get movie
Five Ways to Automate API Testing with Postman
A few tips for writing tests
Postbot AI assistant
Using the Runner-Linear Execution
Verify the book existsCreate a new book
Using the Runner-Non-Linear Execution
Get current weather
Using the Runner-Iterating over a data file
Example request
Fuzz Testing with BLNS
Example request
Galaxy Testing and Automation
1. Get order reference2. Get product code3. Send order4. Get order5. Complete training
Intro to writing tests - with examples
Basic test syntax
pm.expect and pm.response
API tests
JSON schema v4 validationPerformanceData typeSQL injection security checkFunctional2
Integration tests-Using variables
Bitcoin exchange rateEcho the exchange rate
Integration tests-Scenario
Fetch a list of itemsCreate a new itemVerify new item existsAdd item to cartDelete item from cartVerify item removed
Integration tests-Service Consumer → Service Provider #contract-Setup
Create UserCreate Session
Integration tests-Service Consumer → Service Provider #contract-Tests
Protected Random Quote
Integration tests-Service Consumer → Service Provider #contract-Teardown
Delete userDelete session
Integration tests-Using mocks
Mocked endpointEcho the exchange rate
PayPal APIs
Authorization
Generate access_tokenTerminate access_tokenUser InfoGenerate client_token
Orders
Create orderConfirm Payment Source - 3DSShow order detailsUpdate orderAuthorize payment for orderCapture payment for order
Payments
Show details for authorized paymentReauthorize authorized paymentVoid authorized paymentCapture authorized paymentShow captured payment detailsRefund captured paymentShow refund details
Invoices-Invoices
Generate invoice numberCreate draft invoiceShow invoice detailsList invoicesGenerate QR codeFully update invoiceSend invoiceSend invoice reminderCancel sent invoiceDelete invoiceSearch for invoicesRecord payment for invoiceDelete external paymentRecord refund for invoiceDelete external refund
Invoices-Templates
List templatesCreate templateShow template detailsFully update templateDelete template
Subscriptions-Catalog Products
Create productList productsShow product detailsUpdate product
Subscriptions-Plans
Create planList plansShow plan detailsUpdate planDeactivate planActivate planUpdate pricing
Subscriptions-Subscriptions
Create subscriptionShow subscription detailsUpdate subscriptionRevise plan or quantity of subscriptionSuspend subscriptionActivate subscriptionCancel subscriptionCapture authorized payment on subscriptionList transactions for subscription
Payouts
Create batch payoutShow payout batch detailsShow payout item detailsCancel unclaimed payout item
Webhooks
List available eventsCreate webhookList webhooksShow webhook detailsList event notificationsList event subscriptions for webhookShow event notification detailsTrigger a sample eventVerify webhook signatureResend event notificationSimulate webhook eventUpdate webhookDelete webhook
Shipment Tracking
Add tracking information for multiple PayPal transactionsShow tracking informationUpdate or cancel tracking information for PayPal transaction
Transaction Search
List transactionsList all balances
Disputes
List disputesShow dispute detailsAccept claimAppeal disputeSettle disputeUpdate dispute statusMake offer to resolve disputeProvide evidenceAcknowledge returned itemProvide supporting information for disputeEscalate dispute to claimAccept offer to resolve disputeSend message about dispute to other partyDeny offer to resolve disputePartially update dispute
Onboarding (Limited Release)-Manage Accounts
Create managed accountSearch managed account through external idSearch managed account by Seller IdPartially updates information for a managed accountShows collection of registered wallet domainsUpload document by verification token
Payment Method Tokens-Vault Payment Source - Setup Tokens
Create a setup tokenRetrieve a setup token
Payment Method Tokens-Vault Payment Source - Payment token
Create payment tokenRetrieve a payment tokenDelete payment tokenList all payment tokens for customer
Postman: An Introduction for Testers
Library API Reference
booksbookadd bookupdate bookdelete book
New book workflow
add bookbooksupdate book
Contract Testing
JSON schema v4 validation
Reusing a Request
Reuse a test script (Alternate Method)
Review Postman Test Results
Practice 3 and 4
Snapshot testing using Postman
Snapshot test demo
Test script examples
Getting started with tests
Handling responses that don't parseUsing multiple assertions
Making assertions on the HTTP response
Testing response times
Common assertion examples
Asserting the current environmentAsserting a value typeAsserting array propertiesAsserting that an object is contained
Troubleshooting common test errors
Test not failingAssertion undefined error
More examples
Older style of writing Qodex tests (deprecated)
Testing Flow for Lite
Create User
User create
Positive-Customer
All customersCustomer createCustomer by ID
Positive-Movie
All moviesMovie createMovie by ID
Positive-Inventory
All inventoryInventory item createInventory item by ID
Positive-Rental
All current rentalsRental createCurrent rental by IDRental return
Negative-Misc Token Values-Customers-GET
Customers - Valid Token When Not Needed
Negative-Misc Token Values-Customers-POST
Customer - Create Customer - No Token
Negative-Misc Token Values-Customers-PUT
Customer - Update Customer - No Token
Negative-Misc Token Values-Customers-DELETE
Customer - Delete Customer - No Token
Negative-Misc Token Values-Movies-GET
Movies - Valid Token When Not Needed
Negative-Misc Token Values-Movies-POST
Movies - Create Movie - Invalid TokenMovies - Create Movie - No Token
Negative-Misc Token Values-Movies-PUT
Movies - Update Movie - No Token
Negative-Misc Token Values-Movies-DELETE
Movies - Delete Movie - No Token
Negative-Misc Token Values-Inventory-GET
Inventory - Valid Token When Not Needed
Negative-Misc Token Values-Inventory-POST
Inventory - Create Inventory - No Token
Negative-Misc Token Values-Inventory-DELETE
Inventory - Delete Inventory - No Token
Negative-Misc Token Values-Rental-GET
Rentals - Current - Valid Admin Token When Not NeededRentals - All - Valid Token When Not Needed
Negative-Misc Token Values-Rental-POST
Rentals - Rent - Create Rental - No TokenRentals - Return - Return Rental - No Token
Negative-Missing Body Fields
Customer - Create - Missing Body FieldsInventory - Create Item - Missing Body Field
Negative-Missing Params
Customer - Look Up - No IDMovie - Look Up - No ID
Negative-Duplicate Unique Fields
Create Duplicate Customer (Email)Create Duplicate User (Email)Create Duplicate Inventory (UPC)
Negative-Cleanup (Related Entities Still Exist)
Customer deleteInventory item deleteMovie delete
catURL
urlizeredirect allow
IntroductionAsk Anything
Chai.js tutorial
Expect or Should
Continuous Quality with Postman
1. The Power of Libraries
Chai ☕️Faker 🥸Visualizer 📈
2. Using the Runner-Simple Linear Sequence-User
Create a user
2. Using the Runner-Simple Linear Sequence-Customer
Create a customerRetrieve customer
2. Using the Runner-Simple Linear Sequence-Movie
Create a movieGet movie
2. Using the Runner-Simple Linear Sequence-Inventory
Add item to inventoryCheck item in inventory
2. Using the Runner-Simple Linear Sequence-Rent a Movie
Create RentalConfirm rental is closedReturn Rental
2. Using the Runner-Non-Linear Execution
Initialize DataCheck IMDB link
2. Using the Runner-Iterating over a data file
Get movie
Five Ways to Automate API Testing with Postman
A few tips for writing tests
Postbot AI assistant
Using the Runner-Linear Execution
Verify the book existsCreate a new book
Using the Runner-Non-Linear Execution
Get current weather
Using the Runner-Iterating over a data file
Example request
Fuzz Testing with BLNS
Example request
Galaxy Testing and Automation
1. Get order reference2. Get product code3. Send order4. Get order5. Complete training
Intro to writing tests - with examples
Basic test syntax
pm.expect and pm.response
API tests
JSON schema v4 validationPerformanceData typeSQL injection security checkFunctional2
Integration tests-Using variables
Bitcoin exchange rateEcho the exchange rate
Integration tests-Scenario
Fetch a list of itemsCreate a new itemVerify new item existsAdd item to cartDelete item from cartVerify item removed
Integration tests-Service Consumer → Service Provider #contract-Setup
Create UserCreate Session
Integration tests-Service Consumer → Service Provider #contract-Tests
Protected Random Quote
Integration tests-Service Consumer → Service Provider #contract-Teardown
Delete userDelete session
Integration tests-Using mocks
Mocked endpointEcho the exchange rate
PayPal APIs
Authorization
Generate access_tokenTerminate access_tokenUser InfoGenerate client_token
Orders
Create orderConfirm Payment Source - 3DSShow order detailsUpdate orderAuthorize payment for orderCapture payment for order
Payments
Show details for authorized paymentReauthorize authorized paymentVoid authorized paymentCapture authorized paymentShow captured payment detailsRefund captured paymentShow refund details
Invoices-Invoices
Generate invoice numberCreate draft invoiceShow invoice detailsList invoicesGenerate QR codeFully update invoiceSend invoiceSend invoice reminderCancel sent invoiceDelete invoiceSearch for invoicesRecord payment for invoiceDelete external paymentRecord refund for invoiceDelete external refund
Invoices-Templates
List templatesCreate templateShow template detailsFully update templateDelete template
Subscriptions-Catalog Products
Create productList productsShow product detailsUpdate product
Subscriptions-Plans
Create planList plansShow plan detailsUpdate planDeactivate planActivate planUpdate pricing
Subscriptions-Subscriptions
Create subscriptionShow subscription detailsUpdate subscriptionRevise plan or quantity of subscriptionSuspend subscriptionActivate subscriptionCancel subscriptionCapture authorized payment on subscriptionList transactions for subscription
Payouts
Create batch payoutShow payout batch detailsShow payout item detailsCancel unclaimed payout item
Webhooks
List available eventsCreate webhookList webhooksShow webhook detailsList event notificationsList event subscriptions for webhookShow event notification detailsTrigger a sample eventVerify webhook signatureResend event notificationSimulate webhook eventUpdate webhookDelete webhook
Shipment Tracking
Add tracking information for multiple PayPal transactionsShow tracking informationUpdate or cancel tracking information for PayPal transaction
Transaction Search
List transactionsList all balances
Disputes
List disputesShow dispute detailsAccept claimAppeal disputeSettle disputeUpdate dispute statusMake offer to resolve disputeProvide evidenceAcknowledge returned itemProvide supporting information for disputeEscalate dispute to claimAccept offer to resolve disputeSend message about dispute to other partyDeny offer to resolve disputePartially update dispute
Onboarding (Limited Release)-Manage Accounts
Create managed accountSearch managed account through external idSearch managed account by Seller IdPartially updates information for a managed accountShows collection of registered wallet domainsUpload document by verification token
Payment Method Tokens-Vault Payment Source - Setup Tokens
Create a setup tokenRetrieve a setup token
Payment Method Tokens-Vault Payment Source - Payment token
Create payment tokenRetrieve a payment tokenDelete payment tokenList all payment tokens for customer
Postman: An Introduction for Testers
Library API Reference
booksbookadd bookupdate bookdelete book
New book workflow
add bookbooksupdate book
Contract Testing
JSON schema v4 validation
Reusing a Request
Reuse a test script (Alternate Method)
Review Postman Test Results
Practice 3 and 4
Snapshot testing using Postman
Snapshot test demo
Test script examples
Getting started with tests
Handling responses that don't parseUsing multiple assertions
Making assertions on the HTTP response
Testing response times
Common assertion examples
Asserting the current environmentAsserting a value typeAsserting array propertiesAsserting that an object is contained
Troubleshooting common test errors
Test not failingAssertion undefined error
More examples
Older style of writing Qodex tests (deprecated)
Testing Flow for Lite
Create User
User create
Positive-Customer
All customersCustomer createCustomer by ID
Positive-Movie
All moviesMovie createMovie by ID
Positive-Inventory
All inventoryInventory item createInventory item by ID
Positive-Rental
All current rentalsRental createCurrent rental by IDRental return
Negative-Misc Token Values-Customers-GET
Customers - Valid Token When Not Needed
Negative-Misc Token Values-Customers-POST
Customer - Create Customer - No Token
Negative-Misc Token Values-Customers-PUT
Customer - Update Customer - No Token
Negative-Misc Token Values-Customers-DELETE
Customer - Delete Customer - No Token
Negative-Misc Token Values-Movies-GET
Movies - Valid Token When Not Needed
Negative-Misc Token Values-Movies-POST
Movies - Create Movie - Invalid TokenMovies - Create Movie - No Token
Negative-Misc Token Values-Movies-PUT
Movies - Update Movie - No Token
Negative-Misc Token Values-Movies-DELETE
Movies - Delete Movie - No Token
Negative-Misc Token Values-Inventory-GET
Inventory - Valid Token When Not Needed
Negative-Misc Token Values-Inventory-POST
Inventory - Create Inventory - No Token
Negative-Misc Token Values-Inventory-DELETE
Inventory - Delete Inventory - No Token
Negative-Misc Token Values-Rental-GET
Rentals - Current - Valid Admin Token When Not NeededRentals - All - Valid Token When Not Needed
Negative-Misc Token Values-Rental-POST
Rentals - Rent - Create Rental - No TokenRentals - Return - Return Rental - No Token
Negative-Missing Body Fields
Customer - Create - Missing Body FieldsInventory - Create Item - Missing Body Field
Negative-Missing Params
Customer - Look Up - No IDMovie - Look Up - No ID
Negative-Duplicate Unique Fields
Create Duplicate Customer (Email)Create Duplicate User (Email)Create Duplicate Inventory (UPC)
Negative-Cleanup (Related Entities Still Exist)
Customer deleteInventory item deleteMovie delete
catURL
urlizeredirect allow
HomeContinuous Quality with Postman2. Using the Runner-Non-Linear ExecutionCheck IMDB link

Check IMDB link

GET {{thisFilmUrl}}

Previous
Initialize Data
Next
2. Using the Runner-Iterating over a data file