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.

  • @[email protected]
    link
    fedilink
    English
    81 year ago

    I usually generate an API client in C#, and just use that. For example, and entire integration CRUD test for a user would just be something like:

    var user = TestClient.CreateUser(1234, "Bob");
    user.Id.ShouldBe(1234);
    user.Name.ShouldBe("Bob");
    
    var userThroughGet = TestClient.GetUser(1234);
    userThroughGet.ShouldNotBeNull();
    
    TestClient.EditUser(1234, "John");
    userThroughGet = TestClient.GetUser(1234);
    userThroughGet.Name.ShouldBe("John");
    
    TestClient.DeleteUser(1234);
    userThroughGet = TestClient.GetUser(1234);
    userThroughGet.ShouldBeNull();
    

    Trying to set up those kinda scenarios quickly with Postman was getting pretty tedious