AllRounder.ai
Chapters in this course

Enrol to start learning

Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.

Enrol free

11.5.1. Test Type

  • This section

    Practice test

    13 questions on this section. Wrong answers show you what to read again.

    Sign up to take it
  • Whole chapter

    Revision test

    Mixed questions from across the chapter. Your answers get marked.

    Sign up to take it
  • Quick

    Flashcard drill

    5 cards from this lesson. Good the night before a test.

Try these first

  1. 1.

    What does a status code of 404 indicate?

    Hint

    Think about what happens when you cannot access a webpage.

  2. 2.

    Why is it important to check response body values?

    Hint

    Consider the impact of incorrect data in an application.

  3. 3.

    What HTTP status code indicates a successful request?

    • 200
    • 404
    • 500
    Hint

    Think about how you feel when accessing a web page successfully.

  4. 4.

    True or False: Negative testing is essential to check how an API responds to valid inputs.

    • True
    • False
    Hint

    Consider the meaning of negative scenarios.

  5. 5.

    You have an API that allows users to register. Design a set of automated tests to check the following: successful registration, registration with a missing email, and registration with an already existing email.

    Hint

    Think about the types of inputs that are both valid and invalid for registrations.

  6. 6.

    An e-commerce API returns product details. Create a test that ensures the response includes a 'price' field and that it is of type number. What would you implement in Postman?

    Hint

    Remember to use the proper assertion syntax available in Postman.

Exercises

Total Questions

2

Estimated Time

4 min

Passing Score

70%

Instructions

  • Read each question carefully
  • You can use hints if you need help
  • Complete all questions before submitting

4 more questions available

Enrol free

Quiz

Total Questions

2

Estimated Time

4 min

Passing Score

70%

Instructions

  • Read each question carefully
  • You can use hints if you need help
  • Complete all questions before submitting

3 more questions available

Enrol free

Challenge Problems

Total Questions

2

Estimated Time

4 min

Passing Score

70%

Instructions

  • Read each question carefully
  • You can use hints if you need help
  • Complete all questions before submitting