You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by wicky_boy <wi...@gmail.com> on 2009/02/12 12:30:43 UTC

Re: How to extract and send multiple dynamic checkbox parameters??

I need to be able to detect how many items there are in the response data
then POST the items as parameters at run time. 


sebb-2-2 wrote:
> 
> On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>>
>>  Hi All,
>>
>>  Jmeter newbie here.
>>
>>  On a user level in a .jsp page I have a list of items with same pattern.
>>  Each item has a check box. I can extract and then POST a checked single
>> item
>>  as a parameter in the next POST.
>>
>>  As the list in the test may have varied length I would like to be able
>> to
>>  dynamically extract from ALL items in the list and then POST ALL checked
>>  items as paramaters in the next POST.
>>
>>  Any help gratefully received.
> 
> I suggest you use the JMeter Proxy Recorder to record a sample test
> plan and then adjust that as needed.
> 
>>  Wicky_boy
>>
>>
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: How to extract and send multiple dynamic checkbox parameters??

Posted by wicky_boy <wi...@gmail.com>.
Ha ha. Yes you assume right. Must have had my mind on what was for lunch.
That and lazy cut and paste.


sebb-2-2 wrote:
> 
> On 18/02/2009, wicky_boy <wi...@gmail.com> wrote:
>>
>>  ummm yeah not sure if this is what you need but here it goes...
>>  ================================================
>>
>>  In the 'Send Parameters in Request' for 0: No item var names or
>>  correspondnig value.
>>
>>  In the 'Send Parameters in Request' for 1: Name = items_0001; Value =
>> 0001
>>
>>  In the 'Send Parameters in Request' for 2: Name = items_0001; Value =
>> 0001,
>>  Name = items_0001; Value = 0001
> 
> I assume that last line should be
> 
> Name = items_0002; Value = 0002
> 
>>  As POST data:
>>
>>  In the 'Send Parameters in Request' for 0: <null>
>>
>>  In the 'Send Parameters in Request' for 1: items_0001=0001
>>
>>  In the 'Send Parameters in Request' for 2:
>> items_0001=0001&items_0002=0002
>>
>>
> 
> What I actually meant was to provide samples of the HTML code for the
> samples.
> Can you provide it for 2 items?
> 
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > In that case, some code will almost certainly have to be written.
>>  >
>>  > Perhaps you can provide brief samples of 0, 1 and 2 items to see what
>>  > is involved.
>>  >
>>  > Send them to me privately if you prefer.
>>  >
>>  > On 14/02/2009, wicky_boy <wi...@gmail.com> wrote:
>>  >>
>>  >>  i hate to say it but the number of items can vary wildly so from 0
>> to
>>  >> 100+
>>  >>
>>  >>
>>  >>
>>  >>  sebb-2-2 wrote:
>>  >>  >
>>  >>  > That's not going to be easy.
>>  >>  >
>>  >>  > Is the number of items limited, or can it vary wildly?
>>  >>  >
>>  >>  > If it could only be (say) 3, 5 and 9, then it might be easier to
>> treat
>>  >>  > each case as a separate sample and code the test using the Switch
>>  >>  > Controller.
>>  >>  >
>>  >>  > Otherwise, I think it can only be done by writing code to do it.
>>  >>  >
>>  >>  > On 12/02/2009, wicky_boy <wi...@gmail.com> wrote:
>>  >>  >>
>>  >>  >>  I need to be able to detect how many items there are in the
>> response
>>  >>  >> data
>>  >>  >>  then POST the items as parameters at run time.
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >>  >>  sebb-2-2 wrote:
>>  >>  >>  >
>>  >>  >>  > On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>>  >>  >>  >>
>>  >>  >>  >>  Hi All,
>>  >>  >>  >>
>>  >>  >>  >>  Jmeter newbie here.
>>  >>  >>  >>
>>  >>  >>  >>  On a user level in a .jsp page I have a list of items with
>> same
>>  >>  >> pattern.
>>  >>  >>  >>  Each item has a check box. I can extract and then POST a
>> checked
>>  >>  >> single
>>  >>  >>  >> item
>>  >>  >>  >>  as a parameter in the next POST.
>>  >>  >>  >>
>>  >>  >>  >>  As the list in the test may have varied length I would like
>> to
>>  >> be
>>  >>  >> able
>>  >>  >>  >> to
>>  >>  >>  >>  dynamically extract from ALL items in the list and then POST
>> ALL
>>  >>  >> checked
>>  >>  >>  >>  items as paramaters in the next POST.
>>  >>  >>  >>
>>  >>  >>  >>  Any help gratefully received.
>>  >>  >>  >
>>  >>  >>  > I suggest you use the JMeter Proxy Recorder to record a sample
>>  >> test
>>  >>  >>  > plan and then adjust that as needed.
>>  >>  >>  >
>>  >>  >>  >>  Wicky_boy
>>  >>  >>  >>
>>  >>  >>  >>
>>  >>  >>  >>
>>  >>  >>  >>  --
>>  >>  >>  >>  View this message in context:
>>  >>  >>  >>
>>  >>  >>
>>  >>
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>>  >>  >>  >>  Sent from the JMeter - User mailing list archive at
>> Nabble.com.
>>  >>  >>  >>
>>  >>  >>  >
>>  >>  >>
>>  >>  >> >
>>  >> ---------------------------------------------------------------------
>>  >>  >>  > To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  >>  > For additional commands, e-mail:
>>  >> jmeter-user-help@jakarta.apache.org
>>  >>  >>  >
>>  >>  >>  >
>>  >>  >>  >
>>  >>  >>
>>  >>  >>  --
>>  >>  >>  View this message in context:
>>  >>  >>
>>  >>
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
>>  >>  >>
>>  >>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >>  >>
>> ---------------------------------------------------------------------
>>  >>  >>  To unsubscribe, e-mail:
>> jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  >>  For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>  >>  >>
>>  >>  >>
>>  >>  >
>>  >>  >
>> ---------------------------------------------------------------------
>>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  > For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>  >>  >
>>  >>  >
>>  >>  >
>>  >>
>>  >>  --
>>  >>
>>  >> View this message in context:
>>  >>
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22013487.html
>>  >>
>>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >> 
>> ---------------------------------------------------------------------
>>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>  --
>>
>> View this message in context:
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22076939.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22112452.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: How to extract and send multiple dynamic checkbox parameters??

