Hi

I am struggling to understand why I get the following error message when
replaying the LoadRunner script below.  Basically, to make absolutely sure I
am on the correct page I have clicked a menu option twice to ensure that I
am on the Update Customer Page, then click on an Editable Grid to modify a
field and get the error message below saying that I am trying to access the
field component (correct) on a page that I accessed two "clicks" ago (the
Remove Customer Page) (incorrect).  By looking at the script (and trying it
separately in a browser), I would have thought that page id=8 should be the
Update Customer page, not the Remove Customer page as per the error message.

Does this have anything to do with the Hidden Input that gets added to form
submits?  But if so, why the "incorrect" error message, and why do some
parts of the script (which include form submits) work and others do not?

[7/22/08 8:55:27:732 CAT] 00000022 RequestCycle  E
org.apache.wicket.RequestCycle logRuntimeException component
form:grid:form:bodyContainer:body:row:1 not found on page
wicket.referenceapplication.processes.customer.RemoveCustomerPage[id = 8],
listener interface = [RequestListenerInterface
name=IActivePageBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
                                 org.apache.wicket.WicketRuntimeException:
component form:grid:form:bodyContainer:body:row:1 not found on page
wicket.referenceapplication.processes.customer.RemoveCustomerPage[id = 8],
listener interface = [RequestListenerInterface
name=IActivePageBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]

Extract of script (abbreviated)
// Post to Remove Customer Page (removed for brevity)

// Click on menu option to navigate to Update Customer Page
        web_url("Update Customer Page", 
        
"URL=http://localhost:9080/ReferenceApplication/app/?wicket:interface=:6:topMenu:menuOptions:9:menuOptionURLForText:1:ILinkListener::";,
 
                "Resource=0", 
                "RecContentType=text/html", 
        
"Referer=http://localhost:9080/ReferenceApplication/app/?wicket:interface=:6:1:::";,
 
                LAST);

// Click on menu option to navigate to Update Customer Page Again (ensure
referer is also Update Customer Page
        web_url("Update Customer Page_2", 
        
"URL=http://10.4.36.119:9080/ReferenceApplication/app/?wicket:interface=:7:topMenu:menuOptions:4:menuOptionURLForText::ILinkListener::";,
 
                "Resource=0", 
                "RecContentType=text/html", 
        
"Referer=http://10.4.36.119:9080/ReferenceApplication/app/?wicket:interface=:7::::";,
 
                LAST);

// Now try to update field on Editable Grid on Update Customer Page
        web_submit_data("app_12", 
        
"Action=http://10.4.36.119:9080/ReferenceApplication/app/?wicket:interface=:8:form:grid:form:bodyContainer:body:row:1::IActivePageBehaviorListener:1:&wicket:ignoreIfNotActive=true&column=name&random=0.8352264770560701";,
 
                "Method=POST", 
                "RecContentType=text/xml", 
        
"Referer=http://10.4.36.119:9080/ReferenceApplication/app/?wicket:interface=:8::::";,
 
                ITEMDATA, 
                "Name=id97_hf_0", "Value=", ENDITEM, 
                LAST);

Any ideas?

Many thanks
Mike
-- 
View this message in context: 
http://www.nabble.com/Load-Testing---Script-Playback-Error-tp18583882p18583882.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to