Thanks for your input Sebb; I'll investigate the use of the proxy for my situation as it sounds like much less work than executing JS :)
Regards, Noel ----- "sebb" <[email protected]> wrote: > On 24/08/2009, Noel O'Brien <[email protected]> wrote: > > Hi, > > > > I know JMeter doesn't execute any JS returned by web pages; I'm just > > wondering if it's technically possibly to execute it (e.g. in a Post > > Processor) using the Rhino engine in Java or some other mechanism? > > In theory, it's possible, however it needs more than just the Rhino > engine. The page has to be parsed into the DOM and the script(s) > extracted, then the appropriate methods called. > > The resulting page then has to be re-examined to decide what to do, > possibly calling more Javascript. > > > The reason I'm asking is because I'm trying to access websites which rely > > heavily on JS, particularly for login. Not being able to execute JS means I > > just get presented with a login page each time I try access other page. > > Use the Proxy to record the login, and then work out how to extract > any extra data that is added to the page by the scripting. > > > Regards, > > > > Noel > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