Posted by sebb <se...@gmail.com>.
On 18/02/2009, wicky_boy <wi...@gmail.com> wrote:
>
>  ummm yeah not sure if this is what you need but here it goes...
>  ================================================
>
>  In the 'Send Parameters in Request' for 0: No item var names or
>  correspondnig value.
>
>  In the 'Send Parameters in Request' for 1: Name = items_0001; Value = 0001
>
>  In the 'Send Parameters in Request' for 2: Name = items_0001; Value = 0001,
>  Name = items_0001; Value = 0001

I assume that last line should be

Name = items_0002; Value = 0002

>  As POST data:
>
>  In the 'Send Parameters in Request' for 0: <null>
>
>  In the 'Send Parameters in Request' for 1: items_0001=0001
>
>  In the 'Send Parameters in Request' for 2: items_0001=0001&items_0002=0002
>
>

What I actually meant was to provide samples of the HTML code for the samples.
Can you provide it for 2 items?

>
>
>  sebb-2-2 wrote:
>  >
>  > In that case, some code will almost certainly have to be written.
>  >
>  > Perhaps you can provide brief samples of 0, 1 and 2 items to see what
>  > is involved.
>  >
>  > Send them to me privately if you prefer.
>  >
>  > On 14/02/2009, wicky_boy <wi...@gmail.com> wrote:
>  >>
>  >>  i hate to say it but the number of items can vary wildly so from 0 to
>  >> 100+
>  >>
>  >>
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>  > That's not going to be easy.
>  >>  >
>  >>  > Is the number of items limited, or can it vary wildly?
>  >>  >
>  >>  > If it could only be (say) 3, 5 and 9, then it might be easier to treat
>  >>  > each case as a separate sample and code the test using the Switch
>  >>  > Controller.
>  >>  >
>  >>  > Otherwise, I think it can only be done by writing code to do it.
>  >>  >
>  >>  > On 12/02/2009, wicky_boy <wi...@gmail.com> wrote:
>  >>  >>
>  >>  >>  I need to be able to detect how many items there are in the response
>  >>  >> data
>  >>  >>  then POST the items as parameters at run time.
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>  sebb-2-2 wrote:
>  >>  >>  >
>  >>  >>  > On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>  >>  >>  >>
>  >>  >>  >>  Hi All,
>  >>  >>  >>
>  >>  >>  >>  Jmeter newbie here.
>  >>  >>  >>
>  >>  >>  >>  On a user level in a .jsp page I have a list of items with same
>  >>  >> pattern.
>  >>  >>  >>  Each item has a check box. I can extract and then POST a checked
>  >>  >> single
>  >>  >>  >> item
>  >>  >>  >>  as a parameter in the next POST.
>  >>  >>  >>
>  >>  >>  >>  As the list in the test may have varied length I would like to
>  >> be
>  >>  >> able
>  >>  >>  >> to
>  >>  >>  >>  dynamically extract from ALL items in the list and then POST ALL
>  >>  >> checked
>  >>  >>  >>  items as paramaters in the next POST.
>  >>  >>  >>
>  >>  >>  >>  Any help gratefully received.
>  >>  >>  >
>  >>  >>  > I suggest you use the JMeter Proxy Recorder to record a sample
>  >> test
>  >>  >>  > plan and then adjust that as needed.
>  >>  >>  >
>  >>  >>  >>  Wicky_boy
>  >>  >>  >>
>  >>  >>  >>
>  >>  >>  >>
>  >>  >>  >>  --
>  >>  >>  >>  View this message in context:
>  >>  >>  >>
>  >>  >>
>  >> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>  >>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>  >>
>  >>  >>  >
>  >>  >>
>  >>  >> >
>  >> ---------------------------------------------------------------------
>  >>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  >>  > For additional commands, e-mail:
>  >> jmeter-user-help@jakarta.apache.org
>  >>  >>  >
>  >>  >>  >
>  >>  >>  >
>  >>  >>
>  >>  >>  --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
>  >>  >>
>  >>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >> ---------------------------------------------------------------------
>  >>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >>
>  >>  >>
>  >>  >
>  >>  > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>  --
>  >>
>  >> View this message in context:
>  >> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22013487.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22076939.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Re: How to extract and send multiple dynamic checkbox parameters??

