Posts Tagged: server

10+ Tools To Mock HTTP Requests

Mocking HTTP requests is a vital part of any testing regiment. The ability to test a wide range of possible situations, realities and use cases is extremely important, and it presents a great opportunity to really future proof your API. What tool you use to implement this does matter – your tool should be able to mock common API interactions and HTTP request flows, and most importantly, it should be appropriate to your given code base and situation. Read more

What is CORS?

APIs are complex webs of interconnected applications, interfaces, frontends, and backends. Making sense of these systems is not always easy to do. When so much of the data coming into a system is from external sources that run the gamut from trusted to untrusted, known to unknown, the easiest way to classify that data is to classify it by the source origin – that is, to not talk about the nature of the data, but rather the nature of that which sent the data. Read more

How to Use Mock Servers for Agile Development

One of the biggest challenges in agile development is enabling dependent teams to work independently. For instance, how do you keep your quality assurance teams busy while the backend is still being built?

Joyce Lin, a Developer Advocate at Postman, says that mock servers can help. Read more

How to Mock Web Services During Development

Development does not occur in isolation – it is an active, interconnected process. Because of this, one of the most important things a developer can incorporate into their development lifecycle is testing. Testing each stage of code development and deployment can ensure that services perform as expected, and have a high-quality user experience. Read more

REST vs Streaming APIs: How They Differ

REST vs SOAP. REST vs GraphQL. JSON vs XML. There are many dichotomies in the world of API design. It seems for each architectural choice there exists an opposite solution purpose-built for a specific application. We can see this in issues like statelessness and statefulness, as well as functional choices such as SOAP and REST. Read more