Supertest API testing library
Supertest is a popular JavaScript library for testing HTTP APIs. It allows developers to send HTTP requests to their server-side code and assert that the response meets certain criteria.
Read articleSupertest is a popular JavaScript library for testing HTTP APIs. It allows developers to send HTTP requests to their server-side code and assert that the response meets certain criteria.
Read articleA follow-up to the original Tester's Toolbox, showcasing free tools and projects created by the author, including starter guides for Selenium and Rest Assured, a sample API, and a Pact contract testing example.
Read articleFocuses on security regression testing, explaining how to add automated tests for security bugs found in production using OWASP Juice Shop and Spring Rest Template, with examples for specific vulnerabilities.
Read articleEncourages testers to engage in continuous security, suggesting starting points like OWASP ZAP scans and demonstrating how to write simple API tests with Rest-Assured to verify security headers.
Read articleIntroduces WireMock for stubbing HTTP dependencies in isolated API testing, explaining Maven/JUnit setup and demonstrating how to define stubs for GET/POST requests matching URL, headers, and body, using Rest-Assured for client requests.
Read articleDemonstrates Rest-Assured integration tests using various free endpoints from jsontest.com, covering GET requests (IP, date, echo, cookie, headers) and POST requests (MD5 calculation, JSON validation).
Read articlePart 1 of Rest-Assured guide: Covers setup, BDD approach (given/when/then), basic GET tests against JSONPlaceholder, Hamcrest assertions, JSON schema validation, and PUT requests with automatic Java object to JSON conversion.
Read article