Ask a Question

The requested resource is in use

smaillou
Occasional Contributor

The requested resource is in use

Hi,

 

When I navigate to a page, sometimes I receive this message "The requested resource is in use".

 

What does it mean?

And How can I manage this error? 

 

This does not look like it is affecting the test.

 

Thanks

 

Stéphane.

4 REPLIES 4
tristaanogre
Esteemed Contributor

Is that a message generated by TestComplete or by your application under test?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
smaillou
Occasional Contributor

This is generated in tescomplete in the log 

tristaanogre
Esteemed Contributor

Can you share the code that you are executing that is generating that message?


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
smaillou
Occasional Contributor

Hi

basically I loop multiple time through a login on a web page to test performance and stability of the code that I have written. I had so much stability issue with the test pc because of the 2 explorer 32 and 64 bit.

Right now I am not at work. (Working from home)  And the problem is not reproduced on this laptop. Only on the test machine had this issue.

It could happen once out of 30. Sometime not. So... I am trying to understand how to make stable code. And right now that is the only stick in the wheel of  the machine! 😉

I am getting there! 🙂

 

def t():
IP = "10.37.85.12" Log.Message("iCAdminLogin to " + IP) #Login.navigateToPage(IP) Browsers.Item[btIExplorer].Navigate("http://" + IP + "/",10000) propStr = ["Visible", "VisibleOnScreen", "URL"] valueStr = [True, True, "http://" + IP + "/"] #Find Current page while not Sys.Browser("iexplore").Find(propStr, valueStr,60,True).Exists: Log.Warning("Login Page was not ready") aqUtils.Delay(100) Login.clickLogin() Login.setLoginUserName() Login.setLoginPassword() #Verify if login is a success result = Login.verifyLoginStatus() #Logout propStr = ["namePropStr", "Visible", "VisibleOnScreen", "ObjectType"] valueStr = ["logout.jsp", True, True, "Link"] adminPageLogoutObj = Sys.Browser("iexplore").Find(propStr, valueStr,60,True) adminPageLogoutObj.Click() Log.Message("Login result: " + str(result)) return result def t2(): while True: t()
cancel
Showing results for 
Search instead for 
Did you mean: