You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ElSe <el...@mail.ru> on 2008/08/11 09:18:19 UTC

how to test multiple submits on the form

Hi, all!

I have a question regarding the load testing of the Wicket application.

I have used this article
http://cwiki.apache.org/WICKET/multiple-submit-buttons.html to create the
form in my application. All works well. But now I have to organize load
testing of my application.

I have read this article -
http://cwiki.apache.org/WICKET/wicket-and-jmeter-with-regular-expressions.html 
began to write test plan and suddenly met the problem: I can't write regular
expression to submit form to the server. It is  easy when there is one
submit button but what should I do if there are several of them? I don't
know how to "press" one definite button.

I think that the problem comes to following: I don't understand how Wicket
does determine what button was pressed. When any submit button is pressed
the url seems to be the same - something like this:
http://<host>/<applpath>/?wicket:interface=:1:<formName>::IFormSubmitListener::. 

May be I'm wrong and didn't notice some important detail?

Could anybody clear this situation for me?

Best regards,
Elena.
-- 
View this message in context: http://www.nabble.com/how-to-test-multiple-submits-on-the-form-tp18921170p18921170.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: how to test multiple submits on the form

Posted by Igor Vaynberg <ig...@gmail.com>.
add button's name attribute to the post params

iirc buttonname.x=2&buttonname.y=2 will do

-igor

On Mon, Aug 11, 2008 at 12:18 AM, ElSe <el...@mail.ru> wrote:
>
> Hi, all!
>
> I have a question regarding the load testing of the Wicket application.
>
> I have used this article
> http://cwiki.apache.org/WICKET/multiple-submit-buttons.html to create the
> form in my application. All works well. But now I have to organize load
> testing of my application.
>
> I have read this article -
> http://cwiki.apache.org/WICKET/wicket-and-jmeter-with-regular-expressions.html
> began to write test plan and suddenly met the problem: I can't write regular
> expression to submit form to the server. It is  easy when there is one
> submit button but what should I do if there are several of them? I don't
> know how to "press" one definite button.
>
> I think that the problem comes to following: I don't understand how Wicket
> does determine what button was pressed. When any submit button is pressed
> the url seems to be the same - something like this:
> http://<host>/<applpath>/?wicket:interface=:1:<formName>::IFormSubmitListener::.
>
> May be I'm wrong and didn't notice some important detail?
>
> Could anybody clear this situation for me?
>
> Best regards,
> Elena.
> --
> View this message in context: http://www.nabble.com/how-to-test-multiple-submits-on-the-form-tp18921170p18921170.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org