On 06/12/13 08:51, Dragos Dinu wrote:
> Hi,
>
> I'm using sipp to create some basic scenarios and I have a question 
> regarding the authentication in sipp. Basically, I want to be able to 
> authenticate in-dialog requests, but as I saw, when I reuse the 
> [authentication] keyword, the response I calculated using the method 
> of the last response.
>
> For example, if I have a SUBSCRIBE/NOTIFY scenario and I want to reuse 
> the challenge from the 401 in a subscription refresh, sipp calculates 
> the response using method = NOTIFY. Seems like sipp wants a challenge 
> just before sending of the request. Is this the normal behavior that 
> we want in sipp? Perhaps I am missing something and [authentication] 
> header is not designed to be used for in-dialog request?
>
> Please let me know if I should come with more details regarding my 
> scenarios or any other info.
>
>
> Thanks,
> Dragos
>
Hi Dragos,

Thanks for pointing this out - SIPp does extract the method name from 
the CSeq of the last response. It sounds like it would fit your use-case 
better if it were extracted from the request we're calculating an 
Authorization header for, which should be possible to do.

It sounds like you're trying to re-use nonces, though, which might not 
work in all cases (e.g. the server might expire nonces after a few 
seconds or forbid their reuse) - though I think you can use the 
nonce-count/nc parameter to reuse nonces securely, if that's supported.

Best,
Rob

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to