Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
560 views

API Test is failing with message operation timed out "The operation has timed out"

Hi All,

I have created API test few months back earlier it was working fine but currently I am getting API test as failed.

 

Message as "The operation has timed out"

 

One more thing I see I am saving the response from .txt file.

 

The response xml file in folder and in the script have different headers

In Folder I am having 

   <?xml version="1.0" encoding="utf-8" ?>

 
In script log file I have
   
<?xml version="1.0" ?>

 

 

 

 

 

0 Likes
3 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi,

I can't find any clues from your attached files.

Could you please share with me your API test?

If not -> Is that possible to run your test on the other machine which has UFT installed?

If not ->Is that possible to restart your service?

 

Regards,

Angel

0 Likes
Highlighted
Regular Contributor.
Regular Contributor.

Hello there.

 

You said that it was working fine before. What changes did you implement in the script before this happens?

 

Also, can you show us a capture of the errors you have spotted so far when working this API test?

 

Thank you in advance.

0 Likes
Highlighted
Super Contributor.. Super Contributor..
Super Contributor..

Hello,

A good way you can start to check what is happening, if this is related to a corrupted component from UFT is verifying if the same issue is happening in several machines, also determining if the same issue is happening creating a new one from scratch.

After check the above and if the issue is not happening in several, I recommend you to repair UFT from Control Panel > Programs & features.

as per comments from other contributors, it would be nice to see something visual about the error you are facing.

Regards,

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.