ok .. it finaly works ...
excuse me for the grammar mistakes ... (prub = try, whit = with, ...)
Simon
2006/3/21, Simon <[EMAIL PROTECTED]>:
>
> thanks .. i am writing a encode64 sampler that gets a name and a pass and
> returns the result encoded
>
> encode(<name>:<passw>)
>
> but i am having problems with the gui ... :P ..
>
> in my case i have a wrote a web system whit differents technologies to
> prub diferents tools. for loggin i send an
>
> response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); // Ie 401
> response.setHeader("WWW-Authenticate", "BASIC realm=\"Autenticate
> Querubin\"");
>
> and the name and passw fly encoded in the header
>
>
> 2006/3/21, sebb <[EMAIL PROTECTED]>:
> >
> > HTTP Auth Manager is used for login dialog boxes as generated by
> > browsers e.g. for proxies.
> >
> > Login pages are normally forms, which you then POST back to the server.
> >
> > In which case you need to find out the field names in the form, and
> > add the parameters to the HTTP request.
> >
> > S.
> > On 21/03/06, Simon De Uvarow <[EMAIL PROTECTED]> wrote:
> > > i put the variable into a HTTP Authorization Manager .. but it doesn´t
> > work
> > > ...
> > >
> > > 2006/3/21, Simon De Uvarow <[EMAIL PROTECTED]>:
> > > >
> > > > hi, I want login in a page but using a user's name and pass obtained
> > from
> > > > a DB
> > > > I did the following thing:
> > > > a JDBC petition: "select name from usuarios order by rand() limit
> > 1;"
> > > > a RegEx: get the name and put it into the variable "usuarios"
> > > >
> > > > now i should code the variable into base64 and put it in all the
> > headers
> > > > .. maybe using a Java Sampler
> > > > is that right? or can i do these in other way?
> > > >
> > > > thanks,
> > > > Simon
> > > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>