Posts

Explain API testing with an example

Image
  API testing, or application programming interface testing, is a type of software testing that focuses on the testing of individual API methods and the interactions between different APIs. This type of testing is typically performed at the integration level, after unit testing is completed, and before user interface testing begins. It is used to validate that the API behaves correctly and that it meets the requirements of the system. API testing can be performed manually or using automated testing tools. Some common tasks that are performed during API testing include: ·          Testing the functionality of the API to ensure it behaves as expected ·          Verifying that the API returns the correct response for different input valuesChecking for error handling and validation of input Testing for security vulnerabilities ·          Checking for performa...

Difference between White and Black box tests

Image
BLACK BOX TESTING Also known as Behavioural Testing, Black box testing is a software testing technique where the application is tested without the knowledge of its internal code structure. The name only depicts that the software program is not perceived through the tester’s eyes. This type of testing commonly focuses on only the input and output of the software system.  Some of the errors tested by this method are –  Function errors Interfacing errors Database errors Performance errors Initialization errors   Black Box Testing Techniques  Information Gathering –  As the first step of every security assessment procedure, information gathering involves extracting knowledge about the application from outside sources by using Search Engine Discovery/ Reconnaissance and Web App Fingerprint.  Configuration and Deploy Management Testing –  Application Configuration management weakness are assessed in t...