Many Thanks Seb, It's working fine now for me. -----Original Message----- From: sebb [mailto:seb...@gmail.com] Sent: 09 August 2010 14:33 To: JMeter Users List Subject: Re: Corelation
On 9 August 2010 14:23, Jain, Kapil <kapil.j...@logica.com> wrote: > Hi Deepak, > > I am getting large chunk of dynamic date for field SAMLRequest Value as follows and I have defined a parameter to correlate this value through Regular Expression Extractor as follows > <input type="hidden" name="SAMLRequest" value="(.*?)" /> > > But I am getting SAMLRequest=FALSE in debug sampler output. Is the default value FALSE? > I guess this dynamic value is large so extractor is not able to capture it. There are no size restrictions. > Could you please suggest me how to capture this value through Regular Expression Extractor. > > Please can anyone please respond to this and please suggest how to capture this dynamic value. > > <input type="hidden" name="SAMLRequest" value="PHNhbWxwOkF1dGhuUmVxdWVzdCB4bWxuczpkcz0iaHR0cDovL3d3dy53My5vcmcvM jAwMC8wOS94 > bWxkc2lnIyIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2Vy dGlv The value appears to include line-breaks. If this is the case, you will need to allow for these as per http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html#lin e_mode i.e. change the RE to (?s)<input type="hidden" name="SAMLRequest" value="(.*?)" /> Or better (?s)<input type="hidden" name="SAMLRequest" value="([^"]+)" /> <snip/> --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico. 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. --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org