Environments: The environments are a great feature Postman provides you to set up specific configs for each environment you may have (e.g., local, development, test, etc.).Collections: Postman collections are a set of endpoints that have things in common and make sense to stick together.The two main sections you’ll be working with are: Right at the home page, click the Workspaces option and select My Workspace at the following screen. It’s a great way to separate your APIs from the ones of your workplace, for example. Each workspace corresponds to a set of configurations, collections, and endpoints specific to it. Once the command terminal prints the “ Application started” message, the app is up and running at Postman: First steps Then, cd into the \ReactASPNET\ReactASPCrud\ReactASPCrud folder, and run the following command: Make sure to clone the project to your machine. However, to demonstrate, I’ll stick to an API made with ASP.NET, the CRUD API I’ve developed before in another article: Creating ASP.NET Apps with React. The only requirement is that you have, at least, most of the HTTP verbs related to CRUD operations. Additionally, I’d advise you to create an account and stay logged in because that’ll allow Postman to keep your collections and tests synched.įor this article, you can use whatever API you’ve created or are working with. Although there’s a web version available, the Desktop version is faster. The first step includes Postman installation. You’ll also get to see some nice tips on discovering some hidden features of the tool that’ll facilitate your automation and increase productivity. In this article, you’re going to dive into the universe of documenting and testing your APIs with Postman. The possibility of sharing your test collections along with your team and working together on them is even better. Many developers don’t know the power that Postman can add to their daily lives in automating API tests. You probably have heard about Postman, the famous collaboration platform for API development and testing. This article covers documenting and testing APIs with Postman. Many teams also lack documentation of all sorts to guide new people on understanding and using the endpoints. There’s no question whether testing is important to the evolution of your APIs, especially when they come in an automated manner.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |