Re: Executing JavaScript on Result

Gary Mulder <[email protected]> Wed, 29 Apr 2015 14:25:44 +0100
Newsgroups gmane.comp.java.grinder.user
Message-ID <CAKy9zTDj7aw4VziSdHfGybLNs08B-WheeDGcjq6ugm0L0N68tw@mail.gmail.com>
On 29 April 2015 at 13:45, Barnt, Kenneth Sean <[email protected]> wrote:

Does anyone know of a way that we can execute the JS to get the form to be
> generated so we can grab that nonce?
>

You'd need a JS interpreter to execute the JS. In theory you could use
something like Rhino:

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/Embedding_tutorial

Not sure however whether you could get it to work and there might be some
performance issues on The Grinder side depending on how much JS you need to
concurrently execute.

Regards,
Gary

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
grinder-use mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/grinder-use