We are trying to setup JMeter 1.8.1(build 02142003) to run functional tests in non-gui 
mode from ant.  We have created an ant task for launching JMeter and are seeing that 
some reporting options that work in gui mode don't work in non-gui mode.  Specifically 
we would like to see the text of assertions that failed.

We see the following in non-gui mode (xml style of output)

- <testResults> 
.....(more stuff deleted)
<sampleResult responseCode="200" time="160" timeStamp="1046297790386" 
responseMessage="OK" threadName="Thread Group-1" dataType="text" label="Publisher 
result" success="false" /> 
</testResults>

And the following when running this test in gui mode.

- <sampleResult responseCode="200" time="231" timeStamp="1046299225582" 
responseMessage="OK" threadName="Thread Group-1" dataType="text" label="Publisher 
result" success="false"> 
.....(more stuff deleted)
<assertionResult failureMessage="Test Failed, expected to contain: Your document has 
been successfully published" failure="true" error="false" /> 
</sampleResult>

Is this a problem that has been fixed?  I noticed in the news group that a lot of 
people had problems with non-gui mode.
BTW our properties are set as follows:

#---------------------------------------------------------------------------
# Results file configuration
#---------------------------------------------------------------------------

# This section helps determine how result data will be saved.
# The commented out values are the defaults.

# legitimate values: xml, csv, db.  Only xml and csv are currently supported.
jmeter.save.saveservice.output_format=xml

# true when field should be saved; false otherwise

# assertion_results_failure_message only affects CSV output
jmeter.save.saveservice.assertion_results_failure_message=true
#jmeter.save.saveservice.data_type=true
#jmeter.save.saveservice.label=true
#jmeter.save.saveservice.response_code=true
#jmeter.save.saveservice.response_data=true
jmeter.save.saveservice.response_message=true
jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_name=true
jmeter.save.saveservice.time=true

# legitimate values: none, ms, or a format suitable for SimpleDateFormat
jmeter.save.saveservice.timestamp_format=ms
#jmeter.save.saveservice.timestamp_format=MM/dd/yy HH:mm:ss

# legitimate values: none, first, all
jmeter.save.saveservice.assertion_results=all

# For use with Comma-separated value (CSV) files or other formats
# where the fields' values are separated by specified delimiters.
#jmeter.save.saveservice.default_delimiter=,
#jmeter.save.saveservice.print_field_names=true


Swavek Lorenc
Senior Software Engineer
SPSS, Inc,
312-651-3566
[EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to