Zeszyt1 Flashcards

1
Q

What is the API Client feature in Postman?

A

It allows you to quickly and easily send REST, SOAP, and GraphQL requests directly within Postman.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does the Automated Testing feature in Postman do?

A

It automates manual tests and integrates them into your CI/CD pipeline to ensure that code changes don’t break the API in production.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Design & Mock feature in Postman?

A

It lets you communicate the expected behavior of an API by simulating endpoints and their responses without setting up a backend server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does the Documentation feature in Postman help developers?

A

It generates and publishes beautiful, machine-readable documentation to make your API easier to consume.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Monitors feature in Postman used for?

A

It helps you stay up-to-date on the health of your API by checking performance and response times at scheduled intervals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Workspaces feature in Postman?

A

It provides a shared context for building and consuming APIs, and it allows teams to collaborate in real-time with built-in version control.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is CURL?

A

CURL (Client URL) to narzędzie wiersza poleceń używane do przesyłania danych za pomocą różnych protokołów. Jest powszechnie używane do pobierania lub wysyłania danych z serwera, obsługując protokoły takie jak HTTP, HTTPS, FTP, FTPS, SCP, SFTP, LDAP, LDAPS, DICT, FILE, i wiele innych.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Postman?

A

Postman is a collaboration platform for API development that helps you design, share, build, test, and document APIs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Is Postman just an API testing tool?

A

No, Postman is not just an API testing tool; it is a complete collaboration platform for API development.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What protocols does Postman support?

A

Postman supports REST, SOAP, and GraphQL protocols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some features of Postman?

A

Postman features include API Client, Automated Testing, Design & Mock, Documentation, Monitors, and Workspaces.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Why use Postman: Clean and Easy to use UI?

A

Postman has a clean and easy-to-use user interface, making it simple for developers to interact with APIs efficiently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why use Postman: Exploratory Testing of APIs?

A

You can perform exploratory testing of APIs, which helps in understanding and experimenting with API behavior.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why use Postman: Dynamic Requests, Data, and Collections Support?

A

Postman supports dynamic requests, data handling, and collections, making API testing more flexible and organized.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why use Postman: Team Workspace, Sharing, Mocking, and Monitoring of APIs?

A

It provides features for team collaboration, sharing API collections, mocking API responses, and monitoring APIs for performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why use Postman: Writing Test Cases for CI/CD?

A

You can write test cases and integrate them into your CI/CD pipeline using tools like Newman, automating API testing in deployments.

17
Q

Why use Postman: Importing from CURL and Sharing Options?

A

Postman allows importing from CURL and offers multiple ways to share and explore APIs, such as sharing links and using its import features.

18
Q

When to use Postman: Few API Requests

A

Use Postman when you have only a few API requests to manage.

19
Q

When to use Postman: Avoid Managing as Code

A

Use Postman if you prefer not to manage API requests as code.

20
Q

When to use Postman: Team Not Well Versed with Code

A

Use Postman if your team is not very familiar or well-versed with code.

21
Q

When to use Postman: Cover API Testing with a Small Collection

A

Use Postman when you want to cover API testing for a small collection of requests.

22
Q

What are the drawbacks of Postman: Large Number of API Requests

A

Postman is not suitable for projects with a large number (1000+) of API requests.

23
Q

What are the drawbacks of Postman: Managing Large Projects

A

For large projects, it becomes clumsy and difficult to manage Postman requests or collections.

24
Q

What are the drawbacks of Postman: Code Management

A

Postman is not suitable if you want to manage APIs as code, as there can be a lot of duplicate code if multiple APIs or dynamic requests are required.

25
Q

What does API stand for?

A

API stands for Application Programming Interface.

26
Q

What is an API?

A

An API is a collection of functions and procedures that allow two applications or libraries to communicate with each other.

27
Q

How does an API function in a system?

A

An API acts as an intermediary that facilitates communication between a frontend (like a user interface) and a backend (like a database).

28
Q

Can you give a simple analogy for an API?

A

Yes, think of an API as a waiter in a restaurant: the client (user) tells the waiter what they want, and the waiter (API) communicates the request to the chef (server), who prepares the food and gives it back to the waiter to serve to the client.