You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "ROUGIER, David (C2S TOURS)" <dr...@c2s.fr> on 2013/12/19 17:08:16 UTC

Recording and Windows authentication

Hi everyone,

I am using JMeter 2.10 and I want to use it to record a test.
I want to record the test from my company computer.
The test aims a website hosted on a remote computer.
My computer and the remote computer are in the same domain.

The website requires Windows authentication.
I can access the website from Internet Explorer on my computer.
No authentication pop-up window is displayed in Internet Explorer.
I guess Internet Explorer sends my Windows credentials.

I have tried to record a test in JMeter but my Windows credentials seem not to be sent by the proxy server.
I have tried to add an HTTP Authorization Manager to the HTTP(S) Test Script Recorder but without success.

It is possible to record a test aiming a website that requires Windows authentication ?
If so, what am I missing ?

I have also run a Thread Group with success.
The Thread Group was made up of an HTTP Sample and an HTTP Authorization Manager configured as the one added to the HTTP(S) Test Script Recorder.

Thank you in advance for your future help

[cid:image001.png@01CE8DFF.0BD999B0]

[cid:image002.png@01CE8DFF.0BD999B0]
www.c2s.fr<http://www.c2s.fr/>

David ROUGIER - Développeur
Tel.   +33 1 30 60 82 04
drougier@c2s.fr<ma...@c2s.fr>
Rue Alfred Kastler, Immeuble Thalassa, Parc Ariane 3, 78284 Guyancourt Cedex




RE: Recording and Windows authentication

Posted by "ROUGIER, David (C2S TOURS)" <dr...@c2s.fr>.
Thank you for both answers.
I will try to change the configuration of the target website.

Regards

www.c2s.fr
David ROUGIER - Développeur
Tel.   +33 1 30 60 82 04 
drougier@c2s.fr 
Rue Alfred Kastler, Immeuble Thalassa, Parc Ariane 3, 78284 Guyancourt Cedex 


-----Message d'origine-----
De : Philippe Mouawad [mailto:philippe.mouawad@gmail.com] 
Envoyé : jeudi 19 décembre 2013 22:25
À : JMeter Users List
Objet : Re: Recording and Windows authentication

Hello,
Try recording using Java Implementation, In Http Recorder switch implementation to Java.
Then switch to HttpClient.

Another option is to ask for a change of configuration of the target website.

Regards
@philmdot


On Thu, Dec 19, 2013 at 10:22 PM, Shaba K <sh...@gmail.com> wrote:

> You can't record windows authentication.
>
> You'll have to look at different options.
>
>
> On Thu, Dec 19, 2013 at 4:08 PM, ROUGIER, David (C2S TOURS) < 
> drougier@c2s.fr
> > wrote:
>
> >  Hi everyone,
> >
> >
> >
> > I am using JMeter 2.10 and I want to use it to record a test.
> >
> > I want to record the test from my company computer.
> >
> > The test aims a website hosted on a remote computer.
> >
> > My computer and the remote computer are in the same domain.
> >
> >
> >
> > The website requires Windows authentication.
> >
> > I can access the website from Internet Explorer on my computer.
> >
> > No authentication pop-up window is displayed in Internet Explorer.
> >
> > I guess Internet Explorer sends my Windows credentials.
> >
> >
> >
> > I have tried to record a test in JMeter but my Windows credentials 
> > seem not to be sent by the proxy server.
> >
> > I have tried to add an HTTP Authorization Manager to the HTTP(S) 
> > Test Script Recorder but without success.
> >
> >
> >
> > It is possible to record a test aiming a website that requires 
> > Windows authentication ?
> >
> > If so, what am I missing ?
> >
> >
> >
> > I have also run a Thread Group with success.
> >
> > The Thread Group was made up of an HTTP Sample and an HTTP 
> > Authorization Manager configured as the one added to the HTTP(S) Test Script Recorder.
> >
> >
> >
> > Thank you in advance for your future help
> >
> >
> >
> > [image: cid:image001.png@01CE8DFF.0BD999B0]
> >
> > [image: cid:image002.png@01CE8DFF.0BD999B0]
> >
> > www.c2s.fr
> >
> > *David ROUGIER - *Développeur
> > Tel.   +33 1 30 60 82 04
> > *drougier@c2s.fr <dr...@c2s.fr>*
> >
> > Rue Alfred Kastler, Immeuble Thalassa, Parc Ariane 3, 78284 
> > Guyancourt Cedex
> >
> >
> >
> >
> >
>