Posted by wicky_boy <wi...@gmail.com>.
ummm yeah not sure if this is what you need but here it goes...
================================================

In the 'Send Parameters in Request' for 0: No item var names or
correspondnig value.

In the 'Send Parameters in Request' for 1: Name = items_0001; Value = 0001

In the 'Send Parameters in Request' for 2: Name = items_0001; Value = 0001,
Name = items_0001; Value = 0001

As POST data:

In the 'Send Parameters in Request' for 0: <null>

In the 'Send Parameters in Request' for 1: items_0001=0001

In the 'Send Parameters in Request' for 2: items_0001=0001&items_0002=0002




sebb-2-2 wrote:
> 
> In that case, some code will almost certainly have to be written.
> 
> Perhaps you can provide brief samples of 0, 1 and 2 items to see what
> is involved.
> 
> Send them to me privately if you prefer.
> 
> On 14/02/2009, wicky_boy <wi...@gmail.com> wrote:
>>
>>  i hate to say it but the number of items can vary wildly so from 0 to
>> 100+
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > That's not going to be easy.
>>  >
>>  > Is the number of items limited, or can it vary wildly?
>>  >
>>  > If it could only be (say) 3, 5 and 9, then it might be easier to treat
>>  > each case as a separate sample and code the test using the Switch
>>  > Controller.
>>  >
>>  > Otherwise, I think it can only be done by writing code to do it.
>>  >
>>  > On 12/02/2009, wicky_boy <wi...@gmail.com> wrote:
>>  >>
>>  >>  I need to be able to detect how many items there are in the response
>>  >> data
>>  >>  then POST the items as parameters at run time.
>>  >>
>>  >>
>>  >>
>>  >>  sebb-2-2 wrote:
>>  >>  >
>>  >>  > On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>>  >>  >>
>>  >>  >>  Hi All,
>>  >>  >>
>>  >>  >>  Jmeter newbie here.
>>  >>  >>
>>  >>  >>  On a user level in a .jsp page I have a list of items with same
>>  >> pattern.
>>  >>  >>  Each item has a check box. I can extract and then POST a checked
>>  >> single
>>  >>  >> item
>>  >>  >>  as a parameter in the next POST.
>>  >>  >>
>>  >>  >>  As the list in the test may have varied length I would like to
>> be
>>  >> able
>>  >>  >> to
>>  >>  >>  dynamically extract from ALL items in the list and then POST ALL
>>  >> checked
>>  >>  >>  items as paramaters in the next POST.
>>  >>  >>
>>  >>  >>  Any help gratefully received.
>>  >>  >
>>  >>  > I suggest you use the JMeter Proxy Recorder to record a sample
>> test
>>  >>  > plan and then adjust that as needed.
>>  >>  >
>>  >>  >>  Wicky_boy
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >>  >>  --
>>  >>  >>  View this message in context:
>>  >>  >>
>>  >>
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>  >>
>>  >>  >
>>  >>
>>  >> >
>> ---------------------------------------------------------------------
>>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  > For additional commands, e-mail:
>> jmeter-user-help@jakarta.apache.org
>>  >>  >
>>  >>  >
>>  >>  >
>>  >>
>>  >>  --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
>>  >>
>>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >>
>>  >>
>>  >> ---------------------------------------------------------------------
>>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >>
>>  >>
>>  >
>>  > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>  --
>>
>> View this message in context:
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22013487.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22076939.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: How to extract and send multiple dynamic checkbox parameters??

