Garrett Vlieger
Garrett Vlieger

Reputation: 9494

Automated load tests on a WIF-enabled application

We need to do some performance and load testing on an application that uses Windows Identity Foundation (WIF) for authentication. Since the tests will need to measure the performance of secured pages, what is the best way to "impersonate" a logged in user?

Should we simply copy and paste an authentication cookie into the request? Is there a recommended approach to doing this?

We will probably use something like JMeter to do the load testing.

Update: It looks like you can record tests in JMeter so that can be used to capture the sign-in request.

http://girliemangalo.wordpress.com/2009/03/18/jmeter-101-using-http-proxy-to-record-your-test/

Upvotes: 0

Views: 203

Answers (1)

Wiktor Zychla
Wiktor Zychla

Reputation: 48230

Copying cookies will probably take you anywhere as WIF authentication cookies expire, just like Forms cookies do.

I do not know JMeter but maybe it can be automated so that legitimate authentication with required redirects to and from the STS takes place? We automate our WIF-powered web apps using one of UI automation based technologies and there are no issues.

Upvotes: 1

Related Questions