Thanks Paul!

2009/12/26 Paul King <[email protected]>

>
> By default redirects are automatically followed but you can turn
> that off by setting the RedirectEnabled property to false. See here:
>
> http://markmail.org/message/5t3eq2r2lvrmb7iz
>
> Cheers, Paul.
>
> Hernan Castagnola wrote:
>
>> Hi all,
>>
>>           I am trying to test redirections with webtest. But I am getting
>> the last response "200".
>> Does anyone know a good way to test *redirections*.
>>
>> Result  Name    Parameter       Duration
>> *  1*   ok      *invoke*
>> Go to metromanilla.olx.ph <http://metromanilla.olx.ph>
>>
>> saveResponse    false
>> url     http://metromanilla.olx.ph
>>
>>        00:00:12
>> *  2*   ok      *storeResponseCode*
>>
>> Storing the Web Response
>> property        redirected
>> => value        200
>>
>>        3
>> *  3*   x
>>
>> Error   *verifyProperty*
>> Web status should be 301
>> name    redirected
>> text    301
>>
>>
>>
>> Thanks in Advance,
>>
>>
>> Hernan
>>
>
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>

Reply via email to