Posted by sebb <se...@gmail.com>.
In that case, some code will almost certainly have to be written.

Perhaps you can provide brief samples of 0, 1 and 2 items to see what
is involved.

Send them to me privately if you prefer.

On 14/02/2009, wicky_boy <wi...@gmail.com> wrote:
>
>  i hate to say it but the number of items can vary wildly so from 0 to 100+
>
>
>
>  sebb-2-2 wrote:
>  >
>  > That's not going to be easy.
>  >
>  > Is the number of items limited, or can it vary wildly?
>  >
>  > If it could only be (say) 3, 5 and 9, then it might be easier to treat
>  > each case as a separate sample and code the test using the Switch
>  > Controller.
>  >
>  > Otherwise, I think it can only be done by writing code to do it.
>  >
>  > On 12/02/2009, wicky_boy <wi...@gmail.com> wrote:
>  >>
>  >>  I need to be able to detect how many items there are in the response
>  >> data
>  >>  then POST the items as parameters at run time.
>  >>
>  >>
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>  > On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>  >>  >>
>  >>  >>  Hi All,
>  >>  >>
>  >>  >>  Jmeter newbie here.
>  >>  >>
>  >>  >>  On a user level in a .jsp page I have a list of items with same
>  >> pattern.
>  >>  >>  Each item has a check box. I can extract and then POST a checked
>  >> single
>  >>  >> item
>  >>  >>  as a parameter in the next POST.
>  >>  >>
>  >>  >>  As the list in the test may have varied length I would like to be
>  >> able
>  >>  >> to
>  >>  >>  dynamically extract from ALL items in the list and then POST ALL
>  >> checked
>  >>  >>  items as paramaters in the next POST.
>  >>  >>
>  >>  >>  Any help gratefully received.
>  >>  >
>  >>  > I suggest you use the JMeter Proxy Recorder to record a sample test
>  >>  > plan and then adjust that as needed.
>  >>  >
>  >>  >>  Wicky_boy
>  >>  >>
>  >>  >>
>  >>  >>
>  >>  >>  --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >
>  >>
>  >> > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>  --
>  >>  View this message in context:
>  >> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22013487.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Re: How to extract and send multiple dynamic checkbox parameters??

