Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

125
Visualizações
Check if the API that I tested is working or not

I'm new to API world and just want to ask... To check whether an API is working or not, do I just have to do GET request on its baseUrl and make sure it gets status 200 (OK) or do I have to test all its endpoints and also make sure that all of them get status 200 (OK)?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It depends on what you mean by "working".

Testing just the base URL will tell you if it works in the sense that "You installed it, and started it, and the whole thing hasn't fallen over". (Assuming that the API isn't running of a bunch of microservices which might have individually failed).

Testing every endpoint, and making sure that the data returned is the data expected (so just looking for 200 OK is inadequate) will tell you if it works in the sense that "Everything is implemented correctly and the API does what it is supposed to do" (for a value of "correct" based on the quality of the tests).

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda