Re: [Grinder-use] Executing JavaScript on Result
Distributed load testing framework - Java, Jython, or Clojure scripts.
Brought to you by:
philipa
From: Gary M. <fly...@gm...> - 2015-04-29 13:26:33
|
On 29 April 2015 at 13:45, Barnt, Kenneth Sean <bar...@cm...> 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 |