GraphQL & SOAP Testing Flashcards
6 cards from real API practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 GraphQL & SOAP Testing flashcards as text
What is the primary HTTP method used to send GraphQL queries and mutations?
Answer: POST
GraphQL typically uses HTTP POST with a JSON body containing the query string, variables, and operation name.
What is a GraphQL 'schema' used for?
Answer: Describing all available types, queries, mutations, and subscriptions in the API
The GraphQL schema is the contract that defines every type, field, query, mutation, and subscription the API exposes.
What is the difference between a GraphQL 'query' and a 'mutation'?
Answer: Queries read data; mutations create, update, or delete data
In GraphQL, queries are read operations (analogous to REST GET) while mutations modify server-side data (analogous to REST POST/PUT/DELETE).
What does SOAP stand for in web services testing?
Answer: Simple Object Access Protocol
SOAP (Simple Object Access Protocol) is an XML-based messaging protocol used for structured communication between web services.
What format do SOAP API messages use for their payload?
Answer: XML
SOAP messages are always XML-formatted, wrapped in an Envelope element containing optional Header and mandatory Body elements.
Which tool is commonly used for testing SOAP web services?
Answer: SoapUI
SoapUI is the industry-standard tool for testing SOAP web services, supporting WSDL import, assertion-based testing, and security scanning.