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="PHNhbWxwOkF1dGhuUmVxdWVzdCB4bWxuczpkcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94 > bWxkc2lnIyIgeG1sbnM6c2FtbD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlv 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#line_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