Just to confirm that jmeter is capable of handling sessions, certificates, logins and extracting tokens (and considerably more using regular expressions etc) from HTTP responses and using them later on. It is a very capable tool although does require a little time to learn how to achieve what you want. As you rightly say, without such capabilities, it would be of limited value. I've not used it with an ASP app, but have used it with several Java JSF applications. You can watch the results and export them for further analysis.
WATIR is used simply to write and maintain the script, such that you can consistently record the actions and means that you can watch the browser doing the same thing, as John mentioned in his reply. Alex 5 Jan 2009, at 07:12, Chuck vdL wrote: > > That's a great tip Alex, and yeah that will work for really simple > stuff that doesn't have any kind of session or user id.. However, > once you login a user and start playing with session id's, or any > ASP.NET stuff designed to prevent plaback spoofing (like viewstate) > you get hosed unless the thing you are using allows you to capture > stuff from responses, and insert it into specific places in the > requests. You'll also need the ability to read from datafiles to > substitute things like userid and login, at the HTTP level. > Otherwise you're going to have to use multiple threads and multiple > browser instances and run the stuff in watir directly where the > browser takes care of the ASP, cookies, and other session stuff, and > watir can deal with parameters for things like userid's and passwords. > > The thing is, anything not dealing with sessions and transactions > (e.g. hitting db and/or middle tier) really doesn't tend to be that > 'interesting' in terms of loadtests (since most of the data is static > and cached) So in general (presuming you don't have issues with > something like oh your homepage when a new user hits it) most of the > things you could do via simple http capture and playback are not > normally the things that cause load issues.. so it's good for really > basic tests, but again not terribly useful for most serious > loadtests. > > > On Jan 4, 3:35 am, Alex Collins <a.j.collins...@gmail.com> wrote: >> On 4 Jan 2009, at 07:13, Chuck vdL wrote: >> >> >> >>>>> 5.Can be used for Load Testing? >> >> Following from Chuck's points which are all valid, I have had success >> in using WATIR to write the script for a load test. >> >> Having written the script doing what you would like, play this into >> jmeter using the proxy server and use jmeter to perform the load >> generation. This captures the HTTP traffic for later playback. >> >> You normally still have to do some additional work in adapting the >> jmeter script depending upon technologies in use and what you wish to >> achieve. >> >> You will not get the same analysis tools as you might with the >> commercial products, but the tools are free. >> >> Alex > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---