Well, it seems to me that you'd want to compare headers (and even content)
against regular expressions. You could use either of the two Apache regexp
packages.
And on a completely different subject, did you notice that both "Save" and
"Start" use the same accelerator? If it were me, I would probably rearrange
the menus slightly and change "Start" to "Run", but I'm not sure what menu
they would be under. You probably also want a toolbar.
-----Original Message-----
From: Mike Stover [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 12:49 PM
To: [EMAIL PROTECTED]
Subject: Re: Seeing headers in response
There is code that collects the returned headers - but it uses it
differently
than you intend. It would be simple to modify HTTPSampler to do what you
want here. It's a useful enough change in general, that I will probably do
it soon. I'll keep ya'll informed.
BTW, it's an interesting quesiton to me how to differentiate JMeter and
HttpUnit. Especially since I am trying to move JMeter in a direction that
allows it to be useful as a functional tester. If anyone has any thoughts
on
this, I'd like to hear them.
-Mike
On Tuesday 17 July 2001 23:43, Karr, David wrote:
> Correction, it appears that the HttpWebResponse class gives me (almost)
> complete access to the headers. It loses track of what order headers were
> presented, which might be a misrepresentation if the response had a
> duplicate header (which would probably indicate a problem with the server,
> but that IS what I'm trying to test).
>
> -----Original Message-----
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:27 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Seeing headers in response
>
>
> I'll take a look at it, although at first glance, it doesn't seem like
it's
> designed for this to be easy to do (reading/processing response headers).
>
> -----Original Message-----
> From: Nicholas Lesiecki [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:13 PM
> To: Karr, David; [EMAIL PROTECTED]
> Subject: RE: Seeing headers in response
>
>
> Althoug jmeter could be used for this, you might want to investigate
> HttpUnit, an extention to JUnit that provides functional web-testing
> capabilities. HttpUnit can be found at http://httpunit.sourceforge.net/ .
>
> Cheers,
>
> Nick
>
> -----Original Message-----
> From: Karr, David [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 3:57 PM
> To: '[EMAIL PROTECTED]'
> Subject: Seeing headers in response
>
>
> In the "View Results" listener, I can see the HTML that's returned from a
> response. Is there an easy way to make it so that you can also see the
> headers in the response? I'm investigating using JMeter more for
> functional testing than performance testing (of a web server, not a web
> application), so I believe that being able to see the returned headers
> would be useful.
>
> I noticed that the "TODO" list had information about "improving
> visualizers", so I have a feeling this is already being investigated, but
I
> wanted to pose the question, just in case.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Mike Stover
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]