Hi Create a Regex Extraction Post Processor , give it a name like inputTimeStamp In regex expression type something like name=['"]token['"]\s*?value=['"]([^'"]*) -->test with some online regex tester. (this one is case sensitive and order of name and value matters) In template type $1$ --> extract the match within the first parantheses and in match no enter 1 --> first match
rest should work. if it doesnt check whether the value was extracted correctly and whether its being sent in the right parameter regards deepak On Thu, Jul 16, 2009 at 11:07 PM, phanikishan <[email protected]> wrote: > > > > Deepak Shetty wrote: > > > > You have to use one of the Post Processors (e.g. Regex) to extract this > > token from the Servers response into a variable and post the data back to > > the server whenever its needed > > regards > > deepak > > > > Hey Deepak, > Thanks for the help, but the help feature in Jmeter is not as helpful as > you > are! :) > Please tell me how to use the regular expression extractor. > The following is the info I wish to extract (highlighted in bold) - <input > type = hidden name="token" value="2009-07-17 01:51:22.0">. > What I plan to do is send a http request, use the post-processor regular > expression extractor to get the value of the token, store it in a variable, > send another http request but with this time value would be the one stored > in the variable. Will it work? > Thanks a lot, > > Phani Kishan > > -- > View this message in context: > http://www.nabble.com/Modifying-data-while-filling-forms-and-basic-Jmeter-help-tp24371548p24529077.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

