I would like to hear if any of you are using different app for API testing than Postman.
I’m not telling that Postman is bad, but maybe there’s all that I should check out. Recently I tried RapidApi and even tho the app is kinda cool I missed few options and went back to Postman for now.
Given that you have Rider, if you name a file
foo.http
it will give you an API testing tool. You can set up multiple environments (selectable in a drop down).There are a bunch of examples on the right hand side. Note the
Requests with Tests
option which also allows you to run the entire collection.And you can run some JavaScript and inject values into the client.global which would allow you to then do the desired configuration (look at
Requests with Authorization
there).… and lastly, since this is a file that’s part of your Rider project, you can check it in and share it along with the rest of the code for the project.
https://www.jetbrains.com/help/rider/Http_client_in__product__code_editor.html
https://www.jetbrains.com/help/rider/Exploring_HTTP_Syntax.html