IDEAS home Printed from https://ideas.repec.org/a/das/njaigs/v3y2024i1p476-492id339.html
   My bibliography  Save this article

AI-Powered Contract Testing in Microservices: Leveraging OpenAPI, GraphQL, and LSTM-Based Predictive Analysis

Author

Listed:
  • Akhil Reddy Bairi
  • Prabhu Muthusamy
  • Praveen Kumar Dora Mallareddi

Abstract

The increasing adoption of microservices architecture necessitates robust testing strategies to ensure seamless integration and communication between services. AI-powered contract testing leverages advanced techniques such as OpenAPI, GraphQL, and Long Short-Term Memory (LSTM)-based predictive analysis to enhance service validation, detect contract violations, and improve test automation. This research explores how AI-driven approaches optimize contract testing by predicting potential integration failures, reducing manual efforts, and improving API reliability. The study highlights key advantages, including automated test generation, real-time anomaly detection, and adaptive testing based on historical API behavior. Furthermore, challenges such as handling evolving contracts, ensuring consistency, and mitigating false positives are discussed. The findings underscore the transformative role of AI in advancing contract testing for microservices, leading to more resilient and efficient software ecosystems.

Suggested Citation

  • Akhil Reddy Bairi & Prabhu Muthusamy & Praveen Kumar Dora Mallareddi, 2024. "AI-Powered Contract Testing in Microservices: Leveraging OpenAPI, GraphQL, and LSTM-Based Predictive Analysis," Journal of Artificial Intelligence General science (JAIGS) ISSN:3006-4023, Open Knowledge, vol. 3(1), pages 476-492.
  • Handle: RePEc:das:njaigs:v:3:y:2024:i:1:p:476-492:id:339
    as

    Download full text from publisher

    File URL: https://newjaigs.com/index.php/JAIGS/article/view/339
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:das:njaigs:v:3:y:2024:i:1:p:476-492:id:339. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Open Knowledge (email available below). General contact details of provider: https://newjaigs.com/index.php/JAIGS/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.