You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by aidy lewis <ai...@googlemail.com> on 2007/07/03 12:52:48 UTC

Transaction Error. Page has expired

Hi,

I have recorded some scripts with badboy and exported to JMeter. I can
log into the system OK, but when on my first major post I receive the
error: 'Transaction Error. Page has expired'. Think it has something
to do with session id's, but not sure.

Aidy

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Transaction Error. Page has expired

Posted by aidy lewis <ai...@googlemail.com>.
Hi,

I have taken the value out of the struts token

HTTP Request
Name	                                                 Value			
org.apache.struts.taglib.html.TOKEN				


However, I still receive a 'Transaction Error. Page Expired'

Any suggestions?

Thanks

Aidy

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Transaction Error. Page has expired

Posted by "Remmerswaal, Marcel" <ma...@logicacmg.com>.
the last option........ attemp to capture the token with regulare expression

________________________________

Van: aidy lewis [mailto:aidy.lewis@googlemail.com]
Verzonden: di 3-7-2007 13:22
Aan: JMeter Users List
Onderwerp: Re: Transaction Error. Page has expired



Hi,

The problem is with the struts token. Is it a good idea to delete
their values. Or should I attempt to capture and re-use the value?

Aidy

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org





This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Re: Transaction Error. Page has expired

Posted by sebb <se...@gmail.com>.
Depends on whether you are trying to emulate what a browser does or
give the server indigestion by serving up stale tokens ;-)

Seriously.

If you want to test how the server responds to normal (i.e. browser)
requests, then process the token as a browser would, which presumably
means it will only keep it as long as it is in the form. [I'm assuming
these tokens are not cookies].

If you want to check that the server really does reject stale or
invalid tokens, then keep them around and/or invent them and see what
happens.

Browsers maintain very little state between sessions:
* cookies (except session cookies)
* cached pages (perhaps)
so make sure JMeter does the same if you want to emulate what the browser does.

[Yes, I know JMeter does not cache pages yet. Treat it like a browser
with caching turned off.]

S.
On 03/07/07, aidy lewis <ai...@googlemail.com> wrote:
> Hi,
>
> The problem is with the struts token. Is it a good idea to delete
> their values. Or should I attempt to capture and re-use the value?
>
> Aidy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Transaction Error. Page has expired

Posted by aidy lewis <ai...@googlemail.com>.
Hi,

The problem is with the struts token. Is it a good idea to delete
their values. Or should I attempt to capture and re-use the value?

Aidy

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org