sebb | 1 Mar 2008 13:59
Picon

Re: Follow the processing of one file using JMeter

On 29/02/2008, Juliano Moreno <julianomoreno <at> gmail.com> wrote:
>
>  Hi,
>
>  I use JMeter for many tests in my job, but now I need to know how long is a
>  file process, how much CPU is consumed.
>
>  For example, I need to test an application receive a file, process this file
>  and then send content of this file for a database. I need to know how much
>  time is spent to process this file? How much resources CPU is consumed?
>
>  Is it possible to do this using JMeter? If yes, how do I do?

No.

>  What other too can I use to do this?

Depends on the OS.

You'll need to check the OS documentation for how to do this.

>  Thanks in advance.
>  Juliano Niero Moreno
>  Test Analyst
>
> --
>  View this message in context: http://www.nabble.com/Follow-the-processing-of-one-file-using-JMeter-tp15765456p15765456.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
(Continue reading)

Juliano Niero Moreno | 1 Mar 2008 14:19
Picon

Follow the processing of one file using JMeter

Hi,

I use JMeter for many tests in my job, but now I need to know how long is a
file process, how much CPU is consumed.

For example, I need to test an application receive a file, process this file
and then send content of this file for a database. I need to know how much
time is spent to process this file? How much resources CPU is consumed?

Is it possible to do this using JMeter? If yes, how do I do?

What other too can I use to do this?

Thanks in advance.
Juliano Niero Moreno
Test Analyst
sebb | 1 Mar 2008 14:41
Picon

Re: Follow the processing of one file using JMeter

Please don't duplicate posts. See the reply to your original post.

On 01/03/2008, Juliano Niero Moreno <julianomoreno <at> gmail.com> wrote:
> Hi,
>
>  I use JMeter for many tests in my job, but now I need to know how long is a
>  file process, how much CPU is consumed.
>
>  For example, I need to test an application receive a file, process this file
>  and then send content of this file for a database. I need to know how much
>  time is spent to process this file? How much resources CPU is consumed?
>
>  Is it possible to do this using JMeter? If yes, how do I do?
>
>  What other too can I use to do this?
>
>  Thanks in advance.
>
> Juliano Niero Moreno
>  Test Analyst
>
David Brown | 1 Mar 2008 15:03
Gravatar

Re: Follow the processing of one file using JMeter

Hello Juliano, Sebb may mean that you should do something like this on this any other ML:

OS: Debian, XP, 2003, BSD, etc.
File system: NTFS, EXT3, ZFS, 390, etc.
File type: binary, ASCII.
Software, script or protocol: I/O library/package, FTP, Korn, Bash, etc.

Juliano Niero Moreno wrote ..
> Hi,
> 
> I use JMeter for many tests in my job, but now I need to know how long is a
> file process, how much CPU is consumed.
> 
> For example, I need to test an application receive a file, process this file
> and then send content of this file for a database. I need to know how much
> time is spent to process this file? How much resources CPU is consumed?
> 
> Is it possible to do this using JMeter? If yes, how do I do?
> 
> What other too can I use to do this?
> 
> Thanks in advance.
> Juliano Niero Moreno
> Test Analyst
sebb | 1 Mar 2008 18:11
Picon

Re: Listeners do not display response data for SOAP/XML requests.

On 29/02/2008, Derek Gill (dergill) <dergill <at> cisco.com> wrote:
>
>
>
> Anyone know if there  is a problem with Jmeter 2.3.1 displaying Response Data for requests submitted  using
the SOAP/XML sampler.  Currently I get the 200 OK reported back, but  when I click on the Response Data Tab in
the listener, it is empty.

That is because of a change to which content-types are regarded as
text and which are binary.

You can update the list by changing the JMeter property:

content-type_text=application/soap+xml

This change was obviously a bad idea, and needs to be reworked for the
next release...

> All  response assertions are also reporting that the response that the require text  strings are missing
from the response.  This worked in 2.3RC4.  I also  captured all the output received back in a file and the
following is reported in  for response data
>

I don't understand this; as far as I can see the assertion does not
care whether the datatype is text or binary.

What assertions are you using?

> <httpSample  t="68" lt="68" ts="1204303234541" s="true" lb="appuser1 Login Request" rc="200" 
rm="OK" tn="Thread Group 1-1" dt="bin" de="utf-8" by="491" sc="1" ec="0" ng="1"  na="1" hn="gwydlcm24">
(Continue reading)

sebb | 1 Mar 2008 19:05
Picon

Re: Real traffic simulation and Access Log Sampler

