It has to be something specific to headless mode, though, because the test 
works just fine using the GUI.


Am 28.11.2011 um 13:52 schrieb "sebb" <[email protected]>:

> On 28 November 2011 12:42, Schweizer, Adrian <[email protected]> wrote:
>> No, there is no error, just the sampler result posted in the last message.
> 
> In that case, I think the problem is in your code, because the 000
> code can only remain if the sample is not successful and did not
> trigger one of the existing catch blocks (because these reset the
> status)
> 
> Or perhaps no sample was generated - what happens if the loop is not entered?
> 
>> 
>> Am 24.11.2011 um 19:50 schrieb "sebb" <[email protected]>:
>> 
>>> On 24 November 2011 16:37, Schweizer, Adrian <[email protected]> wrote:
>>>> We previously tried to migrate, but there were strange problems with the 
>>>> jMeter running on our CI...maybe we'll give it another try. In the 
>>>> following, the error message and the code of the custom sampler that 
>>>> produces it, along with a screenshot (attached) of the sampler's 
>>>> configuration:
>>>> 
>>>> <samplerResult><testsuite>TC008 XML: Automatisch Intervenieren 
>>>> Import</testsuite><testcase>clean 
>>>> mailbox</testcase><durationInSeconds>0.062</durationInSeconds><date>24.11.2011
>>>>  16:27:51</date><result><![CDATA[FAILURE
>>>> 
>>>> Response Message:
>>>> 
>>>> Response Data:
>>>> 
>>>> Response Code: 000
>>>> 
>>>> Response Headers:
>>>> 
>>>> Sampler Data: pop3://[email protected]]]></result></samplerResult>
>>>> 
>>> 
>>> I'll try and take a look at the code later, but were there any errors
>>> in the jmeter.log file?
>>> 
>>> The fact that the response code is set to 000 looks odd, as this
>>> suggests the sample failed without invoking any of the catch clauses.
>>> 
>>> The error handling probably needs enhancing - maybe there are some
>>> Errors you need to catch?
>>> 
>>> <snip/>
>>> 
>>> ---------------------------------------------------------------------
>>> 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]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to