Thanks Mauro for your quick answer.

I reviewed my code. I wasn logging the wrong data.
In spring MediaType is split in 2 parts : type and subtype. In
'application/xml' 'application' is the type and 'xml' is th subType.

So there's nothing wrong with jbehave.

Anyway, thx.

Louis.

2011/9/29 Mauro Talevi <[email protected]>

> Hi Louis,
> the information you provide is not enough for us to help you.
> Why you provide the simplest project to reproduce problem?
> And have you looked at the examples - http://jbehave.org/reference/**
> stable/running-examples.html<http://jbehave.org/reference/stable/running-examples.html>
> ?
>
> Cheers
>
>
>
> On Thu Sep 29 15:06:51 2011, louis gueye wrote:
>
>> Hi there,
>>
>> I'm new to JBehave and I'm testing the tool to use it in my company.
>>
>> I defined parameterized steps and I could not capture my values
>>
>> When defining the following steps :
>>
>> And I send application/x-www-form-**urlencoded
>> And I receive application/xml
>>
>> And mapping them to the following implementation
>>
>> @Given("I send $requestContentType")
>> @Given("I receive $requestContentType")
>>
>> I get application as a requestContentType
>> I get application as a responseContentType
>>
>> How can I include /xml or /x-www-form-urlencoded ?
>>
>> Thanks
>>
>> Louis
>>
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe from this list, please visit:
>
>   
> http://xircles.codehaus.org/**manage_email<http://xircles.codehaus.org/manage_email>
>
>
>

Reply via email to