Forum Discussion

Mahesh9100's avatar
Mahesh9100
Occasional Contributor
4 months ago

How to simulate an HTTP 504 Gateway Timeout error with ReadyAPI

Hi Team, 

I have to test a scenario where I need to verify that API returns a 504 error when there is a network error or timeout. 

Anyone who has done this kind of testing before or has any leads to test it with ReadyAPI? 

TIA 

Mahesh

  • nmrao's avatar
    nmrao
    Champion Level 3

    You can create a mock service to achieve the same.

    Please refer:

    https://smartbear.com/product/ready-api/api-virtualization/