On 29/02/2008, Oren Benjamin <oby1.cs <at> gmail.com> wrote:
> For the purposes of stress testing and troubleshooting a large scale
>  multi-tiered web application, we are looking to build a test environment in
>  which we can recreate any scenario that occurs in production with very high
>  fidelity.  To that end, we plan to "replay" the production server access
>  logs by sending identical requests to the test environment at the same
>  points in time (relative to the start of the test).  Furthermore, we would
>  like the requests to be sent from multiple threads to simulate multiple
>  users making the requests asynchronously.
>
>  I'm looking into the use of JMeter for our purposes.  From what I see it
>  provides great reporting facilities, test abstractions, and a flexible
>  architecture.  The Access Log Sampler seems like the logical starting point,
>  but from reading the documentation and other threads on the mailing list, it
>  looks like we're going to have to extend it quite a bit to meet or needs.
>
>  Here are the issues I've found so far:
>
>  1) Access Log Sampler ignores the time stamp of the log entries and the
>  Timer mechanism is designed for "delays" as opposed to "alarms."  This would
>  make it difficult to accurately simulate the timing of the requests in the
>  log.

This should be easy enough to implement.

The sampler would need to keep track of the timestamps for each
request it issues in a thread, and add a time delay as necessary.

There would probably need to be some way of reporting if the desired
start time has been exceeded.
(Continue reading)

sebb | 1 Mar 2008 19:38
Picon

Re: How to turn OFF the SAX Parser validator

On 28/02/2008, Klaus Teller <klaus.teller <at> gmx.net> wrote:
>
>  That sounds promising. I couldn't find this property in the Jmeter configuration file. So, will there be a
nightly build these days? I took a look at the source and building it might require me more time than i expected.

On further reflection, the changes I made are not correct; the various
XPath elements need to work on HTML as well as XML; they cannot assume
XML.

What I don't (yet) know is why Tidy does not seem to take any notice of the

<?xml version="1.0" encoding="UTF-8"?>

line at the start of the file - I would have thought that ought to
class the file as XML.
Maybe JMeter will have to check for that and use that to set the Tidy flag.

>  The other think that strikes me is that I removed the link to the DTD and XSD from the VXML. I was hopping that
the parser would not find the schema and DTD and, hence not validate anything.
>
>  To my dispointment, I still had the premature end of file exception. Any thought?

No idea, sorry.

>
>  --Klaus.
>
>  -------- Original-Nachricht --------
>  > Datum: Wed, 27 Feb 2008 20:47:20 +0000
>
(Continue reading)

Pieter Ennes | 2 Mar 2008 11:25

Loop forever XML

Hi there,

When I select Loop forever in a thread group, the resulting .jmx file 
contains:

<boolProp name="LoopController.continue_forever">false</boolProp>
<intProp name="LoopController.loops">-1</intProp>

(note the _intProp_ with value -1)

But when Loop forever is deselected, then the intProp changes to a 
stringProp with the correct value:

<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">7</stringProp>

Is this how it should be?

Thanks!
--

-- 
  - Pieter
sebb | 2 Mar 2008 12:20
Picon

Fwd: Call for Papers Opens for ApacheCon US 2008

---------- Forwarded message ----------

From the ApacheCon Planning Team

 ----
 Call for Papers Opens for ApacheCon US 2008

 !REMINDER: this will be a short CFP, ending on 3 April, so please be
 sure to get your CFP submissions in soon!

 The Apache Software Foundation (ASF) invites submissions to its official
 users' conference, ApacheCon US 2008, held 3 November through 7
 November, 2008 at the Sheraton New Orleans.  ApacheCon serves as a forum
 for showcasing the ASF's latest developments, including its projects,
 membership, and communities.  ApacheCon offers unparalleled educational
 opportunities, with dedicated presentations, hands-on trainings, and
 sessions that address core technology, development, business/marketing,
 and licensing issues in Open Source.

 The conference program includes competitively selected presentations,
 trainings/workshops, and a small number of invited speakers. All
 sessions undergo a peer review process by the ApacheCon Conference
 Planning team.

 With the great success of ApacheCon US 2007, we are excited to move to
 New Orleans in 2008.  We're proud to announce that we are going to
 intensify and deepen the pre-conference trainings by offering 2-day
 trainings alongside full- and half-day trainings, and each training
 session will have certifications of completion for those who fulfill all
 the requirements of the training.
(Continue reading)

sebb | 2 Mar 2008 12:34
Picon

Re: Loop forever XML

On 02/03/2008, Pieter Ennes <pieter <at> watchmouse.com> wrote:
> Hi there,
>
>  When I select Loop forever in a thread group, the resulting .jmx file
>  contains:
>
>  <boolProp name="LoopController.continue_forever">false</boolProp>
>  <intProp name="LoopController.loops">-1</intProp>
>
>  (note the _intProp_ with value -1)
>
>  But when Loop forever is deselected, then the intProp changes to a
>  stringProp with the correct value:
>
>  <boolProp name="LoopController.continue_forever">false</boolProp>
>  <stringProp name="LoopController.loops">7</stringProp>
>
>  Is this how it should be?

Yes, it's rather odd, but that's how it works currently.
For the gory details, have a look at the Generic Controller class.

>  Thanks!
>
> --
>   - Pieter
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe <at> jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help <at> jakarta.apache.org
(Continue reading)


Gmane