Re: How to use Dynamic ID ?

2012-06-27 Thread venkatakurathi
you have given wrong regular expression

simple example i will give

assume the that response i am getting is...

Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the License); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at


...here i need to capture version number...then regular expression go like
this



Reference Name : dynamicid 
Regular Expression:  Version (.+?) (the License);
Template: $1$ 
Match No: 1 
Default Value: null 


this will give dynamicid=2.0

i will use it wherevr i need in the subsequent requests using ${dynamicid}

using debug sampler will give you how many instances that regular expression
works...what are all the values it is getting with that expression...


so give me the response where application is sending this dynamic id ...






-
Venkat Akurathi
91-9703186688
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/How-to-use-Dynamic-ID-tp5713702p5713741.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: How to use Dynamic ID ?

2012-06-27 Thread venkatakurathi
yes.use the correct regular expression provided by prabhu.it will definitely
work.
before to that use the regex tester to verify.

before rerunning add debug sampler in your testplan...
once you see the debug sampler response u will come to know a lot more about
the issue.



-
Venkat Akurathi
91-9703186688
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/How-to-use-Dynamic-ID-tp5713702p5713748.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org



Re: How to use Dynamic ID ?

2012-06-25 Thread ZK
Hi,
you need to use the '
http://jmeter.apache.org/usermanual/component_reference.html#Regular_Expression_Extractor
Regular Expression Extractor ' to 'grab' the dynamic ID for use later on in
your test



ZK

--
View this message in context: 
http://jmeter.512774.n5.nabble.com/How-to-use-Dynamic-ID-tp5713702p5713703.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org