[Seaside] JMeter, Seaside, Forms

Julian Fitzell jfitzell at gmail.com
Wed May 5 00:13:05 UTC 2010

Your requirement is to have input elements with IDs are are known in

The issue it not so much with the form elements, I think, but with the
callbacks. When you register a callback, it is assigned a unique key (using
#nextId as you mention). That key needs to be the id of the form element in
order for it to be triggered. I don't think you can easily specify custom
callback keys.

You could obviously implement that somehow with the low-level pieces but I'm
not sure exactly how off the top of my head.

My other thought (not knowing JMeter at all)... What about specifying your
inputs with IDs and no callbacks. Then have a hidden element with a callback
that looks for POST or query fields by name in the request ("self
requestContext request") and does the needed processing.


On Tue, May 4, 2010 at 6:35 PM, Paul DeBruicker <pdebruic at gmail.com> wrote:

> Hi -
> I'd like to use JMeter to submit some forms to Seaside 3.0, but it relies
> on the ability to POST a form to a server once you've specified the
> name/value pairs to submit.  When you add a callback to a form element in
> Seaside it overrides any value you've set as the name of the form element
> and replaces it with a whatever id results from a call to #nextId.  If you
> reuse the form on different pages throughout your site the id's for that
> form could change based on what else is rendered on the page.
> Is there a way to prevent seaside's normal behavior of replacing element
> names and let the forms keep the names you give them?  What are the
> drawbacks to doing that? Are there other things to try?  Maybe us the form
> element id: rather than nextId?
> Right now, it seems like changing Seaside might be easier for me than
> changing the JMeter sampler every time I move stuff around on the site.  I
> can ensure that the form names are unique on a page.
> Thanks
> Paul
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100505/640ace6b/attachment.htm

More information about the seaside mailing list