Significance of API Testing
https://www.zyxware.com/sites/default/files/styles/user_image/public/default_images/index.png?itok=2YmREnrP
BY anoop.v
4 years ago
Software-Testing
0 comments comment

API is known as Application Programming Interface, it enables the exchange of data between two software systems.API testing is entirely different from GUI. GUI testing is working on Presentation layer (User interface) but the API testing is working on Business layer (Application user interface). Here testing would not concentrate on look and feel of the application.

In API testing, application send calls to the API and take the output as system response. To interact with API it needs a application, to drive the API.

  • Use testing tool.
  • Write own code.
Test cases
  • Check the output value based on the input condition.
  • Check the return value, If it does not return anything check the behaviour of the API.
  • Check the data structure, updating data structure will have some effect on the system.
API testing approach
  • Clearly define the scope of the program.
  • Testing methods like equivalence partitioning, boundary value analysis and error guessing are very essential for API testing.
  • Input of the API should be defined and planned appropriately.
Types of bugs
  • Fail to handle error condition.
  • Duplicate functionality.
  • Security issues.
  • Unused flags.
  • Performance issue.
  • Responsive data is not structured correctly.
  • warning to caller.

RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
close

on 30th May 2012 / by anju.r
A software bug is defined as an error or failure or fault in a system or computer program that produces an unexpected or incorrect result. This is applicable for any Drupal/non-Drupal website. The bug life cycle in a Drupal website consists of steps from identification to closure of a bug. Different stages of Bug Life Cycle are: Drupal Software Testing Leave a reply Your email address will not be published. Required fields are marked *
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.