How to increase the API timeout


I am trying to send API request but I am getting response after 100 sec but timeout is set to 60 due to which test is getting failed , please let me know how to increase timeout .

The default timeout for API calls is 200 seconds - if the user wishes to change this, the process is as follows:

  1. Exit Eggplant Functional (EPF) and ensure it is shutdown.
  2. At the command prompt, navigate to the Eggplant installation directory (C:\Program Files\Eggplant).
  3. Run the following command:

defaults write Eggplant ConnectionTimeout 200

You should then be able to restart EPF and the default timeout will be 200 seconds.

1 Like

thanks Sudhakar it worked

1 Like