Hi,

You can extract view state information with the regular expresion extractor.

Like this:

Reference Name:    jsViewState
Regular Expression: <input type="hidden" name="com.sun.faces.VIEW" 
id="com.sun.faces.VIEW" value="(.+?)" />
Template: $1$
Match No: 0

This post processor extract the View created for your session and then you can 
call the reference name in other step.


Is that any help?

Thanks,

Jose




De: Bhagwan Sahai
Enviado el: Vie 22/08/2008 7:52
Para: 'JMeter Users List'
Asunto: regarding view state


Hi,
 
I am new to jmeter. I recorded a script using jmeter. My application maintains 
a view state for each login dynamically. How can extract view state information 
and use thet information into other steps? Please  do help me.
 
Warm Regards,
 
Bhagwan Sahai |Sr.QA.Engineer, Group of BPM Consulting|Pratham Software  (ISO 
9001-2000)
S-23, Krishna Marg, Shyam Nagar, Jaipur - 302019 [India] 
(T) +91 141 4060617 (F) +91 141 229 2599 (M) +91-9828395729  (W) www.thePSI.com
This email and any files transmitted with it are confidential and intended 
solely for the use of the addressee(s). If you have received this message in 
error, please notify the sender by reply email and delete the material from 
your computer. You should not copy or use this e-mail or attachments for any 
other purpose nor disclose their contents to any other person. Any views or 
opinions presented are solely those of the author and do not necessarily 
represent those of PSI.
 

#################################################################################################################
Este documento puede incluir información confidencial y propiedad de Neoris y 
deberá ser leído solamente por la 
o las personas a quienes está dirigido. Si usted ha recibido este mensaje por 
error, por favor avise 
inmediatamente al remitente contestando y eliminando este correo. Cualquier 
punto de vista u opiniones expresadas 
en este mensaje son del remitente y no necesariamente coinciden con aquellas de 
Neoris. Este documento no deberá 
ser reproducido, copiado, distribuido, publicado, ni modificado por terceros 
sin la autorización por escrito de Neoris. 

Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. 
#################################################################################################################

Reply via email to