# Apollo Integration Testing

**URL:** <https://community.apollographql.com/t/apollo-integration-testing/2206>\
**Category:** Server\
**Tags:** server\
**Created:** [December 10, 2021, 9:23pm UTC](https://community.apollographql.com/t/apollo-integration-testing/2206 "2021-12-10T21:23:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![javida1492](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@javida1492](https://community.apollographql.com/u/javida1492)\
**Post date:** [December 10, 2021, 9:23pm UTC](https://community.apollographql.com/t/apollo-integration-testing/2206/1 "2021-12-10T21:23:42Z")

</div>

I am looking into apollo integration testing and the only information there is is in this article ([Integration Testing - Apollo GraphQL Docs](https://www.apollographql.com/docs/apollo-server/testing/testing/#executeoperation)) but I am looking for some more in-depth or complete examples as this doesnt really provide any context on the API, what the mock is, the datasource, etc…

---

<div class="post-metadata">

**Author:** ![shanemyrick](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/shanemyrick/32/5474_2.png) [@shanemyrick](https://community.apollographql.com/u/shanemyrick)\
**Post date:** [January 31, 2025, 10:03pm UTC](https://community.apollographql.com/t/apollo-integration-testing/2206/2 "2025-01-31T22:03:15Z")

</div>

Hello,

Integration testing can mean many different things to different users. The good news is that GraphQL is just like any HTTP API and can be tested either end-to-end or with the different components of a GraphQL execution.

I reccomend you read other resources on doing integration testing in NodeJS and HTTP APIs, then with the knowelge linked in our post, you can know where to create a query in places when you need to execute a request, or how to override the context to mock a “service” or data source

[https://www.toptal.com/nodejs/nodejs-guide-integration-tests](https://www.toptal.com/nodejs/nodejs-guide-integration-tests)
