RapidAPI Profile picture
Mar 8 14 tweets 2 min read
Everything you need to know about API Testing and its types.

A Thread 🧵👇🏻
API testing is performed to test whether a particular API meets pre-defined parameters or not.
API testing includes testing APIs in isolation to ascertain if they meet:

• Functionality
• Reliability
• Latency
• Performance
• Security and other essential parameters.
API testing commonly includes testing APIs with JSON or XML payload sent over HTTP, HTTPS, JMS, and MQ.

These are widely used data formats and networking/messaging protocols.
📌 Types of API Testing

API testing is not a process that is carried out right away.

It is divided into several categories.

API testing aims to check whether an API can work in isolation, with integration, and produce the desired results to edge cases.
1️⃣ Unit Testing

Testing the individual operations of the API by logically dividing them into units.

Unit testing helps to identify imperfections in the early stages.

It typically includes testing each part of the code separately.
2️⃣ Functional Testing

As the term suggests, Functional API Testing includes testing of all the functions in the codebase.

It often uses unit tests as the building blocks.
3️⃣ Load Testing

Load testing generally validates the functionality and performance of API under load.

Load testing ensures whether an API will work as expected if multiple users are accessing the API concurrently.
4️⃣ Runtime error detection

Runtime error detection can be performed manually or through automated testing.

This testing includes monitoring an API by actually running the API entirely.

It helps us to detect errors and exceptions and also prevent resource leaks.
5️⃣ Security Testing

As the term suggests, this testing handles all the security aspects of an API, including external threats, validation, access control, and data encryption.
6️⃣ Penetration testing

Penetration testing includes testing an API to find vulnerabilities in the system or codebase that attackers can exploit.

It also includes testing functions that could be misused and test security assets that could be bypassed.
7️⃣ Fuzz Testing

In this testing, we provide substantial random data as the input to test the reliability of an API.

This random data is known as fuzz.

Fuzz testing ensures the API functionality in the worst-case scenario.
API testing is an essential aspect of API development.

Thousands of developers will use your API in several applications.

Examining the reliability, functionality, security, resource leaks of an API is the most crucial thing to be considered at first.
With that being said, time to wrap up this thread.

Follow @Rapid_API for more excellent content.

We provide an acceptable way to find, connect, test, and sell your API. 😉

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with RapidAPI

RapidAPI Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @Rapid_API

Mar 10
There are four types of Web APIs:

- Public API
- Private API
- Partner API
- Composite API

Let's discuss them briefly. 🧵👇🏻
1️⃣ Public API

Public APIs are accessible to all developers with a low or moderate level of authentication and authorization.

For example, the Windows API of Microsoft is a public API.
Stability is an essential factor of any public API.

Any changes in the public API, let's say adding a new parameter, might break the applications that depend on that API.
Read 9 tweets
Mar 9
Everything you need to know about HTTP Requests.

A Thread 🧵👇🏻
Before jumping onto HTTP Requests, let's first discuss a bit about HTTP.

HTTP stands for HyperText Transfer Protocol.
HTTP is entirely based on the client-server model.

The client initiates the request then waits until it receives a response from the server.
Read 25 tweets
Mar 9
Top ten Sports APIs you can use in your next project.

A Thread 🧵👇🏻
1️⃣ API-BASKETBALL

Over 190 Basketball Leagues & Cups with Livescore, Odds, Bookmakers, Statistics.

🔗 RapidAPI.com/api-sports/api…
2️⃣ API-FOOTBALL

You will get access to over 870 football leagues and cups. You can get a live score as well if you use this API.

🔗 RapidAPI.com/api-sports/api…
Read 11 tweets
Mar 8
How to make an API call in Python?

A Thread 🧵👇🏻
In this thread, we are going to discuss how we can make an HTTP request in Python.
We are using the `requests` module.

It allows us to make HTTP requests. It is the most popular and easiest way in Python to send HTTP requests.
Read 13 tweets
Mar 7
Four possible ways to make an API call in JavaScript.

A Thread 🧵👇🏻
1️⃣ XMLHttpRequest

XMLHttpRequest is the oldest way to fetch data from API.

It's the only option available to make an API call before ES6. Let's take a quick look at it. 👇🏻
Here is the typical syntax to make a GET request using XMLHttpRequest. Make a GET request using XMLHttpRequest.
Read 14 tweets
Mar 7
Top five Voice Recognition APIs.

A Thread 🧵👇🏻
1️⃣ Text-to-Speech

Text-to-Speech (TTS) API allows conversion of textual content to speech more effortless than ever.

RapidAPI.com/voicerss/api/t…
2️⃣ SMS77io

SMS77io allows you to send SMS & text-to-speech messages, perform phone number lookups, and much more.

RapidAPI.com/sms77io-sms77i…
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(