jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sosnowski, Andrew P [IT]" <andrew.p.sosnow...@citigroup.com>
Subject RE: Re; Functional Mode Checkbox and Quick and Dirty Functional T esting
Date Fri, 06 Sep 2002 15:30:52 GMT
  You're right
View Results Tree is superior.
You may want to remove View Results from the GUI to avoid confusion
especially as it doesn't work anymore.

By the way, do Assertions go against the html in the form it is stored in
the jtl (i.e. with all characters converted to character entities such as
&gt; for >) or with html as in the View Results?



-----Original Message-----
From: Mike Stover
To: JMeter Users List
Sent: 9/6/02 11:09 AM
Subject: RE: Re; Functional Mode Checkbox and Quick and Dirty Functional T
esting

View Results is defunct and removed.  View Results Tree was superior in
every way, so I got 
rid of View Results.  Use the Tree for equivalent purposes.

-Mike

On 6 Sep 2002 at 10:18, Sosnowski, Andrew P [IT] wrote:

>  Hi Mike
> 
> I just re-tried these on the nitely build from yesterday and it did
work for
> the html captured in the jtl file and the "View Results Tree"!!
> 
> Wonderful!!
> 
> Only 1 new problem? 
> Did something change on the "View Results" screen.
> When I go here there is a test box for the Name (in this defaults to
View
> Results) but there is no text box to view the html and no Next button.
This
> could be as a result of running using JDK 1.4 on Windows XP (I usually
run
> on SUN Solaris 2.6  OS with JDK 1.3.1 which I'll try again on Monday)
> 
> Anyway I wasn't able to check what was captured in the View Results
screen.
> 
> Thanks Mike
> 
> Andy
> 
> P.S. I believe I was using the unstable version before.
> 
> 
> -----Original Message-----
> From: Mike Stover
> To: JMeter Users List
> Sent: 9/5/02 3:34 PM
> Subject: RE: Re; Functional Mode Checkbox and Quick and Dirty
Functional T
> esting
> 
> What version is that?  I'd prefer you did these experiments on the
> latest nightly.
> 
> -Mike
> 
> On 5 Sep 2002 at 15:21, Sosnowski, Andrew P [IT] wrote:
> 
> > 
> > Tried this with a couple of more report pages of the same type that
> had the
> > problem where captured html was incomplete.
> > I looked at the html captured in several places:
> >    1) log file- this is always truncated at the same place
> > 	I did find a non-ascii character in one of the files at the
> point of
> > truncation but not all files have this.
> > 
> >    2) View Results- sometimes captured the whole file, sometimes
> truncated
> > in that same place
> >    3) View Results Tree- also shows truncated html in same place.
> > 
> > This for the same page in the same run of the test!!
> > 
> > 
> > In terms of looking in the log, is there something I need to do to
> turn on
> > the log; the version I'm using doesn't seem to write to a log file.
> > 
> > Thanks again
> > Andy
> > 
> > 
> > -----Original Message-----
> > From: Mike Stover [mailto:mstover1@apache.org]
> > Sent: Thursday, September 05, 2002 9:18 AM
> > To: JMeter Users List
> > Subject: Re: Re; Functional Mode Checkbox and Quick and Dirty
> Functional
> > Testi ng
> > 
> > 
> > My only thought on this is that Avalon's ConfigurationSerializer is
> choking
> > on some 
> > special character in your page and throwing an exception, and JMeter
> is
> > catching 
> > it silently.  Have you checked JMeter's logs?  It's recently
improved,
> so
> > it'd be nice 
> > to use the logging system to track this down.  Look in 
> > org.apache.jmeter.save.SaveService.java for places to put
interesting
> log 
> > statements.
> > 
> > -Mike
> > 
> > On 5 Sep 2002 at 8:53, Sosnowski, Andrew P [IT] wrote:
> > 
> > > 
> > > I thought I had sent this mail previously but it seems as though
it
> didn't
> > > go?
> > > Sorry for the delay.
> > > 
> > > I have not yet figured out why the html page is not always
> completely
> > > captured.
> > > However when I use the "View Results" visualizer, the full page if
> there?
> > > 
> > > It seems to stop consistently in the same place in this page.
> > > 
> > > Also I put the page through an html checker and it passed (plus it
> > displays
> > > properly in both IE 5.x,6 and NS 4.x and 6.x.
> > > 
> > > Any ideas?
> > > Andy
> > > 
> > > -----Original Message-----
> > > From: Sosnowski, Andrew P [IT] 
> > > Sent: Tuesday, August 27, 2002 10:25 AM
> > > To: 'mstover1@apache.org'; Sosnowski, Andrew P [IT]
> > > Subject: RE: Functional Mode Checkbox and quick and dirty
Functional
> > > testi ng
> > > 
> > > 
> > > Sounds good.
> > > One more thing I've discovered in my testing; the html for one of
my
> pages
> > > is not being fully loaded into the log file; is there any
limitation
> to
> > the
> > > storing of html that you know of?
> > > 
> > > (Another curious thing is that the html saved changes all the html
> angle
> > > brackets to &lt; and &gt; Not a problem just curious)
> > > 
> > > The page in question does display properly in both Netscape and
IE.
> > > 
> > > This would limit the usefulness of this new feature; there was no
> error
> > > detected but I did not have an assertion for </html>
> > > 
> > > Thanks
> > > Andy
> > > 
> > > -----Original Message-----
> > > From: Mike Stover [mailto:mstover1@apache.org]
> > > Sent: Tuesday, August 27, 2002 9:26 AM
> > > To: Sosnowski, Andrew P [IT]
> > > Subject: RE: Functional Mode Checkbox and quick and dirty
Functional
> > > testi ng
> > > 
> > > 
> > > Here's kinda what I imagined:
> > > 
> > > The visualizer looks like the View Results Tree (ie, there's a
tree
> that
> > > holds results or some 
> > > sort, you click on a node, you see the details below).
> > > 
> > > It also has 2 additional fields where the user can specify the
name
> of two
> > > requests in the test.  
> > > The visualizer will then create diffs against these two requests,
> and from
> > > the diff info, create 
> > > the nodes in the tree.  Thus, each node in the tree isn't a normal
> result
> > > but rather, the diff 
> > > between the two specified results.
> > > 
> > > I don't know exactly what your needs are, so you make it whatever
> you
> > want,
> > > of course.  The 
> > > visualizer could be dependent on a "diff" command being on the
> system, and
> > > windows users 
> > > can always install cygwin (it's the first thing I do on any
windows
> box).
> > > It might also be worth a 
> > > few minutes to search the web for a diff Java implementation.
> > > 
> > > -Mike
> > > 
> > > On 27 Aug 2002 at 7:17, Sosnowski, Andrew P [IT] wrote:
> > > 
> > > > Hi Mike
> > > > 
> > > > This seems to be working for me pretty well; so far I am using
> perl to
> > > parse
> > > > out the html files, massage them and compare them but that could
> be done
> > > > easily with Java regular expressions as well.
> > > > 
> > > > You mention creating a visualizer; I'd like to perhaps build
this
> if you
> > > > feel it fits into jMeter plans; what do you think it should look
> like?
> > Any
> > > > pointers?
> > > > I think there should be an additional input field to specify the
> run
> > that
> > > is
> > > > to be compared.
> > > > The actual result would consist of the output of the diff
command
> on the
> > > > html files within the 2 logs. However I'm not sure if there is a
> > > > cross-platform version of diff.
> > > > 
> > > > Thanks in advance
> > > > Andy
> > > > 
> > > > -----Original Message-----
> > > > From: Mike Stover [mailto:mstover1@apache.org]
> > > > Sent: Tuesday, August 20, 2002 5:09 PM
> > > > To: JMeter Users List
> > > > Subject: Re: Functional Mode Checkbox and quick and dirty
> Functional
> > > > testing
> > > > 
> > > > 
> > > > First, you have noticed the one and only difference that
choosing
> > > > "functional testing" makes.
> > > > 
> > > > Second, that sounds like an interesting idea - to make a
> visualizer that
> > > > compares the 
> > > > functional differences between two test runs?  I think your
> proposed use
> > > of
> > > > such a tool is an 
> > > > excellent idea.
> > > > 
> > > > -Mike
> > > > 
> > > > On 20 Aug 2002 at 15:21, Sosnowski, Andrew P [IT] wrote:
> > > > 
> > > > > Hi Mike,
> > > > > 
> > > > > Can you give me an idea of what is the intent behind the
> Functional
> > Mode
> > > > > testing checkbox on the front page?
> > > > > 
> > > > > 
> > > > > This was my plan for a quick and dirty functional test:
> > > > > We have a Staging environment and a production environment for
> our
> > app.
> > > > > When we make a new release of our app I would like to capture
> and
> > > compare
> > > > > the html responses of running a test script with the new
version
> of
> > the
> > > > app
> > > > > on the Staging Environment and the old version still in
> Production.
> > > > > Then I would compare the 2 versions of html and make sure that
> nothing
> > > > > changed that was not expected to change.
> > > > > Of course I have to ignore Referrer Headers values and
> time-stamps and
> > > > > various cookies that are different on the different servers.
> > > > > 
> > > > > When I tried using this mode I did find the html within
<binary>
> tags
> > in
> > > > the
> > > > > log file.
> > > > > It looks like it might work as a quick and dirty way to
compare.
> > > > > 
> > > > > Perhaps it might be worth building in some additional support
> for this
> > > > kind
> > > > > of testing into jMeter? For example store html cleaned of
> timestamps
> > in
> > > a
> > > > > file separate from the log file (or jtl file)
> > > > > I might be willing to do this if others would find it useful.
> Also any
> > > > ideas
> > > > > of how to make it more useful and general are appreciated
> > > > > 
> > > > > What do you think?
> > > > > 
> > > > > Andy
> > > > > 
> > > > > 
> > > > > --
> > > > > To unsubscribe, e-mail:
> > > > <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> > > > > For additional commands, e-mail:
> > > > <mailto:jmeter-user-help@jakarta.apache.org>
> > > > > 
> > > > 
> > > > 
> > > > 
> > > > --
> > > > Michael Stover
> > > > mstover1@apache.org
> > > > Yahoo IM: mstover_ya
> > > > ICQ: 152975688
> > > > 
> > > > --
> > > > To unsubscribe, e-mail:
> > > > <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > > <mailto:jmeter-user-help@jakarta.apache.org>
> > > 
> > > 
> > > 
> > > --
> > > Michael Stover
> > > mstover1@apache.org
> > > Yahoo IM: mstover_ya
> > > ICQ: 152975688
> > > 
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:jmeter-user-help@jakarta.apache.org>
> > > 
> > 
> > 
> > 
> > --
> > Michael Stover
> > mstover1@apache.org
> > Yahoo IM: mstover_ya
> > ICQ: 152975688
> > 
> > --
> > To unsubscribe, e-mail:
> > <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:jmeter-user-help@jakarta.apache.org>
> > 
> > --
> > To unsubscribe, e-mail:
> <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:jmeter-user-help@jakarta.apache.org>
> > 
> 
> 
> 
> --
> Michael Stover
> mstover1@apache.org
> Yahoo IM: mstover_ya
> ICQ: 152975688
> 
> --
> To unsubscribe, e-mail:
> <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:jmeter-user-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:
<mailto:jmeter-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:jmeter-user-help@jakarta.apache.org>
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688

--
To unsubscribe, e-mail:
<mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:jmeter-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:jmeter-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jmeter-user-help@jakarta.apache.org>


Mime
View raw message