• Author
    Posts
  • #12463
    @paul-madden

    How does a tester start testing an API? Assuming there is no GUI, how do you approach it?

    #12481
    @bigyellow

    I test many in-house API which are not well documented. Talk to developer, this is the only way. Then use Unit test framework, or some tools to implement the test, and try to automated the test.

    #14504
    @jarilaakso

    Maaret Pyhäjärvi wrote about her experiences quite well here https://dojo.ministryoftesting.com/lessons/exploratory-testing-an-api.

    #14694
    @groza-alin88

    Hi Paul,

    If a tester has to make short / basic validations for calls or to perform exploratory testing, then the REST clients as browser add-ons are a good solution. It is also a good approach for those who are new to API testing.

    For a framework with test suites and a CI integration system you have to use specific tools like SoapUI or unit test frameworks (e.g. jUnit for Java).

    To know what to test, you have to read the documentation, understand the workflows and automate the tests. If there is no documentation, you must talk to developers or architect to decide what and how to test the application.

    Regards,
    Alin

    #17260
    @archana

    Maaret Pyhäjärvi wrote about her experiences quite well here https://dojo.ministryoftesting.com/lessons/exploratory-testing-an-api.  Like1

    Very nice article. Thanks for sharing

    #17319
    @tassaweramin

    @groza-alin88 gave a very useful insight how to approach an API testing.
    Hope @paul-madden it will help you going forward.

    #17365
    @emmablisa

    <b style=”color: #222222; font-family: arial, sans-serif;”>API testing</b><span style=”color: #222222; font-family: arial, sans-serif;”> is a type of software </span><b style=”color: #222222; font-family: arial, sans-serif;”>testing</b><span style=”color: #222222; font-family: arial, sans-serif;”> that involves </span><b style=”color: #222222; font-family: arial, sans-serif;”>testing</b><span style=”color: #222222; font-family: arial, sans-serif;”> application programming interfaces (</span><b style=”color: #222222; font-family: arial, sans-serif;”>APIs</b><span style=”color: #222222; font-family: arial, sans-serif;”>) directly and as part of integration </span><b style=”color: #222222; font-family: arial, sans-serif;”>testing</b><span style=”color: #222222; font-family: arial, sans-serif;”> to determine if they meet expectations for functionality, reliability, performance, and security. Since </span><b style=”color: #222222; font-family: arial, sans-serif;”>APIs</b><span style=”color: #222222; font-family: arial, sans-serif;”> lack a GUI, </span><b style=”color: #222222; font-family: arial, sans-serif;”>API testing</b><span style=”color: #222222; font-family: arial, sans-serif;”> is performed at the message layer.</span>

    #17366
    @tassaweramin

    @emmablisa please avoid pasting your text from office documents into the content field.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.