Posted by wicky_boy <wi...@gmail.com>.
i hate to say it but the number of items can vary wildly so from 0 to 100+


sebb-2-2 wrote:
> 
> That's not going to be easy.
> 
> Is the number of items limited, or can it vary wildly?
> 
> If it could only be (say) 3, 5 and 9, then it might be easier to treat
> each case as a separate sample and code the test using the Switch
> Controller.
> 
> Otherwise, I think it can only be done by writing code to do it.
> 
> On 12/02/2009, wicky_boy <wi...@gmail.com> wrote:
>>
>>  I need to be able to detect how many items there are in the response
>> data
>>  then POST the items as parameters at run time.
>>
>>
>>
>>  sebb-2-2 wrote:
>>  >
>>  > On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>>  >>
>>  >>  Hi All,
>>  >>
>>  >>  Jmeter newbie here.
>>  >>
>>  >>  On a user level in a .jsp page I have a list of items with same
>> pattern.
>>  >>  Each item has a check box. I can extract and then POST a checked
>> single
>>  >> item
>>  >>  as a parameter in the next POST.
>>  >>
>>  >>  As the list in the test may have varied length I would like to be
>> able
>>  >> to
>>  >>  dynamically extract from ALL items in the list and then POST ALL
>> checked
>>  >>  items as paramaters in the next POST.
>>  >>
>>  >>  Any help gratefully received.
>>  >
>>  > I suggest you use the JMeter Proxy Recorder to record a sample test
>>  > plan and then adjust that as needed.
>>  >
>>  >>  Wicky_boy
>>  >>
>>  >>
>>  >>
>>  >>  --
>>  >>  View this message in context:
>>  >>
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>  >>
>>  >
>>
>> > ---------------------------------------------------------------------
>>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>  >
>>  >
>>  >
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
>>
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>
>> ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p22013487.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Re: How to extract and send multiple dynamic checkbox parameters??

Posted by sebb <se...@gmail.com>.
That's not going to be easy.

Is the number of items limited, or can it vary wildly?

If it could only be (say) 3, 5 and 9, then it might be easier to treat
each case as a separate sample and code the test using the Switch
Controller.

Otherwise, I think it can only be done by writing code to do it.

On 12/02/2009, wicky_boy <wi...@gmail.com> wrote:
>
>  I need to be able to detect how many items there are in the response data
>  then POST the items as parameters at run time.
>
>
>
>  sebb-2-2 wrote:
>  >
>  > On 09/12/2008, wicky_boy <wi...@gmail.com> wrote:
>  >>
>  >>  Hi All,
>  >>
>  >>  Jmeter newbie here.
>  >>
>  >>  On a user level in a .jsp page I have a list of items with same pattern.
>  >>  Each item has a check box. I can extract and then POST a checked single
>  >> item
>  >>  as a parameter in the next POST.
>  >>
>  >>  As the list in the test may have varied length I would like to be able
>  >> to
>  >>  dynamically extract from ALL items in the list and then POST ALL checked
>  >>  items as paramaters in the next POST.
>  >>
>  >>  Any help gratefully received.
>  >
>  > I suggest you use the JMeter Proxy Recorder to record a sample test
>  > plan and then adjust that as needed.
>  >
>  >>  Wicky_boy
>  >>
>  >>
>  >>
>  >>  --
>  >>  View this message in context:
>  >> http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p20911576.html
>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >
>
> > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/How-to-extract-and-send-multiple-dynamic-checkbox-parameters---tp20911576p21974248.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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