You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Rob King <x9...@gmail.com> on 2012/09/02 21:52:52 UTC
Distributed Load Test - Save Responses to File Location
I am using jmeter 2.7. I'm performing distributed non-GUI load-testing
with 7 Windows 7 x64 PCs.
The jmeter load test has "Save Reponses to File" in it, but it doesn't
appear to work.
After running the test, I do not see any response files anywhere - i.e.
neither on jmeter-server PCs, nor on the "master" PC.
Below is how I have the "Save Reponses to File" set up in the load test
itself:
Test Plan
+Thread Group
-+Save Responses to File
-+HTTP Request Sampler
-+etc
And here's the configuration of "Save Responses to File":
- Filename Prefix: c:\jmeterlocal\Moodle\VSendEmail\Responses
- Variable Name: FILENAME
- I have also added a checkmark to "Save Failed Responses Only" (every
load test I run does result in failures, so I'm expecting some files to be
generated)
And here's my jmeter run command: (not real IP addresses)
jmeter -n -t
C:\shared\LoadTesting\Moodle\Projects\AttemptQuiz\JMeterTestPlans\AttemptQuiz.jmx
-R
88.88.88.0,88.88.88.1,88.88.88.2,88.88.88.3,88.88.88.4,88.88.88.5,88.88.88.6
-l C:\jmeterlocal\Moodle\AttemptQuiz\Results\Result-0171-AttemptQuiz.jtl
Where are my load test response files?
Should I *not* be expecting response files to be generated since this is a
distributed load test?
Any advice or help would be appreciated.
Re: Distributed Load Test - Save Responses to File Location
Posted by Shmuel Krakower <sh...@gmail.com>.
Sorry. Misread your question.
Dont know why you dont see it.
בתאריך 2012 9 3 09:27, מאת "Shmuel Krakower" <sh...@gmail.com>:
> Remove the listeners or disable them and instead use the -J command line
> parameter.
> Google for "jmeter command line" for more info.
>
> Shmuel.
> בתאריך 2012 9 2 22:53, מאת "Rob King" <x9...@gmail.com>:
>
>> I am using jmeter 2.7. I'm performing distributed non-GUI load-testing
>> with 7 Windows 7 x64 PCs.
>>
>> The jmeter load test has "Save Reponses to File" in it, but it doesn't
>> appear to work.
>> After running the test, I do not see any response files anywhere - i.e.
>> neither on jmeter-server PCs, nor on the "master" PC.
>>
>> Below is how I have the "Save Reponses to File" set up in the load test
>> itself:
>>
>> Test Plan
>> +Thread Group
>> -+Save Responses to File
>> -+HTTP Request Sampler
>> -+etc
>>
>> And here's the configuration of "Save Responses to File":
>>
>> - Filename Prefix: c:\jmeterlocal\Moodle\VSendEmail\Responses
>> - Variable Name: FILENAME
>> - I have also added a checkmark to "Save Failed Responses Only" (every
>> load test I run does result in failures, so I'm expecting some files to be
>> generated)
>>
>> And here's my jmeter run command: (not real IP addresses)
>>
>> jmeter -n -t
>>
>> C:\shared\LoadTesting\Moodle\Projects\AttemptQuiz\JMeterTestPlans\AttemptQuiz.jmx
>> -R
>>
>> 88.88.88.0,88.88.88.1,88.88.88.2,88.88.88.3,88.88.88.4,88.88.88.5,88.88.88.6
>> -l C:\jmeterlocal\Moodle\AttemptQuiz\Results\Result-0171-AttemptQuiz.jtl
>>
>> Where are my load test response files?
>> Should I *not* be expecting response files to be generated since this is a
>> distributed load test?
>>
>> Any advice or help would be appreciated.
>>
>
Re: Distributed Load Test - Save Responses to File Location
Posted by Shmuel Krakower <sh...@gmail.com>.
Remove the listeners or disable them and instead use the -J command line
parameter.
Google for "jmeter command line" for more info.
Shmuel.
בתאריך 2012 9 2 22:53, מאת "Rob King" <x9...@gmail.com>:
> I am using jmeter 2.7. I'm performing distributed non-GUI load-testing
> with 7 Windows 7 x64 PCs.
>
> The jmeter load test has "Save Reponses to File" in it, but it doesn't
> appear to work.
> After running the test, I do not see any response files anywhere - i.e.
> neither on jmeter-server PCs, nor on the "master" PC.
>
> Below is how I have the "Save Reponses to File" set up in the load test
> itself:
>
> Test Plan
> +Thread Group
> -+Save Responses to File
> -+HTTP Request Sampler
> -+etc
>
> And here's the configuration of "Save Responses to File":
>
> - Filename Prefix: c:\jmeterlocal\Moodle\VSendEmail\Responses
> - Variable Name: FILENAME
> - I have also added a checkmark to "Save Failed Responses Only" (every
> load test I run does result in failures, so I'm expecting some files to be
> generated)
>
> And here's my jmeter run command: (not real IP addresses)
>
> jmeter -n -t
>
> C:\shared\LoadTesting\Moodle\Projects\AttemptQuiz\JMeterTestPlans\AttemptQuiz.jmx
> -R
>
> 88.88.88.0,88.88.88.1,88.88.88.2,88.88.88.3,88.88.88.4,88.88.88.5,88.88.88.6
> -l C:\jmeterlocal\Moodle\AttemptQuiz\Results\Result-0171-AttemptQuiz.jtl
>
> Where are my load test response files?
> Should I *not* be expecting response files to be generated since this is a
> distributed load test?
>
> Any advice or help would be appreciated.
>
Re: Distributed Load Test - Save Responses to File Location
Posted by sebb <se...@gmail.com>.
On 2 September 2012 20:52, Rob King <x9...@gmail.com> wrote:
> I am using jmeter 2.7. I'm performing distributed non-GUI load-testing
> with 7 Windows 7 x64 PCs.
>
> The jmeter load test has "Save Reponses to File" in it, but it doesn't
> appear to work.
> After running the test, I do not see any response files anywhere - i.e.
> neither on jmeter-server PCs, nor on the "master" PC.
Any errors in the log files?
Have you checked both "Save Failed Responses only" and "Save
Successful Responses only" ?
If so, nothing will be saved.
Does the exact same test plan work OK in non-GUI local (not client-server) mode?
You could try adding a Java Sampler with Status = BAD to force a failed sample.
> Below is how I have the "Save Reponses to File" set up in the load test
> itself:
>
> Test Plan
> +Thread Group
> -+Save Responses to File
> -+HTTP Request Sampler
> -+etc
>
> And here's the configuration of "Save Responses to File":
>
> - Filename Prefix: c:\jmeterlocal\Moodle\VSendEmail\Responses
> - Variable Name: FILENAME
> - I have also added a checkmark to "Save Failed Responses Only" (every
> load test I run does result in failures, so I'm expecting some files to be
> generated)
>
> And here's my jmeter run command: (not real IP addresses)
>
> jmeter -n -t
> C:\shared\LoadTesting\Moodle\Projects\AttemptQuiz\JMeterTestPlans\AttemptQuiz.jmx
> -R
> 88.88.88.0,88.88.88.1,88.88.88.2,88.88.88.3,88.88.88.4,88.88.88.5,88.88.88.6
> -l C:\jmeterlocal\Moodle\AttemptQuiz\Results\Result-0171-AttemptQuiz.jtl
>
> Where are my load test response files?
> Should I *not* be expecting response files to be generated since this is a
> distributed load test?
>
> Any advice or help would be appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org