Jmeter scripting and session state

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Jmeter scripting and session state

brad.lee

Hi

I am writing a JMeter script to test an application that uses Orbeon forms.
JMeter has recorded a number of requests that post an XML request to
/[our-context]/orbeon/xforms-server.  An example of the XML is as follows:

<!DOCTYPE xxforms:event-request [<!ENTITY nbsp "&#160;">]>
<xxforms:event-request xmlns:xxforms="http://orbeon.org/oxf/xml/xforms">    
<xxforms:static-state>session:3F57AA2D-6B23-252E-30C2-C4CDB7293F22</xxforms:static-state>
   
<xxforms:dynamic-state>session:D12E3E87-6CF9-2203-4672-D1FEDC151B68</xxforms:dynamic-state>
    <xxforms:action>     <xxforms:event name="DOMFocusIn"
source-control-id="xforms-element-52ยท1"></xxforms:event>     </xxforms:action>
</xxforms:event-request>

When this request is sent Orbeon forms responds with the error:
Unable to retrieve XForms engine state from session cache.

Is it possible to send a request that will return values for static state and
dynamic state that can be subsequently used in a request, so that this error
will not occur.

Thanks
Brad

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Jmeter scripting and session state

Alessandro Vernet
Administrator
Brad,

On Feb 16, 2009, at 12:53 AM, <[hidden email]> <[hidden email]>  
wrote:

> I am writing a JMeter script to test an application that uses  
> Orbeon forms.
> JMeter has recorded a number of requests that post an XML request to
> /[our-context]/orbeon/xforms-server.  An example of the XML is as  
> follows:

When using JMeter, your best bet is to set the state handling to  
client, this way all the information the server needs to process your  
request will be in the request itself. Processing might be a little  
less efficient, but usually close enough to the "real thing". See  
this page for the configuration (which you can do either globally or  
on a page-per-page basis):

http://www.orbeon.com/ops/doc/reference-xforms-2#state-handling- 
configuration

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws