On 12/14/2010 07:27 PM, adanicska wrote: > > Hello, > > I would like to test web services hosted on a Sharepoint 2010 site with a > few different users. How shall I configure JMeter to do so? Basics are ok > for me, I've already created a Thread group and a WebService sampler, but I > don't know how the change the default user. Is it possible to do it with the > HTTP Authentication manager?
The HTTP Authentication Manager handles HTTP level authentication (htaccess), i.e. the password prompt displayed by your browser when visiting a non-public website. You probably need application level authentication (entering user, password in an HTML form) and will have to add appropriate samplers. In most cases, all it takes is a GET request with appropriate parameters (such as GET /login.php?username=foo&password=bar). Examine the forms in your application for the details in your case. You will also want to include a Cookie Manager in your testplan, as authentication is often stored in sessions, so Jmeter should be capable of storing session cookies. HTH, Felix --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

