Hi everyone! I’m a newly graduated software tester, and I’m currently learning how to test APIs.
The thing is that the company has only developed the API and does not have a product manager or any senior to brief me on what should be done. I do not know exactly where to start and what to test. They just told me to find whatever bugs there are and report them. It is an AI driven tool, still incomplete and in the making.
Anything would be helpful at the moment. Thank you
HI @ilmi,
Welcome to Ministry of Testing.
It sounds like quite the challenge you have there. Yet perhaps an exciting opportunity to dive deep into API testing to hone your skills.
You might be interested in this collection. Lots of good stuff from the community:
And the following courses:
Good luck and we’ll see you around the community.
Simon
Hi there @ilmi!
What would you test if instead of API you had an app (let’s say a web app) that uses the given API to get, update, change, display, etc info for users?
I would suggest starting with the API Documentation might be beneficial, there must be some kind of documentation from the developer side in which the sample request and response might be present. If there are such documents available then it will be really helpful else you have to coordinate with PM, go through Figma and requirements, and decide the expected result of the API.
If you are looking to execute API’s manually on tools like Postman or Swagger, it won’t be very difficult as you have to send a request and observe the response, and in response you have to verify data.
If you are looking for automation-based API testing then it will be a bit difficult as you may have to create a framework from scratch.
Also, there are a few terms that you must be familiar with before starting API testing - like API Error code, Authentication, Authorization, Tokens, Header, path params, query params, etc.
Some of the resources of MOT are already shared above, in case you are looking for additional resources then you may refer to YouTube or Udemy, there are a lot of free or paid resources for the beginner level.
Keep in mind that an API is, similar to a GUI, an entry point to a complex system.
You don’t just send and receive data, but also (can) trigger longer running processes. Business logic on the server.
E.g. at a calculator making “1+2=3” can be done by 4 POST calls (1,+,2,=). While the first 3 should work on their own (return code, error handling, etc.), its very important to explore what happens when you try the 4. (=). Which should normally trigger the calculation and returns 3 as result (either in the response or with a GET request). Try to think about potential problems here.
Congratulations on your Graduation and welcome friend. Great question! Have you had a kick off or handover from the developers/engineers?
I’m curious, what have you graduated in? How long took the education?
Thank you Simon, great to be here .
Appreciate the link, I will check them.
I’d want to test that the app works well with the API, handles user interactions smoothly, displays the right info, and stays secure. I’d also need to check how it performs under different conditions, works across different browsers and devices, and ensure there aren’t any issues after updates?
Thank you very much for the details, appreciate it!
Thank you very much. Unfortunately I have not gotten any form of handover from the devs.
Got it, that’s a good way to think about it. It’s not just about testing each request but also making sure they work well together. t’s all about making sure the steps make sense together. Thanks
Well I finished specifically for Software testing. Had 2 year intensive academic lecturing, was able to attend a couple of Manual and Automation hackathons which helped a lot.
Then do the same with API but instead of using and checking Client-side UI (mobile/desktop/web app) use Postman, Curl, etc as a client and you don’t need to test UI, you only need to test requests/responses, data (probably in JSON format), headers, response codes, etc. You would test all that if you have a complete product (an app), but now the scope is smaller because you don’t need to test the user interface. As you’re a newly graduated software tester, I assume you generally know how to test software. You’re asking about the testing approach so basically, it is the same as usual. API provides some features for users, it’s a source of data, and each endpoint has a particular purpose - it’s a feature or part of a feature so test that they don’t have any bugs and they work as expected. You can easily determine the importance of almost every endpoint (groups of endpoints) in the future system if you understand what your team is trying to build.
PrimeQA Solutions can provide significant support to you in your API testing journey, especially in a situation where there is limited guidance and the API is AI-driven and still under development. Here’s how PrimeQA Solutions can assist:
- Comprehensive API Testing Services: PrimeQA specializes in API testing and can guide you on the best practices. They can help you develop a robust API testing strategy, ensuring that even without a product manager, you know what areas to focus on.
- Test Automation: PrimeQA’s expertise in Automation Testing can help you build automated API tests, which will save time and allow you to test more efficiently. This is especially useful for repetitive tasks like regression testing as the API evolves.
- Structured Approach to Bug Discovery: Since your company has not defined specific testing goals, PrimeQA can provide a structured framework to help you systematically find bugs. This can include testing for functionality, security, performance, and edge cases, even in incomplete AI-driven systems.
- AI Tool Testing Expertise: Given that your API is AI-driven, PrimeQA’s experience in AI testing (e.g., IoT, Blockchain, Crypto) can help you understand how to handle AI-specific challenges, such as testing for learning patterns, model accuracy, or handling unpredictable user inputs.
- Mentorship and Best Practices: If you are new to API testing, PrimeQA can offer mentorship and share best practices to ensure you know where to start and what tools and methodologies to use. Their experience in managing diverse testing projects can provide the right direction.
- Tailored Solutions: PrimeQA can tailor their services to your specific needs, helping you test an API that is still under development. They can suggest how to document issues, create test plans, and ensure you’re prepared to adapt as the API evolves.
PrimeQA Solutions can give you the confidence to tackle API testing, even without much senior guidance, ensuring that you deliver a well-tested, reliable product.