--
Cordialement.
Philippe Mouawad.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Recording and Windows authentication

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
Try recording using Java Implementation, In Http Recorder switch
implementation to Java.
Then switch to HttpClient.

Another option is to ask for a change of configuration of the target
website.

Regards
@philmdot


On Thu, Dec 19, 2013 at 10:22 PM, Shaba K <sh...@gmail.com> wrote:

> You can't record windows authentication.
>
> You'll have to look at different options.
>
>
> On Thu, Dec 19, 2013 at 4:08 PM, ROUGIER, David (C2S TOURS) <
> drougier@c2s.fr
> > wrote:
>
> >  Hi everyone,
> >
> >
> >
> > I am using JMeter 2.10 and I want to use it to record a test.
> >
> > I want to record the test from my company computer.
> >
> > The test aims a website hosted on a remote computer.
> >
> > My computer and the remote computer are in the same domain.
> >
> >
> >
> > The website requires Windows authentication.
> >
> > I can access the website from Internet Explorer on my computer.
> >
> > No authentication pop-up window is displayed in Internet Explorer.
> >
> > I guess Internet Explorer sends my Windows credentials.
> >
> >
> >
> > I have tried to record a test in JMeter but my Windows credentials seem
> > not to be sent by the proxy server.
> >
> > I have tried to add an HTTP Authorization Manager to the HTTP(S) Test
> > Script Recorder but without success.
> >
> >
> >
> > It is possible to record a test aiming a website that requires Windows
> > authentication ?
> >
> > If so, what am I missing ?
> >
> >
> >
> > I have also run a Thread Group with success.
> >
> > The Thread Group was made up of an HTTP Sample and an HTTP Authorization
> > Manager configured as the one added to the HTTP(S) Test Script Recorder.
> >
> >
> >
> > Thank you in advance for your future help
> >
> >
> >
> > [image: cid:image001.png@01CE8DFF.0BD999B0]
> >
> > [image: cid:image002.png@01CE8DFF.0BD999B0]
> >
> > www.c2s.fr
> >
> > *David ROUGIER - *Développeur
> > Tel.   +33 1 30 60 82 04
> > *drougier@c2s.fr <dr...@c2s.fr>*
> >
> > Rue Alfred Kastler, Immeuble Thalassa, Parc Ariane 3, 78284 Guyancourt
> > Cedex
> >
> >
> >
> >
> >
>



-- 
Cordialement.
Philippe Mouawad.

Re: Recording and Windows authentication

Posted by Shaba K <sh...@gmail.com>.
You can't record windows authentication.

You'll have to look at different options.


On Thu, Dec 19, 2013 at 4:08 PM, ROUGIER, David (C2S TOURS) <drougier@c2s.fr
> wrote:

>  Hi everyone,
>
>
>
> I am using JMeter 2.10 and I want to use it to record a test.
>
> I want to record the test from my company computer.
>
> The test aims a website hosted on a remote computer.
>
> My computer and the remote computer are in the same domain.
>
>
>
> The website requires Windows authentication.
>
> I can access the website from Internet Explorer on my computer.
>
> No authentication pop-up window is displayed in Internet Explorer.
>
> I guess Internet Explorer sends my Windows credentials.
>
>
>
> I have tried to record a test in JMeter but my Windows credentials seem
> not to be sent by the proxy server.
>
> I have tried to add an HTTP Authorization Manager to the HTTP(S) Test
> Script Recorder but without success.
>
>
>
> It is possible to record a test aiming a website that requires Windows
> authentication ?
>
> If so, what am I missing ?
>
>
>
> I have also run a Thread Group with success.
>
> The Thread Group was made up of an HTTP Sample and an HTTP Authorization
> Manager configured as the one added to the HTTP(S) Test Script Recorder.
>
>
>
> Thank you in advance for your future help
>
>
>
> [image: cid:image001.png@01CE8DFF.0BD999B0]
>
> [image: cid:image002.png@01CE8DFF.0BD999B0]
>
> www.c2s.fr
>
> *David ROUGIER - *Développeur
> Tel.   +33 1 30 60 82 04
> *drougier@c2s.fr <dr...@c2s.fr>*
>
> Rue Alfred Kastler, Immeuble Thalassa, Parc Ariane 3, 78284 Guyancourt
> Cedex
>
>
>
>
>