Hi Marc,

yes I did it the last days.

Marc Guillemot wrote:
Michael Habbert wrote:
...
Btw, you've said that you run (or want to run) your webtest with a proxy
to record it and use it to perform load testing with the grinder. Does
it means that it reuses the sessions created by the webtests? Can you
give more details about the process?
[...]

what kind of more details? I don't understand.

Of course ;-)
On performance test with grinder the usual process in our project is:

1. Starting the grinder-proxy
2. Reconfigure the proxy for the browser and
3. Start using the web application (sending request to the server).
4. Shutdown the proxy
5. Save the result-file of the proxy
6. Configure grinder to use the result-file of the manual
application-session for the load test.
7. Configure cruisecontrol to run grinder with the result-file.

So while our webtests not only test our application but also create the
main testdata our manually recorded grinder-records (see process above)
fails too often. This was the point we thought about taking webtest to
imput the record of our grinder-test.


does your process with WebTest has "grinder test generator" already work
or is it just an idea you want to test? Are sessionns implied?
[...]
there should be no sessions involved. Means: hopfully it should not interfere 
with them.

The manual record-script looks like:
<snip>
-------
connectionDefaults.defaultHeaders = \
  ( NVPair('User-Agent', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)'),
    NVPair('Accept-Language', 'en-us'), )

headers0= \
  ( NVPair('Accept', '*/*'), )

headers1= \
  ( NVPair('Accept', '*/*'),
    NVPair('Referer', 'http://doran:28080/'), )

headers2= \
  ( NVPair('Accept', 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
*/*'),
    NVPair('Referer', 'http://doran:28080/'), )

headers3= \
  ( NVPair('Accept', '*/*'),
    NVPair('Referer', 
'http://doran:28080/login.do;jsessionid=43D5F47066974AFF0A605C1B719C5CB4'), )
[...]
-------

so it records the session-IDs from the manual-test. But anyway the client (manual or webtest) initiating the clicks and requests should not interfere with the recording of the proxy, don't you think so?

My last test started and failed after some sucessful tests.
I'm looking at it.

--
Mit freundlichen Grüßen
------------------------------------------------------------------------
Michael Habbert

Senior Developer
Netpioneer GmbH, Beiertheimer Allee 18, D-76137 Karlsruhe
Geschäftsführer: Axel Jahn
HRB: 107521 Handelsregister Mannheim

Tel: 0721 / 920 60 21
Fax: 0721 / 920 60 30
E-Mail: [EMAIL PROTECTED]
www: http://www.netpioneer.de
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to